import "go.chromium.org/chromiumos/infra/proto/go/chromiumos"
bot_scaling.pb.go branch.pb.go builder_config.pb.go chromiumdash.pb.go common.pb.go dut_tracking.pb.go ge_config.pb.go generate_build_plan.pb.go metrics.pb.go payload_config.pb.go repo_cache_state.pb.go sign_image.pb.go
var AFDOArtifactType_name = map[int32]string{ 0: "NONE_TYPE", 1: "ORDERFILE", 2: "BENCHMARK_AFDO", 3: "KERNEL_AFDO", 4: "CHROME_AFDO", }
var AFDOArtifactType_value = map[string]int32{ "NONE_TYPE": 0, "ORDERFILE": 1, "BENCHMARK_AFDO": 2, "KERNEL_AFDO": 3, "CHROME_AFDO": 4, }
var ArtifactsByService_Firmware_ArtifactType_name = map[int32]string{ 0: "UNSPECIFIED", 30: "FIRMWARE_TARBALL", 31: "FIRMWARE_TARBALL_INFO", }
var ArtifactsByService_Firmware_ArtifactType_value = map[string]int32{ "UNSPECIFIED": 0, "FIRMWARE_TARBALL": 30, "FIRMWARE_TARBALL_INFO": 31, }
var ArtifactsByService_Legacy_ArtifactType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "IMAGE_ZIP", 2: "TEST_UPDATE_PAYLOAD", 3: "AUTOTEST_FILES", 4: "TAST_FILES", 5: "PINNED_GUEST_IMAGES", 6: "FIRMWARE", 7: "EBUILD_LOGS", 8: "CHROMEOS_CONFIG", 9: "CPE_REPORT", 10: "IMAGE_ARCHIVES", 27: "FPMCU_UNITTESTS", 28: "GCE_TARBALL", }
var ArtifactsByService_Legacy_ArtifactType_value = map[string]int32{ "UNSPECIFIED": 0, "IMAGE_ZIP": 1, "TEST_UPDATE_PAYLOAD": 2, "AUTOTEST_FILES": 3, "TAST_FILES": 4, "PINNED_GUEST_IMAGES": 5, "FIRMWARE": 6, "EBUILD_LOGS": 7, "CHROMEOS_CONFIG": 8, "CPE_REPORT": 9, "IMAGE_ARCHIVES": 10, "FPMCU_UNITTESTS": 27, "GCE_TARBALL": 28, }
var ArtifactsByService_PublishCondition_name = map[int32]string{ 0: "PUBLISH_UNSPECIFIED", 1: "PUBLISH_ON_SUCCESS", 2: "PUBLISH_ALWAYS", }
var ArtifactsByService_PublishCondition_value = map[string]int32{ "PUBLISH_UNSPECIFIED": 0, "PUBLISH_ON_SUCCESS": 1, "PUBLISH_ALWAYS": 2, }
var ArtifactsByService_Toolchain_ArtifactType_name = map[int32]string{ 0: "UNSPECIFIED", 11: "UNVERIFIED_CHROME_LLVM_ORDERFILE", 12: "VERIFIED_CHROME_LLVM_ORDERFILE", 13: "CHROME_CLANG_WARNINGS_FILE", 14: "UNVERIFIED_LLVM_PGO_FILE", 15: "UNVERIFIED_CHROME_BENCHMARK_AFDO_FILE", 16: "VERIFIED_CHROME_BENCHMARK_AFDO_FILE", 17: "VERIFIED_KERNEL_CWP_AFDO_FILE", 18: "UNVERIFIED_KERNEL_CWP_AFDO_FILE", 19: "UNVERIFIED_CHROME_CWP_AFDO_FILE", 20: "VERIFIED_CHROME_CWP_AFDO_FILE", 21: "VERIFIED_RELEASE_AFDO_FILE", 22: "UNVERIFIED_CHROME_BENCHMARK_PERF_FILE", 23: "CHROME_DEBUG_BINARY", 24: "TOOLCHAIN_WARNING_LOGS", 25: "CHROME_AFDO_PROFILE_FOR_ANDROID_LINUX", 26: "CLANG_CRASH_DIAGNOSES", 29: "COMPILER_RUSAGE_LOG", }
var ArtifactsByService_Toolchain_ArtifactType_value = map[string]int32{ "UNSPECIFIED": 0, "UNVERIFIED_CHROME_LLVM_ORDERFILE": 11, "VERIFIED_CHROME_LLVM_ORDERFILE": 12, "CHROME_CLANG_WARNINGS_FILE": 13, "UNVERIFIED_LLVM_PGO_FILE": 14, "UNVERIFIED_CHROME_BENCHMARK_AFDO_FILE": 15, "VERIFIED_CHROME_BENCHMARK_AFDO_FILE": 16, "VERIFIED_KERNEL_CWP_AFDO_FILE": 17, "UNVERIFIED_KERNEL_CWP_AFDO_FILE": 18, "UNVERIFIED_CHROME_CWP_AFDO_FILE": 19, "VERIFIED_CHROME_CWP_AFDO_FILE": 20, "VERIFIED_RELEASE_AFDO_FILE": 21, "UNVERIFIED_CHROME_BENCHMARK_PERF_FILE": 22, "CHROME_DEBUG_BINARY": 23, "TOOLCHAIN_WARNING_LOGS": 24, "CHROME_AFDO_PROFILE_FOR_ANDROID_LINUX": 25, "CLANG_CRASH_DIAGNOSES": 26, "COMPILER_RUSAGE_LOG": 29, }
var BotPolicy_BotScalingMode_name = map[int32]string{ 0: "UNKNOWN_SCALING_MODE", 1: "STEPPED", 2: "DEMAND", 3: "STEPPED_DECREASE", }
var BotPolicy_BotScalingMode_value = map[string]int32{ "UNKNOWN_SCALING_MODE": 0, "STEPPED": 1, "DEMAND": 2, "STEPPED_DECREASE": 3, }
var Branch_BranchType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "RELEASE", 2: "FACTORY", 3: "FIRMWARE", 4: "STABILIZE", 5: "CUSTOM", }
var Branch_BranchType_value = map[string]int32{ "UNSPECIFIED": 0, "RELEASE": 1, "FACTORY": 2, "FIRMWARE": 3, "STABILIZE": 4, "CUSTOM": 5, }
var BuilderConfig_Artifacts_ArtifactTypes_name = map[int32]string{ 0: "ARTIFACT_TYPES_UNSPECIFIED", 1: "IMAGE_ZIP", 2: "TEST_UPDATE_PAYLOAD", 3: "AUTOTEST_FILES", 4: "TAST_FILES", 5: "PINNED_GUEST_IMAGES", 6: "FIRMWARE", 7: "EBUILD_LOGS", 8: "CHROMEOS_CONFIG", 9: "CPE_REPORT", 10: "IMAGE_ARCHIVES", 11: "UNVERIFIED_CHROME_LLVM_ORDERFILE", 12: "VERIFIED_CHROME_LLVM_ORDERFILE", 13: "CHROME_CLANG_WARNINGS_FILE", 14: "UNVERIFIED_LLVM_PGO_FILE", 15: "UNVERIFIED_CHROME_BENCHMARK_AFDO_FILE", 16: "VERIFIED_CHROME_BENCHMARK_AFDO_FILE", 17: "VERIFIED_KERNEL_CWP_AFDO_FILE", 18: "UNVERIFIED_KERNEL_CWP_AFDO_FILE", 19: "UNVERIFIED_CHROME_CWP_AFDO_FILE", 20: "VERIFIED_CHROME_CWP_AFDO_FILE", 21: "VERIFIED_RELEASE_AFDO_FILE", 22: "UNVERIFIED_CHROME_BENCHMARK_PERF_FILE", 23: "CHROME_DEBUG_BINARY", 24: "TOOLCHAIN_WARNING_LOGS", 25: "CHROME_AFDO_PROFILE_FOR_ANDROID_LINUX", 26: "CLANG_CRASH_DIAGNOSES", 27: "FPMCU_UNITTESTS", 28: "GCE_TARBALL", 29: "COMPILER_RUSAGE_LOG", 30: "FIRMWARE_TARBALL", 31: "FIRMWARE_TARBALL_INFO", }
var BuilderConfig_Artifacts_ArtifactTypes_value = map[string]int32{ "ARTIFACT_TYPES_UNSPECIFIED": 0, "IMAGE_ZIP": 1, "TEST_UPDATE_PAYLOAD": 2, "AUTOTEST_FILES": 3, "TAST_FILES": 4, "PINNED_GUEST_IMAGES": 5, "FIRMWARE": 6, "EBUILD_LOGS": 7, "CHROMEOS_CONFIG": 8, "CPE_REPORT": 9, "IMAGE_ARCHIVES": 10, "UNVERIFIED_CHROME_LLVM_ORDERFILE": 11, "VERIFIED_CHROME_LLVM_ORDERFILE": 12, "CHROME_CLANG_WARNINGS_FILE": 13, "UNVERIFIED_LLVM_PGO_FILE": 14, "UNVERIFIED_CHROME_BENCHMARK_AFDO_FILE": 15, "VERIFIED_CHROME_BENCHMARK_AFDO_FILE": 16, "VERIFIED_KERNEL_CWP_AFDO_FILE": 17, "UNVERIFIED_KERNEL_CWP_AFDO_FILE": 18, "UNVERIFIED_CHROME_CWP_AFDO_FILE": 19, "VERIFIED_CHROME_CWP_AFDO_FILE": 20, "VERIFIED_RELEASE_AFDO_FILE": 21, "UNVERIFIED_CHROME_BENCHMARK_PERF_FILE": 22, "CHROME_DEBUG_BINARY": 23, "TOOLCHAIN_WARNING_LOGS": 24, "CHROME_AFDO_PROFILE_FOR_ANDROID_LINUX": 25, "CLANG_CRASH_DIAGNOSES": 26, "FPMCU_UNITTESTS": 27, "GCE_TARBALL": 28, "COMPILER_RUSAGE_LOG": 29, "FIRMWARE_TARBALL": 30, "FIRMWARE_TARBALL_INFO": 31, }
var BuilderConfig_Artifacts_Prebuilts_name = map[int32]string{ 0: "PREBUILTS_UNSPECIFIED", 1: "PUBLIC", 2: "PRIVATE", 3: "NONE", }
var BuilderConfig_Artifacts_Prebuilts_value = map[string]int32{ "PREBUILTS_UNSPECIFIED": 0, "PUBLIC": 1, "PRIVATE": 2, "NONE": 3, }
var BuilderConfig_Dependencies_name = map[int32]string{ 0: "DEPENDENCIES_UNSPECIFIED", 1: "ALL_DEPENDENCIES", 2: "CL_AFFECTED_DEPENDENCIES", }
var BuilderConfig_Dependencies_value = map[string]int32{ "DEPENDENCIES_UNSPECIFIED": 0, "ALL_DEPENDENCIES": 1, "CL_AFFECTED_DEPENDENCIES": 2, }
var BuilderConfig_General_Environment_name = map[int32]string{ 0: "ENVIRONMENT_UNSPECIFIED", 1: "PRODUCTION", 2: "STAGING", }
var BuilderConfig_General_Environment_value = map[string]int32{ "ENVIRONMENT_UNSPECIFIED": 0, "PRODUCTION": 1, "STAGING": 2, }
var BuilderConfig_General_Manifest_name = map[int32]string{ 0: "MANIFEST_UNSPECIFIED", 1: "PUBLIC", 2: "PRIVATE", }
var BuilderConfig_General_Manifest_value = map[string]int32{ "MANIFEST_UNSPECIFIED": 0, "PUBLIC": 1, "PRIVATE": 2, }
var BuilderConfig_General_RunWhen_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "ALWAYS_RUN", 2: "ONLY_RUN_ON_FILE_MATCH", 3: "NO_RUN_ON_FILE_MATCH", }
var BuilderConfig_General_RunWhen_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "ALWAYS_RUN": 1, "ONLY_RUN_ON_FILE_MATCH": 2, "NO_RUN_ON_FILE_MATCH": 3, }
var BuilderConfig_Id_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CQ", 2: "POSTSUBMIT", 3: "TOOLCHAIN", 4: "INFORMATIONAL", 5: "RELEASE", }
var BuilderConfig_Id_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CQ": 1, "POSTSUBMIT": 2, "TOOLCHAIN": 3, "INFORMATIONAL": 4, "RELEASE": 5, }
var BuilderConfig_Orchestrator_ChildSpec_CollectHandling_name = map[int32]string{ 0: "COLLECT_HANDLING_UNSPECIFIED", 1: "COLLECT", 2: "NO_COLLECT", 3: "COLLECT_AFTER_HW_TEST", }
var BuilderConfig_Orchestrator_ChildSpec_CollectHandling_value = map[string]int32{ "COLLECT_HANDLING_UNSPECIFIED": 0, "COLLECT": 1, "NO_COLLECT": 2, "COLLECT_AFTER_HW_TEST": 3, }
var BuilderConfig_RunSpec_name = map[int32]string{ 0: "RUN_SPEC_UNSPECIFIED", 1: "NO_RUN", 2: "RUN", 3: "RUN_EXIT", }
var BuilderConfig_RunSpec_value = map[string]int32{ "RUN_SPEC_UNSPECIFIED": 0, "NO_RUN": 1, "RUN": 2, "RUN_EXIT": 3, }
var Channel_name = map[int32]string{ 0: "CHANNEL_UNSPECIFIED", 1: "CHANNEL_STABLE", 2: "CHANNEL_BETA", 3: "CHANNEL_DEV", 4: "CHANNEL_CANARY", }
var Channel_value = map[string]int32{ "CHANNEL_UNSPECIFIED": 0, "CHANNEL_STABLE": 1, "CHANNEL_BETA": 2, "CHANNEL_DEV": 3, "CHANNEL_CANARY": 4, }
var Cr50Instructions_Target_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PREPVT", 2: "RELEASE_CANDIDATE", 3: "NODE_LOCKED", 4: "GENERAL_RELEASE", }
var Cr50Instructions_Target_value = map[string]int32{ "UNSPECIFIED": 0, "PREPVT": 1, "RELEASE_CANDIDATE": 2, "NODE_LOCKED": 3, "GENERAL_RELEASE": 4, }
var DeltaType_name = map[int32]string{ 0: "DELTA_UNKNOWN", 1: "NO_DELTA", 2: "FSI", 3: "MILESTONE", 4: "OMAHA", 5: "STEPPING_STONE", }
var DeltaType_value = map[string]int32{ "DELTA_UNKNOWN": 0, "NO_DELTA": 1, "FSI": 2, "MILESTONE": 3, "OMAHA": 4, "STEPPING_STONE": 5, }
var GomaConfig_GomaApproach_name = map[int32]string{ 0: "GOMA_APPROACH_UNSPECIFIED", 1: "DEFAULT", 2: "RBE_PROD", 3: "RBE_STAGING", 4: "RBE_CHROMEOS", }
var GomaConfig_GomaApproach_value = map[string]int32{ "GOMA_APPROACH_UNSPECIFIED": 0, "DEFAULT": 1, "RBE_PROD": 2, "RBE_STAGING": 3, "RBE_CHROMEOS": 4, }
var GscInstructions_Target_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PREPVT", 2: "RELEASE_CANDIDATE", 3: "NODE_LOCKED", 4: "GENERAL_RELEASE", }
var GscInstructions_Target_value = map[string]int32{ "UNSPECIFIED": 0, "PREPVT": 1, "RELEASE_CANDIDATE": 2, "NODE_LOCKED": 3, "GENERAL_RELEASE": 4, }
var ImageType_name = map[int32]string{ 0: "IMAGE_TYPE_UNDEFINED", 1: "IMAGE_TYPE_BASE", 2: "IMAGE_TYPE_DEV", 3: "IMAGE_TYPE_TEST", 4: "IMAGE_TYPE_BASE_VM", 5: "IMAGE_TYPE_TEST_VM", 6: "IMAGE_TYPE_RECOVERY", 7: "IMAGE_TYPE_FACTORY", 8: "IMAGE_TYPE_FIRMWARE", 9: "IMAGE_TYPE_CR50_FIRMWARE", 10: "IMAGE_TYPE_BASE_GUEST_VM", 11: "IMAGE_TYPE_TEST_GUEST_VM", 12: "IMAGE_TYPE_DLC", 13: "IMAGE_TYPE_GSC_FIRMWARE", 14: "IMAGE_TYPE_ACCESSORY_USBPD", 15: "IMAGE_TYPE_ACCESSORY_RWSIG", }
var ImageType_value = map[string]int32{ "IMAGE_TYPE_UNDEFINED": 0, "IMAGE_TYPE_BASE": 1, "IMAGE_TYPE_DEV": 2, "IMAGE_TYPE_TEST": 3, "IMAGE_TYPE_BASE_VM": 4, "IMAGE_TYPE_TEST_VM": 5, "IMAGE_TYPE_RECOVERY": 6, "IMAGE_TYPE_FACTORY": 7, "IMAGE_TYPE_FIRMWARE": 8, "IMAGE_TYPE_CR50_FIRMWARE": 9, "IMAGE_TYPE_BASE_GUEST_VM": 10, "IMAGE_TYPE_TEST_GUEST_VM": 11, "IMAGE_TYPE_DLC": 12, "IMAGE_TYPE_GSC_FIRMWARE": 13, "IMAGE_TYPE_ACCESSORY_USBPD": 14, "IMAGE_TYPE_ACCESSORY_RWSIG": 15, "BASE": 1, "DEV": 2, "TEST": 3, "BASE_VM": 4, "TEST_VM": 5, "RECOVERY": 6, "FACTORY": 7, "FIRMWARE": 8, "CR50_FIRMWARE": 9, "BASE_GUEST_VM": 10, "TEST_GUEST_VM": 11, "DLC": 12, "GSC_FIRMWARE": 13, }
var MonitoringMode_name = map[int32]string{ 0: "DEFAULT_TRACKING", 1: "TASK_BOT_COUNT", 2: "MAX_PEND_TIME", 3: "PASS_FAIL_COUNT", }
var MonitoringMode_value = map[string]int32{ "DEFAULT_TRACKING": 0, "TASK_BOT_COUNT": 1, "MAX_PEND_TIME": 2, "PASS_FAIL_COUNT": 3, }
var PayloadProperties_DeltaType_name = map[int32]string{ 0: "NOT_SET", 1: "NO_DELTA", 2: "OMAHA", 3: "STEPPING_STONE", 4: "MILESTONE", 5: "FSI", }
var PayloadProperties_DeltaType_value = map[string]int32{ "NOT_SET": 0, "NO_DELTA": 1, "OMAHA": 2, "STEPPING_STONE": 3, "MILESTONE": 4, "FSI": 5, }
var RepoState_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_CLEAN", 2: "STATE_DIRTY", 3: "STATE_RECOVERY", }
var RepoState_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_CLEAN": 1, "STATE_DIRTY": 2, "STATE_RECOVERY": 3, }
var SignerType_name = map[int32]string{ 0: "SIGNER_UNSPECIFIED", 1: "SIGNER_PRODUCTION", 2: "SIGNER_STAGING", 3: "SIGNER_DEV", }
var SignerType_value = map[string]int32{ "SIGNER_UNSPECIFIED": 0, "SIGNER_PRODUCTION": 1, "SIGNER_STAGING": 2, "SIGNER_DEV": 3, }
TODO(crbug.com/1020615): Drop this from chromite/api/toolchain.proto (and here) once usage has migrated to BuilderConfig.Artifacts.ArtifactType. Meanwhile, keep this in sync with chromite/api/toolchain.proto. The various toolchain optimization artifact types.
const ( // No AFDO artifact type specified. AFDOArtifactType_NONE_TYPE AFDOArtifactType = 0 // The type is orderfile. AFDOArtifactType_ORDERFILE AFDOArtifactType = 1 // The type is Chrome AFDO files generated by benchmarks. AFDOArtifactType_BENCHMARK_AFDO AFDOArtifactType = 2 // The type is kernel AFDO files. AFDOArtifactType_KERNEL_AFDO AFDOArtifactType = 3 // The type is Chrome AFDO used in release builders. AFDOArtifactType_CHROME_AFDO AFDOArtifactType = 4 )
func (AFDOArtifactType) EnumDescriptor() ([]byte, []int)
func (x AFDOArtifactType) String() string
type AfdoRelease struct { // ToolchainService Chrome AFDO artifacts require profile name. ChromeCwpProfile string `protobuf:"bytes,1,opt,name=chrome_cwp_profile,json=chromeCwpProfile,proto3" json:"chrome_cwp_profile,omitempty"` // The build id of the image_build. Used to generate the location for the // image archive. ImageBuildId int64 `protobuf:"varint,2,opt,name=image_build_id,json=imageBuildId,proto3" json:"image_build_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ToolchainService Unverified Release AFDO artifacts require information about the builder that created the image used to generate the unverified chrome benchmark perf file.
func (*AfdoRelease) Descriptor() ([]byte, []int)
func (m *AfdoRelease) GetChromeCwpProfile() string
func (m *AfdoRelease) GetImageBuildId() int64
func (*AfdoRelease) ProtoMessage()
func (m *AfdoRelease) Reset()
func (m *AfdoRelease) String() string
func (m *AfdoRelease) XXX_DiscardUnknown()
func (m *AfdoRelease) XXX_Merge(src proto.Message)
func (m *AfdoRelease) XXX_Size() int
func (m *AfdoRelease) XXX_Unmarshal(b []byte) error
type ApplicationUtilization struct { // Application namespace to associate resources. Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` ResourceUtilization []*ResourceUtilization `protobuf:"bytes,2,rep,name=resource_utilization,json=resourceUtilization,proto3" json:"resource_utilization,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Application utilization, per application at a regional assignment.
func (*ApplicationUtilization) Descriptor() ([]byte, []int)
func (m *ApplicationUtilization) GetApplication() string
func (m *ApplicationUtilization) GetResourceUtilization() []*ResourceUtilization
func (*ApplicationUtilization) ProtoMessage()
func (m *ApplicationUtilization) Reset()
func (m *ApplicationUtilization) String() string
func (m *ApplicationUtilization) XXX_DiscardUnknown()
func (m *ApplicationUtilization) XXX_Merge(src proto.Message)
func (m *ApplicationUtilization) XXX_Size() int
func (m *ApplicationUtilization) XXX_Unmarshal(b []byte) error
const ( Architecture_UNKNOWN Architecture = 0 Architecture_X86_INTERNAL Architecture = 1 Architecture_ARM_INTERNAL Architecture = 2 )
func (Architecture) EnumDescriptor() ([]byte, []int)
func (x Architecture) String() string
type ArtifactProfileInfo struct { // Types that are valid to be assigned to ArtifactProfileInfo: // *ArtifactProfileInfo_ChromeCwpProfile // *ArtifactProfileInfo_KernelVersion // *ArtifactProfileInfo_AfdoRelease ArtifactProfileInfo isArtifactProfileInfo_ArtifactProfileInfo `protobuf_oneof:"artifact_profile_info"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Artifact profile information used by artifact prepare/bundle endpoints in addition to input_artifacts.
func (*ArtifactProfileInfo) Descriptor() ([]byte, []int)
func (m *ArtifactProfileInfo) GetAfdoRelease() *AfdoRelease
func (m *ArtifactProfileInfo) GetArtifactProfileInfo() isArtifactProfileInfo_ArtifactProfileInfo
func (m *ArtifactProfileInfo) GetChromeCwpProfile() string
func (m *ArtifactProfileInfo) GetKernelVersion() string
func (*ArtifactProfileInfo) ProtoMessage()
func (m *ArtifactProfileInfo) Reset()
func (m *ArtifactProfileInfo) String() string
func (m *ArtifactProfileInfo) XXX_DiscardUnknown()
func (m *ArtifactProfileInfo) XXX_Merge(src proto.Message)
func (*ArtifactProfileInfo) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (m *ArtifactProfileInfo) XXX_Size() int
func (m *ArtifactProfileInfo) XXX_Unmarshal(b []byte) error
type ArtifactProfileInfo_AfdoRelease struct { AfdoRelease *AfdoRelease `protobuf:"bytes,3,opt,name=afdo_release,json=afdoRelease,proto3,oneof"` }
type ArtifactProfileInfo_ChromeCwpProfile struct { ChromeCwpProfile string `protobuf:"bytes,1,opt,name=chrome_cwp_profile,json=chromeCwpProfile,proto3,oneof"` }
type ArtifactProfileInfo_KernelVersion struct { KernelVersion string `protobuf:"bytes,2,opt,name=kernel_version,json=kernelVersion,proto3,oneof"` }
type ArtifactsByService struct { Legacy *ArtifactsByService_Legacy `protobuf:"bytes,1,opt,name=legacy,proto3" json:"legacy,omitempty"` Toolchain *ArtifactsByService_Toolchain `protobuf:"bytes,2,opt,name=toolchain,proto3" json:"toolchain,omitempty"` Image *ArtifactsByService_Image `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` Package *ArtifactsByService_Package `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"` Sysroot *ArtifactsByService_Sysroot `protobuf:"bytes,5,opt,name=sysroot,proto3" json:"sysroot,omitempty"` Test *ArtifactsByService_Test `protobuf:"bytes,6,opt,name=test,proto3" json:"test,omitempty"` // Profile information needed by the artifact handler, if any. ProfileInfo *ArtifactProfileInfo `protobuf:"bytes,7,opt,name=profile_info,json=profileInfo,proto3" json:"profile_info,omitempty"` Firmware *ArtifactsByService_Firmware `protobuf:"bytes,8,opt,name=firmware,proto3" json:"firmware,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Artifact information. Used bythe ArtifactsService.PrepareForBuild and BundleArtifacts endpoints to dispatch the appropriate service routines to prepare or bundle as a batch.
func (*ArtifactsByService) Descriptor() ([]byte, []int)
func (m *ArtifactsByService) GetFirmware() *ArtifactsByService_Firmware
func (m *ArtifactsByService) GetImage() *ArtifactsByService_Image
func (m *ArtifactsByService) GetLegacy() *ArtifactsByService_Legacy
func (m *ArtifactsByService) GetPackage() *ArtifactsByService_Package
func (m *ArtifactsByService) GetProfileInfo() *ArtifactProfileInfo
func (m *ArtifactsByService) GetSysroot() *ArtifactsByService_Sysroot
func (m *ArtifactsByService) GetTest() *ArtifactsByService_Test
func (m *ArtifactsByService) GetToolchain() *ArtifactsByService_Toolchain
func (*ArtifactsByService) ProtoMessage()
func (m *ArtifactsByService) Reset()
func (m *ArtifactsByService) String() string
func (m *ArtifactsByService) XXX_DiscardUnknown()
func (m *ArtifactsByService) XXX_Merge(src proto.Message)
func (m *ArtifactsByService) XXX_Size() int
func (m *ArtifactsByService) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Firmware struct { // Input artifact information InputArtifacts []*ArtifactsByService_Firmware_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Firmware_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArtifactsByService_Firmware) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Firmware) GetInputArtifacts() []*ArtifactsByService_Firmware_ArtifactInfo
func (m *ArtifactsByService_Firmware) GetOutputArtifacts() []*ArtifactsByService_Firmware_ArtifactInfo
func (*ArtifactsByService_Firmware) ProtoMessage()
func (m *ArtifactsByService_Firmware) Reset()
func (m *ArtifactsByService_Firmware) String() string
func (m *ArtifactsByService_Firmware) XXX_DiscardUnknown()
func (m *ArtifactsByService_Firmware) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Firmware) XXX_Size() int
func (m *ArtifactsByService_Firmware) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Firmware_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Firmware_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Firmware_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts. This should match the rest of the ArtifactInfo definitions in ArtifactsByService, other than having it's own (service-specific) definition for ArtifactType.
func (*ArtifactsByService_Firmware_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Firmware_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Firmware_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Firmware_ArtifactType
func (m *ArtifactsByService_Firmware_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Firmware_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Firmware_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Firmware_ArtifactInfo) Reset()
func (m *ArtifactsByService_Firmware_ArtifactInfo) String() string
func (m *ArtifactsByService_Firmware_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Firmware_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Firmware_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Firmware_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Firmware_ArtifactInfo) XXX_Unmarshal(b []byte) error
Artifacts which the ArtifactsService endpoints pass to FirmwareService.
const ( ArtifactsByService_Firmware_UNSPECIFIED ArtifactsByService_Firmware_ArtifactType = 0 // Firmware artifacts in a tarball. ArtifactsByService_Firmware_FIRMWARE_TARBALL ArtifactsByService_Firmware_ArtifactType = 30 // Metadata about the firmware. ArtifactsByService_Firmware_FIRMWARE_TARBALL_INFO ArtifactsByService_Firmware_ArtifactType = 31 )
func (ArtifactsByService_Firmware_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Firmware_ArtifactType) String() string
type ArtifactsByService_Image struct { // Input artifact information InputArtifacts []*ArtifactsByService_Image_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Image_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArtifactsByService_Image) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Image) GetInputArtifacts() []*ArtifactsByService_Image_ArtifactInfo
func (m *ArtifactsByService_Image) GetOutputArtifacts() []*ArtifactsByService_Image_ArtifactInfo
func (*ArtifactsByService_Image) ProtoMessage()
func (m *ArtifactsByService_Image) Reset()
func (m *ArtifactsByService_Image) String() string
func (m *ArtifactsByService_Image) XXX_DiscardUnknown()
func (m *ArtifactsByService_Image) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Image) XXX_Size() int
func (m *ArtifactsByService_Image) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Image_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Image_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Image_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts. This should match the rest of the ArtifactInfo definitions in ArtifactsByService, other than having it's own (service-specific) definition for ArtifactType.
func (*ArtifactsByService_Image_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Image_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Image_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Image_ArtifactType
func (m *ArtifactsByService_Image_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Image_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Image_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Image_ArtifactInfo) Reset()
func (m *ArtifactsByService_Image_ArtifactInfo) String() string
func (m *ArtifactsByService_Image_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Image_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Image_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Image_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Image_ArtifactInfo) XXX_Unmarshal(b []byte) error
Artifacts which the ArtifactsService endpoints pass to ImageService.
const ( ArtifactsByService_Image_UNSPECIFIED ArtifactsByService_Image_ArtifactType = 0 )
func (ArtifactsByService_Image_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Image_ArtifactType) String() string
type ArtifactsByService_Legacy struct { // Input artifact information InputArtifacts []*ArtifactsByService_Legacy_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Legacy_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TODO(crbug/1034529): Drop this message. Artifacts handled within the ArtifactsService endpoints directly.
func (*ArtifactsByService_Legacy) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Legacy) GetInputArtifacts() []*ArtifactsByService_Legacy_ArtifactInfo
func (m *ArtifactsByService_Legacy) GetOutputArtifacts() []*ArtifactsByService_Legacy_ArtifactInfo
func (*ArtifactsByService_Legacy) ProtoMessage()
func (m *ArtifactsByService_Legacy) Reset()
func (m *ArtifactsByService_Legacy) String() string
func (m *ArtifactsByService_Legacy) XXX_DiscardUnknown()
func (m *ArtifactsByService_Legacy) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Legacy) XXX_Size() int
func (m *ArtifactsByService_Legacy) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Legacy_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Legacy_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Legacy_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts.
func (*ArtifactsByService_Legacy_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Legacy_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Legacy_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Legacy_ArtifactType
func (m *ArtifactsByService_Legacy_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Legacy_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Legacy_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Legacy_ArtifactInfo) Reset()
func (m *ArtifactsByService_Legacy_ArtifactInfo) String() string
func (m *ArtifactsByService_Legacy_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Legacy_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Legacy_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Legacy_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Legacy_ArtifactInfo) XXX_Unmarshal(b []byte) error
Legacy artifacts, handled in cros_artifacts. DO NOT ADD TO THIS.
const ( ArtifactsByService_Legacy_UNSPECIFIED ArtifactsByService_Legacy_ArtifactType = 0 // Indicates wanting a zip file of everything in the image directory. // TODO(crbug/1034529): moves to ArtifactsByService.Image ArtifactsByService_Legacy_IMAGE_ZIP ArtifactsByService_Legacy_ArtifactType = 1 // Indicates wanting update payloads. // TODO(crbug/1034529): moves to ArtifactsByService.Test ArtifactsByService_Legacy_TEST_UPDATE_PAYLOAD ArtifactsByService_Legacy_ArtifactType = 2 // Indicates wanting the autotest tarballs. // TODO(crbug/1034529): moves to ArtifactsByService.Test ArtifactsByService_Legacy_AUTOTEST_FILES ArtifactsByService_Legacy_ArtifactType = 3 // Indicates wanting a tarball containing private TAST test bundles. // TODO(crbug/1034529): moves to ArtifactsByService.Test ArtifactsByService_Legacy_TAST_FILES ArtifactsByService_Legacy_ArtifactType = 4 // Indicates wanting a tarball containing guest images and test bundles. // TODO(crbug/1034529): moves to ArtifactsByService.Test ArtifactsByService_Legacy_PINNED_GUEST_IMAGES ArtifactsByService_Legacy_ArtifactType = 5 // Indicates wanting an archive of firmware images built from source. // TODO(crbug/1034529): moves to ArtifactsByService.Package ArtifactsByService_Legacy_FIRMWARE ArtifactsByService_Legacy_ArtifactType = 6 // Indicates wanting a tarball of the Ebuilds logs. // TODO(crbug/1034529): moves to ArtifactsByService.Sysroot ArtifactsByService_Legacy_EBUILD_LOGS ArtifactsByService_Legacy_ArtifactType = 7 // Indicates wanting an archive of the ChromeOS Config. // TODO(crbug/1034529): moves to ArtifactsByService.Sysroot ArtifactsByService_Legacy_CHROMEOS_CONFIG ArtifactsByService_Legacy_ArtifactType = 8 // Indicates wanting the CPE report. // TODO(crbug/1034529): moves to ArtifactsByService.Package ArtifactsByService_Legacy_CPE_REPORT ArtifactsByService_Legacy_ArtifactType = 9 // Indicates wanting a tar.xz archive for each image created. // TODO(crbug/1034529): moves to ArtifactsByService.Image ArtifactsByService_Legacy_IMAGE_ARCHIVES ArtifactsByService_Legacy_ArtifactType = 10 // Indicates wanting a tarball containing fingerprint MCU test binaries. // TODO(crbug/1034529): moves to ArtifactsByService.Test ArtifactsByService_Legacy_FPMCU_UNITTESTS ArtifactsByService_Legacy_ArtifactType = 27 // Indicates wanting a test image tarball suitable for importing into GCE. // TODO(crbug/1034529): moves to ArtifactsByService.Image ArtifactsByService_Legacy_GCE_TARBALL ArtifactsByService_Legacy_ArtifactType = 28 )
func (ArtifactsByService_Legacy_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Legacy_ArtifactType) String() string
type ArtifactsByService_Package struct { // Input artifact information InputArtifacts []*ArtifactsByService_Package_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Package_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArtifactsByService_Package) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Package) GetInputArtifacts() []*ArtifactsByService_Package_ArtifactInfo
func (m *ArtifactsByService_Package) GetOutputArtifacts() []*ArtifactsByService_Package_ArtifactInfo
func (*ArtifactsByService_Package) ProtoMessage()
func (m *ArtifactsByService_Package) Reset()
func (m *ArtifactsByService_Package) String() string
func (m *ArtifactsByService_Package) XXX_DiscardUnknown()
func (m *ArtifactsByService_Package) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Package) XXX_Size() int
func (m *ArtifactsByService_Package) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Package_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Package_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Package_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts. This should match the rest of the ArtifactInfo definitions in ArtifactsByService, other than having it's own (service-specific) definition for ArtifactType.
func (*ArtifactsByService_Package_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Package_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Package_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Package_ArtifactType
func (m *ArtifactsByService_Package_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Package_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Package_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Package_ArtifactInfo) Reset()
func (m *ArtifactsByService_Package_ArtifactInfo) String() string
func (m *ArtifactsByService_Package_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Package_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Package_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Package_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Package_ArtifactInfo) XXX_Unmarshal(b []byte) error
Artifacts which the ArtifactsService endpoints pass to PackageService.
const ( ArtifactsByService_Package_UNSPECIFIED ArtifactsByService_Package_ArtifactType = 0 )
func (ArtifactsByService_Package_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Package_ArtifactType) String() string
When to publish the artifact.
const ( ArtifactsByService_PUBLISH_UNSPECIFIED ArtifactsByService_PublishCondition = 0 // Publish only for successful builds. This is the default. ArtifactsByService_PUBLISH_ON_SUCCESS ArtifactsByService_PublishCondition = 1 // Publish always. (Useful for error diagnostics.) ArtifactsByService_PUBLISH_ALWAYS ArtifactsByService_PublishCondition = 2 )
func (ArtifactsByService_PublishCondition) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_PublishCondition) String() string
type ArtifactsByService_Sysroot struct { // Input artifact information InputArtifacts []*ArtifactsByService_Sysroot_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Sysroot_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArtifactsByService_Sysroot) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Sysroot) GetInputArtifacts() []*ArtifactsByService_Sysroot_ArtifactInfo
func (m *ArtifactsByService_Sysroot) GetOutputArtifacts() []*ArtifactsByService_Sysroot_ArtifactInfo
func (*ArtifactsByService_Sysroot) ProtoMessage()
func (m *ArtifactsByService_Sysroot) Reset()
func (m *ArtifactsByService_Sysroot) String() string
func (m *ArtifactsByService_Sysroot) XXX_DiscardUnknown()
func (m *ArtifactsByService_Sysroot) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Sysroot) XXX_Size() int
func (m *ArtifactsByService_Sysroot) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Sysroot_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Sysroot_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Sysroot_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts. This should match the rest of the ArtifactInfo definitions in ArtifactsByService, other than having it's own (service-specific) definition for ArtifactType.
func (*ArtifactsByService_Sysroot_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Sysroot_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Sysroot_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Sysroot_ArtifactType
func (m *ArtifactsByService_Sysroot_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Sysroot_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Sysroot_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Sysroot_ArtifactInfo) Reset()
func (m *ArtifactsByService_Sysroot_ArtifactInfo) String() string
func (m *ArtifactsByService_Sysroot_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Sysroot_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Sysroot_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Sysroot_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Sysroot_ArtifactInfo) XXX_Unmarshal(b []byte) error
Artifacts which the ArtifactsService endpoints pass to SysrootService.
const ( ArtifactsByService_Sysroot_UNSPECIFIED ArtifactsByService_Sysroot_ArtifactType = 0 )
func (ArtifactsByService_Sysroot_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Sysroot_ArtifactType) String() string
type ArtifactsByService_Test struct { // Input artifact information InputArtifacts []*ArtifactsByService_Test_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Test_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArtifactsByService_Test) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Test) GetInputArtifacts() []*ArtifactsByService_Test_ArtifactInfo
func (m *ArtifactsByService_Test) GetOutputArtifacts() []*ArtifactsByService_Test_ArtifactInfo
func (*ArtifactsByService_Test) ProtoMessage()
func (m *ArtifactsByService_Test) Reset()
func (m *ArtifactsByService_Test) String() string
func (m *ArtifactsByService_Test) XXX_DiscardUnknown()
func (m *ArtifactsByService_Test) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Test) XXX_Size() int
func (m *ArtifactsByService_Test) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Test_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Test_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Test_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts. This should match the rest of the ArtifactInfo definitions in ArtifactsByService, other than having it's own (service-specific) definition for ArtifactType.
func (*ArtifactsByService_Test_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Test_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Test_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Test_ArtifactType
func (m *ArtifactsByService_Test_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Test_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Test_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Test_ArtifactInfo) Reset()
func (m *ArtifactsByService_Test_ArtifactInfo) String() string
func (m *ArtifactsByService_Test_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Test_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Test_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Test_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Test_ArtifactInfo) XXX_Unmarshal(b []byte) error
Artifacts which the ArtifactsService endpoints pass to TestService.
const ( ArtifactsByService_Test_UNSPECIFIED ArtifactsByService_Test_ArtifactType = 0 )
func (ArtifactsByService_Test_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Test_ArtifactType) String() string
type ArtifactsByService_Toolchain struct { // Input artifact information InputArtifacts []*ArtifactsByService_Toolchain_ArtifactInfo `protobuf:"bytes,1,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Output artifact information OutputArtifacts []*ArtifactsByService_Toolchain_ArtifactInfo `protobuf:"bytes,2,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArtifactsByService_Toolchain) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Toolchain) GetInputArtifacts() []*ArtifactsByService_Toolchain_ArtifactInfo
func (m *ArtifactsByService_Toolchain) GetOutputArtifacts() []*ArtifactsByService_Toolchain_ArtifactInfo
func (*ArtifactsByService_Toolchain) ProtoMessage()
func (m *ArtifactsByService_Toolchain) Reset()
func (m *ArtifactsByService_Toolchain) String() string
func (m *ArtifactsByService_Toolchain) XXX_DiscardUnknown()
func (m *ArtifactsByService_Toolchain) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Toolchain) XXX_Size() int
func (m *ArtifactsByService_Toolchain) XXX_Unmarshal(b []byte) error
type ArtifactsByService_Toolchain_ArtifactInfo struct { // The ArtifactType. One or more types to which the rest of the fields // apply. ArtifactTypes []ArtifactsByService_Toolchain_ArtifactType `protobuf:"varint,1,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.ArtifactsByService_Toolchain_ArtifactType" json:"artifact_types,omitempty"` // GS location in which to upload artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // specifying those here. Examples include AFDO artifacts and release // %(artifact_name)s: The name of the artifact being published. // // BuilderConfig.Artifacts.artifacts_gs_location is used for all // artifacts. Artifact can be published to additional locations by // specifying those here. Examples: include AFDO artifacts and Release // images. GsLocations []string `protobuf:"bytes,2,rep,name=gs_locations,json=gsLocations,proto3" json:"gs_locations,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // When to publish the artifact. PublishCondition ArtifactsByService_PublishCondition `protobuf:"varint,5,opt,name=publish_condition,json=publishCondition,proto3,enum=chromiumos.ArtifactsByService_PublishCondition" json:"publish_condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about one or more artifacts. This should match the rest of the ArtifactInfo definitions in ArtifactsByService, other than having it's own (service-specific) definition for ArtifactType.
func (*ArtifactsByService_Toolchain_ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactsByService_Toolchain_ArtifactInfo) GetAclName() string
func (m *ArtifactsByService_Toolchain_ArtifactInfo) GetArtifactTypes() []ArtifactsByService_Toolchain_ArtifactType
func (m *ArtifactsByService_Toolchain_ArtifactInfo) GetGsLocations() []string
func (m *ArtifactsByService_Toolchain_ArtifactInfo) GetPublishCondition() ArtifactsByService_PublishCondition
func (*ArtifactsByService_Toolchain_ArtifactInfo) ProtoMessage()
func (m *ArtifactsByService_Toolchain_ArtifactInfo) Reset()
func (m *ArtifactsByService_Toolchain_ArtifactInfo) String() string
func (m *ArtifactsByService_Toolchain_ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactsByService_Toolchain_ArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ArtifactsByService_Toolchain_ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactsByService_Toolchain_ArtifactInfo) XXX_Size() int
func (m *ArtifactsByService_Toolchain_ArtifactInfo) XXX_Unmarshal(b []byte) error
Artifacts which the ArtifactsService endpoints pass to ToolchainService.
const ( ArtifactsByService_Toolchain_UNSPECIFIED ArtifactsByService_Toolchain_ArtifactType = 0 // Indicates an unvetted orderfile for Chrome. ArtifactsByService_Toolchain_UNVERIFIED_CHROME_LLVM_ORDERFILE ArtifactsByService_Toolchain_ArtifactType = 11 // Indicates a vetted orderfile for Chrome. ArtifactsByService_Toolchain_VERIFIED_CHROME_LLVM_ORDERFILE ArtifactsByService_Toolchain_ArtifactType = 12 // Indicates a clang-tidy artifact. ArtifactsByService_Toolchain_CHROME_CLANG_WARNINGS_FILE ArtifactsByService_Toolchain_ArtifactType = 13 // Indicates a PGO artifact for the compiler. ArtifactsByService_Toolchain_UNVERIFIED_LLVM_PGO_FILE ArtifactsByService_Toolchain_ArtifactType = 14 // Indicates an unvetted AFDO Chrome profile. (Generated by HW Tests in // the benchmark-afdo-generate builder.) ArtifactsByService_Toolchain_UNVERIFIED_CHROME_BENCHMARK_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 15 // Indicates a vetted AFDO Chrome profile. ArtifactsByService_Toolchain_VERIFIED_CHROME_BENCHMARK_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 16 // Indicates a vetted AFDO Kernel profile. ArtifactsByService_Toolchain_VERIFIED_KERNEL_CWP_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 17 // Indicates an unvetted AFDO Kernel CWP profile. ArtifactsByService_Toolchain_UNVERIFIED_KERNEL_CWP_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 18 // Indicates an unvetted AFDO Chrome CWP profile. ArtifactsByService_Toolchain_UNVERIFIED_CHROME_CWP_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 19 // Indicates a vetted AFDO Chrome CWP profile. ArtifactsByService_Toolchain_VERIFIED_CHROME_CWP_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 20 // Indicates a vetted AFDO profile for release. ArtifactsByService_Toolchain_VERIFIED_RELEASE_AFDO_FILE ArtifactsByService_Toolchain_ArtifactType = 21 // Indicates an unvetted AFDO perf data file (from HW Test). ArtifactsByService_Toolchain_UNVERIFIED_CHROME_BENCHMARK_PERF_FILE ArtifactsByService_Toolchain_ArtifactType = 22 // Indicates an unstripped Chrome binary. ArtifactsByService_Toolchain_CHROME_DEBUG_BINARY ArtifactsByService_Toolchain_ArtifactType = 23 // Indicates toolchain logs for the compiler warnings for werror monitor ArtifactsByService_Toolchain_TOOLCHAIN_WARNING_LOGS ArtifactsByService_Toolchain_ArtifactType = 24 // Indicates a prod Chrome AFDO profile for Android/Linux. ArtifactsByService_Toolchain_CHROME_AFDO_PROFILE_FOR_ANDROID_LINUX ArtifactsByService_Toolchain_ArtifactType = 25 // Indicates diagnoses for Clang crashes ArtifactsByService_Toolchain_CLANG_CRASH_DIAGNOSES ArtifactsByService_Toolchain_ArtifactType = 26 // Indicates Rusage logs from Compiler Invocations ArtifactsByService_Toolchain_COMPILER_RUSAGE_LOG ArtifactsByService_Toolchain_ArtifactType = 29 )
func (ArtifactsByService_Toolchain_ArtifactType) EnumDescriptor() ([]byte, []int)
func (x ArtifactsByService_Toolchain_ArtifactType) String() string
type BotPolicy struct { // Bot group controlled by this policy, like, 'cq', 'postsubmit',... BotGroup string `protobuf:"bytes,1,opt,name=bot_group,json=botGroup,proto3" json:"bot_group,omitempty"` // The type of bot to be requested. BotType *BotType `protobuf:"bytes,2,opt,name=bot_type,json=botType,proto3" json:"bot_type,omitempty"` ScalingRestriction *BotPolicy_ScalingRestriction `protobuf:"bytes,3,opt,name=scaling_restriction,json=scalingRestriction,proto3" json:"scaling_restriction,omitempty"` RegionRestrictions []*BotPolicy_RegionRestriction `protobuf:"bytes,4,rep,name=region_restrictions,json=regionRestrictions,proto3" json:"region_restrictions,omitempty"` // A set of dimensions used to validate current Swarming allocations. SwarmingDimensions []*SwarmingDimension `protobuf:"bytes,5,rep,name=swarming_dimensions,json=swarmingDimensions,proto3" json:"swarming_dimensions,omitempty"` // Set whether a bot group should be configured or only monitored. PolicyMode BotPolicy_Mode `protobuf:"varint,6,opt,name=policy_mode,json=policyMode,proto3,enum=chromiumos.BotPolicy_Mode" json:"policy_mode,omitempty"` // Number of hours to lookback for Swarming stats. LookbackHours int32 `protobuf:"zigzag32,7,opt,name=lookback_hours,json=lookbackHours,proto3" json:"lookback_hours,omitempty"` // Set the scaling approach for the bot group being monitored. ScalingMode BotPolicy_BotScalingMode `protobuf:"varint,8,opt,name=scaling_mode,json=scalingMode,proto3,enum=chromiumos.BotPolicy_BotScalingMode" json:"scaling_mode,omitempty"` // Swarming instance name: chromeos-swarming.appspot.com SwarmingInstance string `protobuf:"bytes,9,opt,name=swarming_instance,json=swarmingInstance,proto3" json:"swarming_instance,omitempty"` // Application namespace within Swarming instance. Application string `protobuf:"bytes,10,opt,name=application,proto3" json:"application,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bot Policy to apply to a bot group.
func (m *BotPolicy) GetPolicyMode() BotPolicy_Mode
func (m *BotPolicy) GetRegionRestrictions() []*BotPolicy_RegionRestriction
func (m *BotPolicy) GetScalingMode() BotPolicy_BotScalingMode
func (m *BotPolicy) GetScalingRestriction() *BotPolicy_ScalingRestriction
func (m *BotPolicy) GetSwarmingDimensions() []*SwarmingDimension
type BotPolicyCfg struct { // All bot policies. BotPolicies []*BotPolicy `protobuf:"bytes,1,rep,name=bot_policies,json=botPolicies,proto3" json:"bot_policies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configures the root message.
func (*BotPolicyCfg) Descriptor() ([]byte, []int)
func (m *BotPolicyCfg) GetBotPolicies() []*BotPolicy
func (*BotPolicyCfg) ProtoMessage()
func (m *BotPolicyCfg) Reset()
func (m *BotPolicyCfg) String() string
func (m *BotPolicyCfg) XXX_DiscardUnknown()
func (m *BotPolicyCfg) XXX_Merge(src proto.Message)
func (m *BotPolicyCfg) XXX_Size() int
func (m *BotPolicyCfg) XXX_Unmarshal(b []byte) error
Specifies mode for a bot scaling
const ( BotPolicy_UNKNOWN_SCALING_MODE BotPolicy_BotScalingMode = 0 // Scale up or down bots by the step size associated with bot group.. BotPolicy_STEPPED BotPolicy_BotScalingMode = 1 // Scale up or down bots by the demand on the bot group. // For use on smaller bot groups that are susceptible to smaller increases. BotPolicy_DEMAND BotPolicy_BotScalingMode = 2 // Scale down bots by the step size associated with bot group. // Scale up bots by the demand on the bot group. BotPolicy_STEPPED_DECREASE BotPolicy_BotScalingMode = 3 )
func (BotPolicy_BotScalingMode) EnumDescriptor() ([]byte, []int)
func (x BotPolicy_BotScalingMode) String() string
Specifies mode for a bot policy
const ( BotPolicy_UNKNOWN_MODE BotPolicy_Mode = 0 // Collect stats only for a bot group. BotPolicy_MONITORED BotPolicy_Mode = 1 // Generate configuration updates for bot group. BotPolicy_CONFIGURED BotPolicy_Mode = 2 )
func (BotPolicy_Mode) EnumDescriptor() ([]byte, []int)
func (x BotPolicy_Mode) String() string
type BotPolicy_RegionRestriction struct { // Region of the bot sub-group. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Specific prefix of the bot sub-group. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // Weight to be applied to this sub-group. The number of bots requested // from each region will be proportional to the weight unless a // quota limit is violated. Weight float32 `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of restrictions on the regions and how to distribute bots between them.
func (*BotPolicy_RegionRestriction) Descriptor() ([]byte, []int)
func (m *BotPolicy_RegionRestriction) GetPrefix() string
func (m *BotPolicy_RegionRestriction) GetRegion() string
func (m *BotPolicy_RegionRestriction) GetWeight() float32
func (*BotPolicy_RegionRestriction) ProtoMessage()
func (m *BotPolicy_RegionRestriction) Reset()
func (m *BotPolicy_RegionRestriction) String() string
func (m *BotPolicy_RegionRestriction) XXX_DiscardUnknown()
func (m *BotPolicy_RegionRestriction) XXX_Merge(src proto.Message)
func (m *BotPolicy_RegionRestriction) XXX_Size() int
func (m *BotPolicy_RegionRestriction) XXX_Unmarshal(b []byte) error
type BotPolicy_ScalingRestriction struct { // Hard limit on the maximum number of bots to request. BotCeiling int32 `protobuf:"varint,1,opt,name=bot_ceiling,json=botCeiling,proto3" json:"bot_ceiling,omitempty"` // Hard limit on the minimum number of bots to request. BotFloor int32 `protobuf:"varint,2,opt,name=bot_floor,json=botFloor,proto3" json:"bot_floor,omitempty"` // Soft limit on the number of idle bots to maintain. MinIdle int32 `protobuf:"varint,3,opt,name=min_idle,json=minIdle,proto3" json:"min_idle,omitempty"` // Hard minimum limit on the absolute delta between request amount and // existing bot count. StepSize int32 `protobuf:"varint,4,opt,name=step_size,json=stepSize,proto3" json:"step_size,omitempty"` // Static number to request when demand is not accessible. BotFallback int32 `protobuf:"varint,5,opt,name=bot_fallback,json=botFallback,proto3" json:"bot_fallback,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Scaling restriction specifies the limits on how the group can be expanded or reduced.
func (*BotPolicy_ScalingRestriction) Descriptor() ([]byte, []int)
func (m *BotPolicy_ScalingRestriction) GetBotCeiling() int32
func (m *BotPolicy_ScalingRestriction) GetBotFallback() int32
func (m *BotPolicy_ScalingRestriction) GetBotFloor() int32
func (m *BotPolicy_ScalingRestriction) GetMinIdle() int32
func (m *BotPolicy_ScalingRestriction) GetStepSize() int32
func (*BotPolicy_ScalingRestriction) ProtoMessage()
func (m *BotPolicy_ScalingRestriction) Reset()
func (m *BotPolicy_ScalingRestriction) String() string
func (m *BotPolicy_ScalingRestriction) XXX_DiscardUnknown()
func (m *BotPolicy_ScalingRestriction) XXX_Merge(src proto.Message)
func (m *BotPolicy_ScalingRestriction) XXX_Size() int
func (m *BotPolicy_ScalingRestriction) XXX_Unmarshal(b []byte) error
type BotType struct { // The string bot "shirt size" to be requested for the group. BotSize string `protobuf:"bytes,1,opt,name=bot_size,json=botSize,proto3" json:"bot_size,omitempty"` // The number of cores per bot. Will be used to limit quota usage. CoresPerBot float32 `protobuf:"fixed32,2,opt,name=cores_per_bot,json=coresPerBot,proto3" json:"cores_per_bot,omitempty"` // Estimated hourly cost. HourlyCost float32 `protobuf:"fixed32,3,opt,name=hourly_cost,json=hourlyCost,proto3" json:"hourly_cost,omitempty"` // Amount of memory in GB allocated to bot. MemoryGb float32 `protobuf:"fixed32,4,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Defines a type of bot associated with a bot group.
type Branch struct { // Type of branch. Type Branch_BranchType `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"` // Name of branch. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Branch descriptor (usually a build target or device name). // Optional. Descriptor_ string `protobuf:"bytes,3,opt,name=descriptor,proto3" json:"descriptor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A message to specify branches.
func (m *Branch) GetType() Branch_BranchType
The types of branches that can be created.
const ( Branch_UNSPECIFIED Branch_BranchType = 0 Branch_RELEASE Branch_BranchType = 1 Branch_FACTORY Branch_BranchType = 2 Branch_FIRMWARE Branch_BranchType = 3 Branch_STABILIZE Branch_BranchType = 4 Branch_CUSTOM Branch_BranchType = 5 )
func (Branch_BranchType) EnumDescriptor() ([]byte, []int)
func (x Branch_BranchType) String() string
type BuildBoard struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Configs []*Config `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message to represent a board in build configuration
func (*BuildBoard) Descriptor() ([]byte, []int)
func (m *BuildBoard) GetConfigs() []*Config
func (m *BuildBoard) GetName() string
func (*BuildBoard) ProtoMessage()
func (m *BuildBoard) Reset()
func (m *BuildBoard) String() string
func (m *BuildBoard) XXX_DiscardUnknown()
func (m *BuildBoard) XXX_Merge(src proto.Message)
func (m *BuildBoard) XXX_Size() int
func (m *BuildBoard) XXX_Unmarshal(b []byte) error
type BuildTarget struct { // The name of the build target (a.k.a. board name). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BuildTarget encapsulates a number of related arguments. At the moment, the usage of specific arguments is on a per endpoint basis, but will converge to support a standard set as time goes on. BuildTarget is a more appropriate name going forward for what we currently call "board".
func (*BuildTarget) Descriptor() ([]byte, []int)
func (m *BuildTarget) GetName() string
func (*BuildTarget) ProtoMessage()
func (m *BuildTarget) Reset()
func (m *BuildTarget) String() string
func (m *BuildTarget) XXX_DiscardUnknown()
func (m *BuildTarget) XXX_Merge(src proto.Message)
func (m *BuildTarget) XXX_Size() int
func (m *BuildTarget) XXX_Unmarshal(b []byte) error
type BuilderConfig struct { Id *BuilderConfig_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` General *BuilderConfig_General `protobuf:"bytes,2,opt,name=general,proto3" json:"general,omitempty"` Orchestrator *BuilderConfig_Orchestrator `protobuf:"bytes,3,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` Artifacts *BuilderConfig_Artifacts `protobuf:"bytes,4,opt,name=artifacts,proto3" json:"artifacts,omitempty"` Chrome *BuilderConfig_Chrome `protobuf:"bytes,5,opt,name=chrome,proto3" json:"chrome,omitempty"` Build *BuilderConfig_Build `protobuf:"bytes,6,opt,name=build,proto3" json:"build,omitempty"` UnitTests *BuilderConfig_UnitTests `protobuf:"bytes,7,opt,name=unit_tests,json=unitTests,proto3" json:"unit_tests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration used by a builder during execution.
func (*BuilderConfig) Descriptor() ([]byte, []int)
func (m *BuilderConfig) GetArtifacts() *BuilderConfig_Artifacts
func (m *BuilderConfig) GetBuild() *BuilderConfig_Build
func (m *BuilderConfig) GetChrome() *BuilderConfig_Chrome
func (m *BuilderConfig) GetGeneral() *BuilderConfig_General
func (m *BuilderConfig) GetId() *BuilderConfig_Id
func (m *BuilderConfig) GetOrchestrator() *BuilderConfig_Orchestrator
func (m *BuilderConfig) GetUnitTests() *BuilderConfig_UnitTests
func (*BuilderConfig) ProtoMessage()
func (m *BuilderConfig) Reset()
func (m *BuilderConfig) String() string
func (m *BuilderConfig) XXX_DiscardUnknown()
func (m *BuilderConfig) XXX_Merge(src proto.Message)
func (m *BuilderConfig) XXX_Size() int
func (m *BuilderConfig) XXX_Unmarshal(b []byte) error
type BuilderConfig_Artifacts struct { Prebuilts BuilderConfig_Artifacts_Prebuilts `protobuf:"varint,1,opt,name=prebuilts,proto3,enum=chromiumos.BuilderConfig_Artifacts_Prebuilts" json:"prebuilts,omitempty"` ArtifactTypes []BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,2,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"artifact_types,omitempty"` // Google storage bucket to upload prebuilts to. PrebuiltsGsBucket string `protobuf:"bytes,3,opt,name=prebuilts_gs_bucket,json=prebuiltsGsBucket,proto3" json:"prebuilts_gs_bucket,omitempty"` // Google storage bucket to upload all artifacts to. ArtifactsGsBucket string `protobuf:"bytes,4,opt,name=artifacts_gs_bucket,json=artifactsGsBucket,proto3" json:"artifacts_gs_bucket,omitempty"` // There may be more than one set of publishing instructions. PublishArtifacts []*BuilderConfig_Artifacts_PublishInfo `protobuf:"bytes,5,rep,name=publish_artifacts,json=publishArtifacts,proto3" json:"publish_artifacts,omitempty"` // There may be more than one set of consumable artifacts. InputArtifacts []*BuilderConfig_Artifacts_InputArtifactInfo `protobuf:"bytes,6,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"` // Profile information needed by artifact prepare/bundle endpoints. // TODO(crbug/1034529): DEPRECATED: see artifacts_info. ArtifactProfileInfo *ArtifactProfileInfo `protobuf:"bytes,7,opt,name=artifact_profile_info,json=artifactProfileInfo,proto3" json:"artifact_profile_info,omitempty"` // Artifacts separated by service. ArtifactsInfo *ArtifactsByService `protobuf:"bytes,8,opt,name=artifacts_info,json=artifactsInfo,proto3" json:"artifacts_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration pertaining to artifacts produced during a build.
func (*BuilderConfig_Artifacts) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Artifacts) GetArtifactProfileInfo() *ArtifactProfileInfo
func (m *BuilderConfig_Artifacts) GetArtifactTypes() []BuilderConfig_Artifacts_ArtifactTypes
func (m *BuilderConfig_Artifacts) GetArtifactsGsBucket() string
func (m *BuilderConfig_Artifacts) GetArtifactsInfo() *ArtifactsByService
func (m *BuilderConfig_Artifacts) GetInputArtifacts() []*BuilderConfig_Artifacts_InputArtifactInfo
func (m *BuilderConfig_Artifacts) GetPrebuilts() BuilderConfig_Artifacts_Prebuilts
func (m *BuilderConfig_Artifacts) GetPrebuiltsGsBucket() string
func (m *BuilderConfig_Artifacts) GetPublishArtifacts() []*BuilderConfig_Artifacts_PublishInfo
func (*BuilderConfig_Artifacts) ProtoMessage()
func (m *BuilderConfig_Artifacts) Reset()
func (m *BuilderConfig_Artifacts) String() string
func (m *BuilderConfig_Artifacts) XXX_DiscardUnknown()
func (m *BuilderConfig_Artifacts) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Artifacts) XXX_Size() int
func (m *BuilderConfig_Artifacts) XXX_Unmarshal(b []byte) error
Used to indicate artifact types that should be uploaded by the builder. Must be kept in sync with the dictionary in: https://chromium.googlesource.com/chromiumos/infra/recipes/+/refs/heads/master/recipe_modules/cros_artifacts/api.py TODO(crbug/1034529): Being replaced by common.ArtifactsByService, to eliminate the need to update cros_artifacts every time an artifact type is added.
const ( BuilderConfig_Artifacts_ARTIFACT_TYPES_UNSPECIFIED BuilderConfig_Artifacts_ArtifactTypes = 0 // Indicates wanting a zip file of everything in the image directory. BuilderConfig_Artifacts_IMAGE_ZIP BuilderConfig_Artifacts_ArtifactTypes = 1 // Indicates wanting update payloads. BuilderConfig_Artifacts_TEST_UPDATE_PAYLOAD BuilderConfig_Artifacts_ArtifactTypes = 2 // Indicates wanting the autotest tarballs. BuilderConfig_Artifacts_AUTOTEST_FILES BuilderConfig_Artifacts_ArtifactTypes = 3 // Indicates wanting a tarball containing private TAST test bundles. BuilderConfig_Artifacts_TAST_FILES BuilderConfig_Artifacts_ArtifactTypes = 4 // Indicates wanting a tarball containing guest images and test bundles. BuilderConfig_Artifacts_PINNED_GUEST_IMAGES BuilderConfig_Artifacts_ArtifactTypes = 5 // Indicates wanting an archive of firmware images built from source. BuilderConfig_Artifacts_FIRMWARE BuilderConfig_Artifacts_ArtifactTypes = 6 // Indicates wanting a tarball of the Ebuilds logs. BuilderConfig_Artifacts_EBUILD_LOGS BuilderConfig_Artifacts_ArtifactTypes = 7 // Indicates wanting an archive of the ChromeOS Config. BuilderConfig_Artifacts_CHROMEOS_CONFIG BuilderConfig_Artifacts_ArtifactTypes = 8 // Indicates wanting the CPE report. BuilderConfig_Artifacts_CPE_REPORT BuilderConfig_Artifacts_ArtifactTypes = 9 // Indicates wanting a tar.xz archive for each image that has been // created. BuilderConfig_Artifacts_IMAGE_ARCHIVES BuilderConfig_Artifacts_ArtifactTypes = 10 // Artifacts used by the toolchain. // // Indicates an unvetted orderfile for Chrome. BuilderConfig_Artifacts_UNVERIFIED_CHROME_LLVM_ORDERFILE BuilderConfig_Artifacts_ArtifactTypes = 11 // Indicates a vetted orderfile for Chrome. BuilderConfig_Artifacts_VERIFIED_CHROME_LLVM_ORDERFILE BuilderConfig_Artifacts_ArtifactTypes = 12 // Indicates a clang-tidy artifact. BuilderConfig_Artifacts_CHROME_CLANG_WARNINGS_FILE BuilderConfig_Artifacts_ArtifactTypes = 13 // Indicates a PGO artifact for the compiler. BuilderConfig_Artifacts_UNVERIFIED_LLVM_PGO_FILE BuilderConfig_Artifacts_ArtifactTypes = 14 // Indicates an unvetted AFDO Chrome profile. (Generated by HW Tests in // the benchmark-afdo-generate builder.) BuilderConfig_Artifacts_UNVERIFIED_CHROME_BENCHMARK_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 15 // Indicates a vetted AFDO Chrome profile. BuilderConfig_Artifacts_VERIFIED_CHROME_BENCHMARK_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 16 // Indicates a vetted AFDO Kernel profile. BuilderConfig_Artifacts_VERIFIED_KERNEL_CWP_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 17 // Indicates an unvetted AFDO Kernel CWP profile. BuilderConfig_Artifacts_UNVERIFIED_KERNEL_CWP_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 18 // Indicates an unvetted AFDO Chrome CWP profile. BuilderConfig_Artifacts_UNVERIFIED_CHROME_CWP_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 19 // Indicates a vetted AFDO Chrome CWP profile. BuilderConfig_Artifacts_VERIFIED_CHROME_CWP_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 20 // Indicates a vetted AFDO profile for release. BuilderConfig_Artifacts_VERIFIED_RELEASE_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 21 // Indicates an unvetted AFDO perf data file (from HW Test). BuilderConfig_Artifacts_UNVERIFIED_CHROME_BENCHMARK_PERF_FILE BuilderConfig_Artifacts_ArtifactTypes = 22 // Indicates an unstripped Chrome binary. BuilderConfig_Artifacts_CHROME_DEBUG_BINARY BuilderConfig_Artifacts_ArtifactTypes = 23 // Indicates toolchain logs for the compiler warnings for werror monitor BuilderConfig_Artifacts_TOOLCHAIN_WARNING_LOGS BuilderConfig_Artifacts_ArtifactTypes = 24 // Indicates a prod Chrome AFDO profile for Android/Linux. BuilderConfig_Artifacts_CHROME_AFDO_PROFILE_FOR_ANDROID_LINUX BuilderConfig_Artifacts_ArtifactTypes = 25 // Indicates diagnoses for Clang crashes BuilderConfig_Artifacts_CLANG_CRASH_DIAGNOSES BuilderConfig_Artifacts_ArtifactTypes = 26 // Indicates wanting a tarball containing fingerprint MCU test binaries. BuilderConfig_Artifacts_FPMCU_UNITTESTS BuilderConfig_Artifacts_ArtifactTypes = 27 // Indicates wanting a test image tarball suitable for importing into GCE. BuilderConfig_Artifacts_GCE_TARBALL BuilderConfig_Artifacts_ArtifactTypes = 28 // Indicates Rusage logs from Compiler Invocations BuilderConfig_Artifacts_COMPILER_RUSAGE_LOG BuilderConfig_Artifacts_ArtifactTypes = 29 // FirmwareService: Firmware artifacts in a tarball. BuilderConfig_Artifacts_FIRMWARE_TARBALL BuilderConfig_Artifacts_ArtifactTypes = 30 // FirmwareService: Metadata about the firmware. BuilderConfig_Artifacts_FIRMWARE_TARBALL_INFO BuilderConfig_Artifacts_ArtifactTypes = 31 )
func (BuilderConfig_Artifacts_ArtifactTypes) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_Artifacts_ArtifactTypes) String() string
type BuilderConfig_Artifacts_InputArtifactInfo struct { // Artifact type to seek in these buckets. Use the first instance of the // artifact found in the list of locations. InputArtifactType BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,1,opt,name=input_artifact_type,json=inputArtifactType,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"input_artifact_type,omitempty"` // Google storage locations containing these artifacts. InputArtifactGsLocations []string `protobuf:"bytes,2,rep,name=input_artifact_gs_locations,json=inputArtifactGsLocations,proto3" json:"input_artifact_gs_locations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TODO(crbug/1034529): DEPRECATED: see artifacts_info.
func (*BuilderConfig_Artifacts_InputArtifactInfo) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Artifacts_InputArtifactInfo) GetInputArtifactGsLocations() []string
func (m *BuilderConfig_Artifacts_InputArtifactInfo) GetInputArtifactType() BuilderConfig_Artifacts_ArtifactTypes
func (*BuilderConfig_Artifacts_InputArtifactInfo) ProtoMessage()
func (m *BuilderConfig_Artifacts_InputArtifactInfo) Reset()
func (m *BuilderConfig_Artifacts_InputArtifactInfo) String() string
func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_DiscardUnknown()
func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_Size() int
func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_Unmarshal(b []byte) error
How to handle the uploading of prebuilts.
const ( BuilderConfig_Artifacts_PREBUILTS_UNSPECIFIED BuilderConfig_Artifacts_Prebuilts = 0 BuilderConfig_Artifacts_PUBLIC BuilderConfig_Artifacts_Prebuilts = 1 BuilderConfig_Artifacts_PRIVATE BuilderConfig_Artifacts_Prebuilts = 2 BuilderConfig_Artifacts_NONE BuilderConfig_Artifacts_Prebuilts = 3 )
func (BuilderConfig_Artifacts_Prebuilts) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_Artifacts_Prebuilts) String() string
type BuilderConfig_Artifacts_PublishInfo struct { // Artifact types to publish to this bucket. PublishTypes []BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,2,rep,packed,name=publish_types,json=publishTypes,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"publish_types,omitempty"` // GS location in which to publish artifacts ("gs://" is prepended). // Several fields can be logically specified: // %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens. // %(version)s: Chromeos version (e.g., R81-12813.0.0) // %(build_id)s: Buildbucket job ID. // %(target)s: build target name. // %(builder_name)s: The builder name (e.g. octopus-cq), lowercase with // underscores turned into hyphens. // %(gs_path)s: "%(builder_name)s/%(version)s-%(build_id)s". // %(artifact_name)s: The name of the artifact being published. PublishGsLocation string `protobuf:"bytes,3,opt,name=publish_gs_location,json=publishGsLocation,proto3" json:"publish_gs_location,omitempty"` // Any acl to apply, such as "public-read". AclName string `protobuf:"bytes,4,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TODO(crbug/1034529): DEPRECATED: see artifacts_info.
func (*BuilderConfig_Artifacts_PublishInfo) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Artifacts_PublishInfo) GetAclName() string
func (m *BuilderConfig_Artifacts_PublishInfo) GetPublishGsLocation() string
func (m *BuilderConfig_Artifacts_PublishInfo) GetPublishTypes() []BuilderConfig_Artifacts_ArtifactTypes
func (*BuilderConfig_Artifacts_PublishInfo) ProtoMessage()
func (m *BuilderConfig_Artifacts_PublishInfo) Reset()
func (m *BuilderConfig_Artifacts_PublishInfo) String() string
func (m *BuilderConfig_Artifacts_PublishInfo) XXX_DiscardUnknown()
func (m *BuilderConfig_Artifacts_PublishInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Artifacts_PublishInfo) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Artifacts_PublishInfo) XXX_Size() int
func (m *BuilderConfig_Artifacts_PublishInfo) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build struct { // USE flags to use with the build. UseFlags []*UseFlag `protobuf:"bytes,1,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"` PortageProfile *BuilderConfig_Build_PortageProfile `protobuf:"bytes,2,opt,name=portage_profile,json=portageProfile,proto3" json:"portage_profile,omitempty"` // Whether to apply gerrit changes, if any. Use case is to build without // changes after failure to identify the changes as the culprit. ApplyGerritChanges bool `protobuf:"varint,6,opt,name=apply_gerrit_changes,json=applyGerritChanges,proto3" json:"apply_gerrit_changes,omitempty"` PrepareForBuild *BuilderConfig_Build_PrepareForBuild `protobuf:"bytes,17,opt,name=prepare_for_build,json=prepareForBuild,proto3" json:"prepare_for_build,omitempty"` SdkUpdate *BuilderConfig_Build_SdkUpdate `protobuf:"bytes,12,opt,name=sdk_update,json=sdkUpdate,proto3" json:"sdk_update,omitempty"` InstallToolchain *BuilderConfig_Build_InstallToolchain `protobuf:"bytes,13,opt,name=install_toolchain,json=installToolchain,proto3" json:"install_toolchain,omitempty"` InstallPackages *BuilderConfig_Build_InstallPackages `protobuf:"bytes,16,opt,name=install_packages,json=installPackages,proto3" json:"install_packages,omitempty"` BuildImages *BuilderConfig_Build_BuildImages `protobuf:"bytes,15,opt,name=build_images,json=buildImages,proto3" json:"build_images,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Build specific configuration.
func (*BuilderConfig_Build) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build) GetApplyGerritChanges() bool
func (m *BuilderConfig_Build) GetBuildImages() *BuilderConfig_Build_BuildImages
func (m *BuilderConfig_Build) GetInstallPackages() *BuilderConfig_Build_InstallPackages
func (m *BuilderConfig_Build) GetInstallToolchain() *BuilderConfig_Build_InstallToolchain
func (m *BuilderConfig_Build) GetPortageProfile() *BuilderConfig_Build_PortageProfile
func (m *BuilderConfig_Build) GetPrepareForBuild() *BuilderConfig_Build_PrepareForBuild
func (m *BuilderConfig_Build) GetSdkUpdate() *BuilderConfig_Build_SdkUpdate
func (m *BuilderConfig_Build) GetUseFlags() []*UseFlag
func (*BuilderConfig_Build) ProtoMessage()
func (m *BuilderConfig_Build) Reset()
func (m *BuilderConfig_Build) String() string
func (m *BuilderConfig_Build) XXX_DiscardUnknown()
func (m *BuilderConfig_Build) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build) XXX_Size() int
func (m *BuilderConfig_Build) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build_BuildImages struct { // Image types to build. ImageTypes []ImageType `protobuf:"varint,1,rep,packed,name=image_types,json=imageTypes,proto3,enum=chromiumos.ImageType" json:"image_types,omitempty"` // Whether to disable rootfs verification. DisableRootfsVerification bool `protobuf:"varint,2,opt,name=disable_rootfs_verification,json=disableRootfsVerification,proto3" json:"disable_rootfs_verification,omitempty"` // Custom disk layout to use. Note that large images can damage the lab, // so don't use such images for hw testing. // e.g. 4gb-rootfs DiskLayout string `protobuf:"bytes,3,opt,name=disk_layout,json=diskLayout,proto3" json:"disk_layout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuilderConfig_Build_BuildImages) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build_BuildImages) GetDisableRootfsVerification() bool
func (m *BuilderConfig_Build_BuildImages) GetDiskLayout() string
func (m *BuilderConfig_Build_BuildImages) GetImageTypes() []ImageType
func (*BuilderConfig_Build_BuildImages) ProtoMessage()
func (m *BuilderConfig_Build_BuildImages) Reset()
func (m *BuilderConfig_Build_BuildImages) String() string
func (m *BuilderConfig_Build_BuildImages) XXX_DiscardUnknown()
func (m *BuilderConfig_Build_BuildImages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Build_BuildImages) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build_BuildImages) XXX_Size() int
func (m *BuilderConfig_Build_BuildImages) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build_InstallPackages struct { // Whether to compile from source (vs using prebuilts when able.) CompileSource bool `protobuf:"varint,1,opt,name=compile_source,json=compileSource,proto3" json:"compile_source,omitempty"` // Controls the running of the install packages step. RunSpec BuilderConfig_RunSpec `protobuf:"varint,2,opt,name=run_spec,json=runSpec,proto3,enum=chromiumos.BuilderConfig_RunSpec" json:"run_spec,omitempty"` // Packages to build, or empty to build all packages. Packages []*PackageInfo `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"` // Certain builders (e.g., clang-tidy-toolchain) need to build Chrome with // goma disabled. DisableGoma bool `protobuf:"varint,4,opt,name=disable_goma,json=disableGoma,proto3" json:"disable_goma,omitempty"` // Set of package dependencies to install. Dependencies BuilderConfig_Dependencies `protobuf:"varint,5,opt,name=dependencies,proto3,enum=chromiumos.BuilderConfig_Dependencies" json:"dependencies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Controls for the call to InstallPackages.
func (*BuilderConfig_Build_InstallPackages) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build_InstallPackages) GetCompileSource() bool
func (m *BuilderConfig_Build_InstallPackages) GetDependencies() BuilderConfig_Dependencies
func (m *BuilderConfig_Build_InstallPackages) GetDisableGoma() bool
func (m *BuilderConfig_Build_InstallPackages) GetPackages() []*PackageInfo
func (m *BuilderConfig_Build_InstallPackages) GetRunSpec() BuilderConfig_RunSpec
func (*BuilderConfig_Build_InstallPackages) ProtoMessage()
func (m *BuilderConfig_Build_InstallPackages) Reset()
func (m *BuilderConfig_Build_InstallPackages) String() string
func (m *BuilderConfig_Build_InstallPackages) XXX_DiscardUnknown()
func (m *BuilderConfig_Build_InstallPackages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Build_InstallPackages) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build_InstallPackages) XXX_Size() int
func (m *BuilderConfig_Build_InstallPackages) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build_InstallToolchain struct { // Whether to compile from source (vs using prebuilts when able.) CompileSource bool `protobuf:"varint,1,opt,name=compile_source,json=compileSource,proto3" json:"compile_source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Controls for the call to SysrootService.InstallToolchain.
func (*BuilderConfig_Build_InstallToolchain) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build_InstallToolchain) GetCompileSource() bool
func (*BuilderConfig_Build_InstallToolchain) ProtoMessage()
func (m *BuilderConfig_Build_InstallToolchain) Reset()
func (m *BuilderConfig_Build_InstallToolchain) String() string
func (m *BuilderConfig_Build_InstallToolchain) XXX_DiscardUnknown()
func (m *BuilderConfig_Build_InstallToolchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Build_InstallToolchain) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build_InstallToolchain) XXX_Size() int
func (m *BuilderConfig_Build_InstallToolchain) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build_PortageProfile struct { Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The profile of the variant to set up and build.
func (*BuilderConfig_Build_PortageProfile) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build_PortageProfile) GetProfile() string
func (*BuilderConfig_Build_PortageProfile) ProtoMessage()
func (m *BuilderConfig_Build_PortageProfile) Reset()
func (m *BuilderConfig_Build_PortageProfile) String() string
func (m *BuilderConfig_Build_PortageProfile) XXX_DiscardUnknown()
func (m *BuilderConfig_Build_PortageProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Build_PortageProfile) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build_PortageProfile) XXX_Size() int
func (m *BuilderConfig_Build_PortageProfile) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build_PrepareForBuild struct { // Additional arguments from common.proto, passed into any // PrepareFor*Build endpoint. AdditionalArgs *PrepareForBuildAdditionalArgs `protobuf:"bytes,1,opt,name=additional_args,json=additionalArgs,proto3" json:"additional_args,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Controls for the call to cros_artifacts.prepare_for_build. TODO(crbug/1019868): Drop this after all users have switched to artifacts.artifactProfileInfo.
func (*BuilderConfig_Build_PrepareForBuild) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build_PrepareForBuild) GetAdditionalArgs() *PrepareForBuildAdditionalArgs
func (*BuilderConfig_Build_PrepareForBuild) ProtoMessage()
func (m *BuilderConfig_Build_PrepareForBuild) Reset()
func (m *BuilderConfig_Build_PrepareForBuild) String() string
func (m *BuilderConfig_Build_PrepareForBuild) XXX_DiscardUnknown()
func (m *BuilderConfig_Build_PrepareForBuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Build_PrepareForBuild) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build_PrepareForBuild) XXX_Size() int
func (m *BuilderConfig_Build_PrepareForBuild) XXX_Unmarshal(b []byte) error
type BuilderConfig_Build_SdkUpdate struct { // Whether to compile from source (vs using prebuilts when able.) CompileSource bool `protobuf:"varint,1,opt,name=compile_source,json=compileSource,proto3" json:"compile_source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Controls for the call to SdkService.Update.
func (*BuilderConfig_Build_SdkUpdate) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Build_SdkUpdate) GetCompileSource() bool
func (*BuilderConfig_Build_SdkUpdate) ProtoMessage()
func (m *BuilderConfig_Build_SdkUpdate) Reset()
func (m *BuilderConfig_Build_SdkUpdate) String() string
func (m *BuilderConfig_Build_SdkUpdate) XXX_DiscardUnknown()
func (m *BuilderConfig_Build_SdkUpdate) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Build_SdkUpdate) XXX_Size() int
func (m *BuilderConfig_Build_SdkUpdate) XXX_Unmarshal(b []byte) error
type BuilderConfig_Chrome struct { // Whether to build internal or external Chrome. Internal chrome adds // Chrome branding. Internal bool `protobuf:"varint,1,opt,name=internal,proto3" json:"internal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration pertaining to Chrome.
func (*BuilderConfig_Chrome) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Chrome) GetInternal() bool
func (*BuilderConfig_Chrome) ProtoMessage()
func (m *BuilderConfig_Chrome) Reset()
func (m *BuilderConfig_Chrome) String() string
func (m *BuilderConfig_Chrome) XXX_DiscardUnknown()
func (m *BuilderConfig_Chrome) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Chrome) XXX_Size() int
func (m *BuilderConfig_Chrome) XXX_Unmarshal(b []byte) error
A rule describing which subset of dependencies should be used. When used in combination with a list of packages, the intersection of the two sets will be used.
const ( BuilderConfig_DEPENDENCIES_UNSPECIFIED BuilderConfig_Dependencies = 0 // Use all dependencies. BuilderConfig_ALL_DEPENDENCIES BuilderConfig_Dependencies = 1 // Only use dependencies affected by the changes applied to the build. BuilderConfig_CL_AFFECTED_DEPENDENCIES BuilderConfig_Dependencies = 2 )
func (BuilderConfig_Dependencies) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_Dependencies) String() string
type BuilderConfig_General struct { // Whether or not the build is considered critical. A failure in a critical // build for a CQ builder may, for example, prevent submission of the CL. Critical *wrappers.BoolValue `protobuf:"bytes,1,opt,name=critical,proto3" json:"critical,omitempty"` Environment BuilderConfig_General_Environment `protobuf:"varint,2,opt,name=environment,proto3,enum=chromiumos.BuilderConfig_General_Environment" json:"environment,omitempty"` // A rule describing conditions under which this builder should be launched. RunWhen *BuilderConfig_General_RunWhen `protobuf:"bytes,3,opt,name=run_when,json=runWhen,proto3" json:"run_when,omitempty"` // Time before which ToT had a bug that would not manifest at the // build stage. The CQ orchestrator should NOT reuse successful builds // of the build_config before this. BrokenBefore *timestamp.Timestamp `protobuf:"bytes,4,opt,name=broken_before,json=brokenBefore,proto3" json:"broken_before,omitempty"` // If present, this version number will be written to a version file // alongside a bot's SDK Cache (chroot). On subsequent bot-run where an SDK // Cache already exists, the version number in config will be compared to // the number present in the version file, and the SDK Cache will be // invalidated if there is a mismatch. SdkCacheVersion int32 `protobuf:"varint,5,opt,name=sdk_cache_version,json=sdkCacheVersion,proto3" json:"sdk_cache_version,omitempty"` // Indicates whether the target is a unibuild. Unibuild bool `protobuf:"varint,6,opt,name=unibuild,proto3" json:"unibuild,omitempty"` Manifest BuilderConfig_General_Manifest `protobuf:"varint,7,opt,name=manifest,proto3,enum=chromiumos.BuilderConfig_General_Manifest" json:"manifest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
General configuration for the builder.
func (*BuilderConfig_General) Descriptor() ([]byte, []int)
func (m *BuilderConfig_General) GetBrokenBefore() *timestamp.Timestamp
func (m *BuilderConfig_General) GetCritical() *wrappers.BoolValue
func (m *BuilderConfig_General) GetEnvironment() BuilderConfig_General_Environment
func (m *BuilderConfig_General) GetManifest() BuilderConfig_General_Manifest
func (m *BuilderConfig_General) GetRunWhen() *BuilderConfig_General_RunWhen
func (m *BuilderConfig_General) GetSdkCacheVersion() int32
func (m *BuilderConfig_General) GetUnibuild() bool
func (*BuilderConfig_General) ProtoMessage()
func (m *BuilderConfig_General) Reset()
func (m *BuilderConfig_General) String() string
func (m *BuilderConfig_General) XXX_DiscardUnknown()
func (m *BuilderConfig_General) XXX_Merge(src proto.Message)
func (m *BuilderConfig_General) XXX_Size() int
func (m *BuilderConfig_General) XXX_Unmarshal(b []byte) error
const ( BuilderConfig_General_ENVIRONMENT_UNSPECIFIED BuilderConfig_General_Environment = 0 BuilderConfig_General_PRODUCTION BuilderConfig_General_Environment = 1 BuilderConfig_General_STAGING BuilderConfig_General_Environment = 2 )
func (BuilderConfig_General_Environment) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_General_Environment) String() string
Indicates which manifest a builder should sync to.
const ( BuilderConfig_General_MANIFEST_UNSPECIFIED BuilderConfig_General_Manifest = 0 BuilderConfig_General_PUBLIC BuilderConfig_General_Manifest = 1 BuilderConfig_General_PRIVATE BuilderConfig_General_Manifest = 2 )
func (BuilderConfig_General_Manifest) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_General_Manifest) String() string
type BuilderConfig_General_RunWhen struct { Mode BuilderConfig_General_RunWhen_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=chromiumos.BuilderConfig_General_RunWhen_Mode" json:"mode,omitempty"` // chromiumos code file patterns, relative to chromiumos root, which may // use * or ** for globbing. // e.g. // chromite/myfile.txt // chromite/config/* // **/*.md FilePatterns []string `protobuf:"bytes,2,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Rule describing conditions under which a builder should be launched.
func (*BuilderConfig_General_RunWhen) Descriptor() ([]byte, []int)
func (m *BuilderConfig_General_RunWhen) GetFilePatterns() []string
func (m *BuilderConfig_General_RunWhen) GetMode() BuilderConfig_General_RunWhen_Mode
func (*BuilderConfig_General_RunWhen) ProtoMessage()
func (m *BuilderConfig_General_RunWhen) Reset()
func (m *BuilderConfig_General_RunWhen) String() string
func (m *BuilderConfig_General_RunWhen) XXX_DiscardUnknown()
func (m *BuilderConfig_General_RunWhen) XXX_Merge(src proto.Message)
func (m *BuilderConfig_General_RunWhen) XXX_Size() int
func (m *BuilderConfig_General_RunWhen) XXX_Unmarshal(b []byte) error
const ( BuilderConfig_General_RunWhen_MODE_UNSPECIFIED BuilderConfig_General_RunWhen_Mode = 0 // Always run this builder. The file_patterns field will be ignored // when this mode is selected. BuilderConfig_General_RunWhen_ALWAYS_RUN BuilderConfig_General_RunWhen_Mode = 1 // Only run this builder if any file in the input gerrit_changes // matches any file_pattern specified below. If file_patterns is empty, // this option implies the builder will never run. BuilderConfig_General_RunWhen_ONLY_RUN_ON_FILE_MATCH BuilderConfig_General_RunWhen_Mode = 2 // Do not run the builder if all files in the input gerrit_changes // match any file_attern speicifed below. If file_patterns is empty, // this option implies the builder will always run. BuilderConfig_General_RunWhen_NO_RUN_ON_FILE_MATCH BuilderConfig_General_RunWhen_Mode = 3 )
func (BuilderConfig_General_RunWhen_Mode) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_General_RunWhen_Mode) String() string
type BuilderConfig_Id struct { // The name of the configuration such as "arm-generic-postsubmit". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Branch the configuration applies to such as "release-R73-11647.B". Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` Type BuilderConfig_Id_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.BuilderConfig_Id_Type" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Unique identifier of the builder configuration.
func (*BuilderConfig_Id) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Id) GetBranch() string
func (m *BuilderConfig_Id) GetName() string
func (m *BuilderConfig_Id) GetType() BuilderConfig_Id_Type
func (*BuilderConfig_Id) ProtoMessage()
func (m *BuilderConfig_Id) Reset()
func (m *BuilderConfig_Id) String() string
func (m *BuilderConfig_Id) XXX_DiscardUnknown()
func (m *BuilderConfig_Id) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Id) XXX_Size() int
func (m *BuilderConfig_Id) XXX_Unmarshal(b []byte) error
Type of build.
const ( BuilderConfig_Id_TYPE_UNSPECIFIED BuilderConfig_Id_Type = 0 // Commit queue build. BuilderConfig_Id_CQ BuilderConfig_Id_Type = 1 // Postsubmit build. BuilderConfig_Id_POSTSUBMIT BuilderConfig_Id_Type = 2 // Toolchain build. BuilderConfig_Id_TOOLCHAIN BuilderConfig_Id_Type = 3 // Informational build. BuilderConfig_Id_INFORMATIONAL BuilderConfig_Id_Type = 4 // Release build. BuilderConfig_Id_RELEASE BuilderConfig_Id_Type = 5 )
func (BuilderConfig_Id_Type) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_Id_Type) String() string
type BuilderConfig_Orchestrator struct { ChildSpecs []*BuilderConfig_Orchestrator_ChildSpec `protobuf:"bytes,5,rep,name=child_specs,json=childSpecs,proto3" json:"child_specs,omitempty"` // GitilesCommit to use if not provided. GitilesCommit *GitilesCommit `protobuf:"bytes,2,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"` // GerritChanges to apply. To ignore these changes, use // $chromeos/cros_infra_config.ignore_config_changelist=True. GerritChanges []*GerritChange `protobuf:"bytes,3,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"` FollowOnOrchestrator *BuilderConfig_Orchestrator_FollowOnOrchestrator `protobuf:"bytes,4,opt,name=follow_on_orchestrator,json=followOnOrchestrator,proto3" json:"follow_on_orchestrator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration pertaining to builders operating as "orchestrators". Orchestrators orchestrate the running of other child builders.
func (*BuilderConfig_Orchestrator) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Orchestrator) GetChildSpecs() []*BuilderConfig_Orchestrator_ChildSpec
func (m *BuilderConfig_Orchestrator) GetFollowOnOrchestrator() *BuilderConfig_Orchestrator_FollowOnOrchestrator
func (m *BuilderConfig_Orchestrator) GetGerritChanges() []*GerritChange
func (m *BuilderConfig_Orchestrator) GetGitilesCommit() *GitilesCommit
func (*BuilderConfig_Orchestrator) ProtoMessage()
func (m *BuilderConfig_Orchestrator) Reset()
func (m *BuilderConfig_Orchestrator) String() string
func (m *BuilderConfig_Orchestrator) XXX_DiscardUnknown()
func (m *BuilderConfig_Orchestrator) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Orchestrator) XXX_Size() int
func (m *BuilderConfig_Orchestrator) XXX_Unmarshal(b []byte) error
type BuilderConfig_Orchestrator_ChildSpec struct { // BuilderConfig.Id.name of the child build. Would be expected to match // this name and the BuilderConfig.Id.branch and BuilderConfig.Id.type of // this parent orchestrator builder. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CollectHandling BuilderConfig_Orchestrator_ChildSpec_CollectHandling `protobuf:"varint,2,opt,name=collect_handling,json=collectHandling,proto3,enum=chromiumos.BuilderConfig_Orchestrator_ChildSpec_CollectHandling" json:"collect_handling,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Defines a child the orchestrator spawns and how it is handled.
func (*BuilderConfig_Orchestrator_ChildSpec) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Orchestrator_ChildSpec) GetCollectHandling() BuilderConfig_Orchestrator_ChildSpec_CollectHandling
func (m *BuilderConfig_Orchestrator_ChildSpec) GetName() string
func (*BuilderConfig_Orchestrator_ChildSpec) ProtoMessage()
func (m *BuilderConfig_Orchestrator_ChildSpec) Reset()
func (m *BuilderConfig_Orchestrator_ChildSpec) String() string
func (m *BuilderConfig_Orchestrator_ChildSpec) XXX_DiscardUnknown()
func (m *BuilderConfig_Orchestrator_ChildSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Orchestrator_ChildSpec) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Orchestrator_ChildSpec) XXX_Size() int
func (m *BuilderConfig_Orchestrator_ChildSpec) XXX_Unmarshal(b []byte) error
const ( BuilderConfig_Orchestrator_ChildSpec_COLLECT_HANDLING_UNSPECIFIED BuilderConfig_Orchestrator_ChildSpec_CollectHandling = 0 // Indicates the result should be collected PRIOR to updating the // 'build' manifest ref, and planning / running HW tests. // This also indicates that should the orchestrator terminate before // this child finishes the child will be terminated. BuilderConfig_Orchestrator_ChildSpec_COLLECT BuilderConfig_Orchestrator_ChildSpec_CollectHandling = 1 // Indicates the result should not be collected. Currently also // indicates that should the orchestrator terminate before this child // finishes this child is allowed to continue. BuilderConfig_Orchestrator_ChildSpec_NO_COLLECT BuilderConfig_Orchestrator_ChildSpec_CollectHandling = 2 // Indicates the result should be collected AFTER HW tests are complete. // The result is not relevant to the 'build' manifest ref being // published. // Otherwise no different than COLLECT above. BuilderConfig_Orchestrator_ChildSpec_COLLECT_AFTER_HW_TEST BuilderConfig_Orchestrator_ChildSpec_CollectHandling = 3 )
func (BuilderConfig_Orchestrator_ChildSpec_CollectHandling) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_Orchestrator_ChildSpec_CollectHandling) String() string
type BuilderConfig_Orchestrator_FollowOnOrchestrator struct { // BuilderConfig.Id.name of the follow on orchestrator. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Whether to wait for the follow on orchestrator to finish. AwaitCompletion bool `protobuf:"varint,2,opt,name=await_completion,json=awaitCompletion,proto3" json:"await_completion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Follow on orchestrator to launch, and possibly wait for.
func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) Descriptor() ([]byte, []int)
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) GetAwaitCompletion() bool
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) GetName() string
func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) ProtoMessage()
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) Reset()
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) String() string
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_DiscardUnknown()
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Merge(src proto.Message)
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Size() int
func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Unmarshal(b []byte) error
Used to control running of special steps.
const ( BuilderConfig_RUN_SPEC_UNSPECIFIED BuilderConfig_RunSpec = 0 // Do not run. BuilderConfig_NO_RUN BuilderConfig_RunSpec = 1 // Run. BuilderConfig_RUN BuilderConfig_RunSpec = 2 // Run and then exit. BuilderConfig_RUN_EXIT BuilderConfig_RunSpec = 3 )
func (BuilderConfig_RunSpec) EnumDescriptor() ([]byte, []int)
func (x BuilderConfig_RunSpec) String() string
type BuilderConfig_UnitTests struct { // Skipped packages. PackageBlacklist []*PackageInfo `protobuf:"bytes,4,rep,name=package_blacklist,json=packageBlacklist,proto3" json:"package_blacklist,omitempty"` // Controls the running of ebuild tests with possible early exit. EbuildsRunSpec BuilderConfig_RunSpec `protobuf:"varint,5,opt,name=ebuilds_run_spec,json=ebuildsRunSpec,proto3,enum=chromiumos.BuilderConfig_RunSpec" json:"ebuilds_run_spec,omitempty"` // Whether to assume the sysroot is empty. EmptySysroot bool `protobuf:"varint,6,opt,name=empty_sysroot,json=emptySysroot,proto3" json:"empty_sysroot,omitempty"` // Packages to be tested. // Defaults to all testable packages when none are given. Packages []*PackageInfo `protobuf:"bytes,7,rep,name=packages,proto3" json:"packages,omitempty"` // Set of package dependencies to test. Dependencies BuilderConfig_Dependencies `protobuf:"varint,8,opt,name=dependencies,proto3,enum=chromiumos.BuilderConfig_Dependencies" json:"dependencies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuilderConfig_UnitTests) Descriptor() ([]byte, []int)
func (m *BuilderConfig_UnitTests) GetDependencies() BuilderConfig_Dependencies
func (m *BuilderConfig_UnitTests) GetEbuildsRunSpec() BuilderConfig_RunSpec
func (m *BuilderConfig_UnitTests) GetEmptySysroot() bool
func (m *BuilderConfig_UnitTests) GetPackageBlacklist() []*PackageInfo
func (m *BuilderConfig_UnitTests) GetPackages() []*PackageInfo
func (*BuilderConfig_UnitTests) ProtoMessage()
func (m *BuilderConfig_UnitTests) Reset()
func (m *BuilderConfig_UnitTests) String() string
func (m *BuilderConfig_UnitTests) XXX_DiscardUnknown()
func (m *BuilderConfig_UnitTests) XXX_Merge(src proto.Message)
func (m *BuilderConfig_UnitTests) XXX_Size() int
func (m *BuilderConfig_UnitTests) XXX_Unmarshal(b []byte) error
type BuilderConfigs struct { BuilderConfigs []*BuilderConfig `protobuf:"bytes,1,rep,name=builder_configs,json=builderConfigs,proto3" json:"builder_configs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List of builder configs. Intended to be serialized to / from disk.
func (*BuilderConfigs) Descriptor() ([]byte, []int)
func (m *BuilderConfigs) GetBuilderConfigs() []*BuilderConfig
func (*BuilderConfigs) ProtoMessage()
func (m *BuilderConfigs) Reset()
func (m *BuilderConfigs) String() string
func (m *BuilderConfigs) XXX_DiscardUnknown()
func (m *BuilderConfigs) XXX_Merge(src proto.Message)
func (m *BuilderConfigs) XXX_Size() int
func (m *BuilderConfigs) XXX_Unmarshal(b []byte) error
Enum for various type of builders
const ( BuilderType_UNKNOWN_BUILDER_TYPE BuilderType = 0 BuilderType_RELEASE BuilderType = 1 )
func (BuilderType) EnumDescriptor() ([]byte, []int)
func (x BuilderType) String() string
The various channels that we release through.
const ( Channel_CHANNEL_UNSPECIFIED Channel = 0 Channel_CHANNEL_STABLE Channel = 1 Channel_CHANNEL_BETA Channel = 2 Channel_CHANNEL_DEV Channel = 3 Channel_CHANNEL_CANARY Channel = 4 )
type Chroot struct { // The directory containing the chroot. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The cache directory override. CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"` // Environment configuration. Env *Chroot_ChrootEnv `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"` // The directory where the chrome source should be mounted. ChromeDir string `protobuf:"bytes,4,opt,name=chrome_dir,json=chromeDir,proto3" json:"chrome_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Chroot is used to define how to enter a chroot.
func (m *Chroot) GetEnv() *Chroot_ChrootEnv
type Chroot_ChrootEnv struct { // USE flags to set. UseFlags []*UseFlag `protobuf:"bytes,1,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"` // FEATURES flags to set. Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Chroot_ChrootEnv) Descriptor() ([]byte, []int)
func (m *Chroot_ChrootEnv) GetFeatures() []*Feature
func (m *Chroot_ChrootEnv) GetUseFlags() []*UseFlag
func (*Chroot_ChrootEnv) ProtoMessage()
func (m *Chroot_ChrootEnv) Reset()
func (m *Chroot_ChrootEnv) String() string
func (m *Chroot_ChrootEnv) XXX_DiscardUnknown()
func (m *Chroot_ChrootEnv) XXX_Merge(src proto.Message)
func (m *Chroot_ChrootEnv) XXX_Size() int
func (m *Chroot_ChrootEnv) XXX_Unmarshal(b []byte) error
type Config struct { Builder BuilderType `protobuf:"varint,1,opt,name=builder,proto3,enum=chromiumos.BuilderType" json:"builder,omitempty"` Experimental bool `protobuf:"varint,2,opt,name=experimental,proto3" json:"experimental,omitempty"` LeaderBoard bool `protobuf:"varint,3,opt,name=leader_board,json=leaderBoard,proto3" json:"leader_board,omitempty"` BoardGroup string `protobuf:"bytes,4,opt,name=board_group,json=boardGroup,proto3" json:"board_group,omitempty"` Arch Architecture `protobuf:"varint,5,opt,name=arch,proto3,enum=chromiumos.Architecture" json:"arch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message to represent a build config for a given builder
func (m *Config) GetArch() Architecture
func (m *Config) GetBuilder() BuilderType