Documentation ¶
Index ¶
- Variables
- func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
- func RegisterMetadataServiceServer(s grpc.ServiceRegistrar, srv MetadataServiceServer)
- type BuildTarget
- type BuildTestContainersRequest
- func (*BuildTestContainersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildTestContainersRequest) GetRequest() *TestContainersBuildRequest
- func (*BuildTestContainersRequest) ProtoMessage()
- func (x *BuildTestContainersRequest) ProtoReflect() protoreflect.Message
- func (x *BuildTestContainersRequest) Reset()
- func (x *BuildTestContainersRequest) String() string
- type BuildTestContainersResponse
- func (*BuildTestContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildTestContainersResponse) GetResults() []*TestContainersBuildResult
- func (*BuildTestContainersResponse) ProtoMessage()
- func (x *BuildTestContainersResponse) ProtoReflect() protoreflect.Message
- func (x *BuildTestContainersResponse) Reset()
- func (x *BuildTestContainersResponse) String() string
- type Chroot
- type ContainerImageInfo
- func (*ContainerImageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerImageInfo) GetDigest() string
- func (x *ContainerImageInfo) GetName() string
- func (x *ContainerImageInfo) GetRepository() *GcrRepository
- func (x *ContainerImageInfo) GetTags() []string
- func (*ContainerImageInfo) ProtoMessage()
- func (x *ContainerImageInfo) ProtoReflect() protoreflect.Message
- func (x *ContainerImageInfo) Reset()
- func (x *ContainerImageInfo) String() string
- type ContainerImageMap
- func (*ContainerImageMap) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerImageMap) GetImages() map[string]*ContainerImageInfo
- func (*ContainerImageMap) ProtoMessage()
- func (x *ContainerImageMap) ProtoReflect() protoreflect.Message
- func (x *ContainerImageMap) Reset()
- func (x *ContainerImageMap) String() string
- type ContainerMetadata
- func (*ContainerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerMetadata) GetContainers() map[string]*ContainerImageMap
- func (*ContainerMetadata) ProtoMessage()
- func (x *ContainerMetadata) ProtoReflect() protoreflect.Message
- func (x *ContainerMetadata) Reset()
- func (x *ContainerMetadata) String() string
- type ContainerServiceClient
- type ContainerServiceServer
- type Dlc
- type Dlc_Id
- type Factory
- type Factory_BuildTarget
- func (*Factory_BuildTarget) Descriptor() ([]byte, []int)deprecated
- func (x *Factory_BuildTarget) GetPortageBuildTarget() *Portage_BuildTarget
- func (*Factory_BuildTarget) ProtoMessage()
- func (x *Factory_BuildTarget) ProtoReflect() protoreflect.Message
- func (x *Factory_BuildTarget) Reset()
- func (x *Factory_BuildTarget) String() string
- type Firmware
- type FirmwareBuildConfig
- func (*FirmwareBuildConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareBuildConfig) GetBuildTargets() *Firmware_BuildTargets
- func (*FirmwareBuildConfig) ProtoMessage()
- func (x *FirmwareBuildConfig) ProtoReflect() protoreflect.Message
- func (x *FirmwareBuildConfig) Reset()
- func (x *FirmwareBuildConfig) String() string
- type FirmwareConfig
- func (*FirmwareConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareConfig) GetEcRoPayload() *FirmwarePayload
- func (x *FirmwareConfig) GetEcRwPayload() *FirmwarePayload
- func (x *FirmwareConfig) GetMainRoPayload() *FirmwarePayload
- func (x *FirmwareConfig) GetMainRwAHash() *FirmwarePayloadHash
- func (x *FirmwareConfig) GetMainRwPayload() *FirmwarePayload
- func (x *FirmwareConfig) GetPdRoPayload() *FirmwarePayload
- func (*FirmwareConfig) ProtoMessage()
- func (x *FirmwareConfig) ProtoReflect() protoreflect.Message
- func (x *FirmwareConfig) Reset()
- func (x *FirmwareConfig) String() string
- type FirmwarePayload
- func (*FirmwarePayload) Descriptor() ([]byte, []int)deprecated
- func (m *FirmwarePayload) GetFirmwareImage() isFirmwarePayload_FirmwareImage
- func (x *FirmwarePayload) GetFirmwareImageName() stringdeprecated
- func (x *FirmwarePayload) GetFirmwareImagePath() *_go.StoragePath
- func (x *FirmwarePayload) GetType() FirmwareType_Type
- func (x *FirmwarePayload) GetVersion() *Version
- func (*FirmwarePayload) ProtoMessage()
- func (x *FirmwarePayload) ProtoReflect() protoreflect.Message
- func (x *FirmwarePayload) Reset()
- func (x *FirmwarePayload) String() string
- type FirmwarePayloadHash
- func (*FirmwarePayloadHash) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwarePayloadHash) GetAlgorithm() FirmwarePayloadHash_Algorithm
- func (x *FirmwarePayloadHash) GetDigest() string
- func (*FirmwarePayloadHash) ProtoMessage()
- func (x *FirmwarePayloadHash) ProtoReflect() protoreflect.Message
- func (x *FirmwarePayloadHash) Reset()
- func (x *FirmwarePayloadHash) String() string
- type FirmwarePayloadHash_Algorithm
- func (FirmwarePayloadHash_Algorithm) Descriptor() protoreflect.EnumDescriptor
- func (x FirmwarePayloadHash_Algorithm) Enum() *FirmwarePayloadHash_Algorithm
- func (FirmwarePayloadHash_Algorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x FirmwarePayloadHash_Algorithm) Number() protoreflect.EnumNumber
- func (x FirmwarePayloadHash_Algorithm) String() string
- func (FirmwarePayloadHash_Algorithm) Type() protoreflect.EnumType
- type FirmwarePayload_FirmwareImageName
- type FirmwarePayload_FirmwareImagePath
- type FirmwareType
- type FirmwareType_Type
- func (FirmwareType_Type) Descriptor() protoreflect.EnumDescriptor
- func (x FirmwareType_Type) Enum() *FirmwareType_Type
- func (FirmwareType_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x FirmwareType_Type) Number() protoreflect.EnumNumber
- func (x FirmwareType_Type) String() string
- func (FirmwareType_Type) Type() protoreflect.EnumType
- type Firmware_BuildTargets
- func (*Firmware_BuildTargets) Descriptor() ([]byte, []int)deprecated
- func (x *Firmware_BuildTargets) GetBmpblk() string
- func (x *Firmware_BuildTargets) GetCoreboot() string
- func (x *Firmware_BuildTargets) GetDepthcharge() string
- func (x *Firmware_BuildTargets) GetEc() string
- func (x *Firmware_BuildTargets) GetEcExtras() []string
- func (x *Firmware_BuildTargets) GetIsh() string
- func (x *Firmware_BuildTargets) GetLibpayload() string
- func (x *Firmware_BuildTargets) GetPortageBuildTarget() *Portage_BuildTarget
- func (x *Firmware_BuildTargets) GetZephyrDetachableBase() string
- func (x *Firmware_BuildTargets) GetZephyrEc() string
- func (*Firmware_BuildTargets) ProtoMessage()
- func (x *Firmware_BuildTargets) ProtoReflect() protoreflect.Message
- func (x *Firmware_BuildTargets) Reset()
- func (x *Firmware_BuildTargets) String() string
- type GcrRepository
- func (*GcrRepository) Descriptor() ([]byte, []int)deprecated
- func (x *GcrRepository) GetHostname() string
- func (x *GcrRepository) GetProject() string
- func (*GcrRepository) ProtoMessage()
- func (x *GcrRepository) ProtoReflect() protoreflect.Message
- func (x *GcrRepository) Reset()
- func (x *GcrRepository) String() string
- type GetDeviceConfigRequest
- func (*GetDeviceConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigRequest) GetId() *api.DeviceConfigId
- func (m *GetDeviceConfigRequest) GetIdType() isGetDeviceConfigRequest_IdType
- func (x *GetDeviceConfigRequest) GetScanConfig() *api.DeviceConfigId_ScanConfig
- func (*GetDeviceConfigRequest) ProtoMessage()
- func (x *GetDeviceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigRequest) Reset()
- func (x *GetDeviceConfigRequest) String() string
- type GetDeviceConfigRequest_Id
- type GetDeviceConfigRequest_ScanConfig
- type GetDeviceConfigResponse
- func (*GetDeviceConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigResponse) GetFailure() *GetDeviceConfigResponse_Failure
- func (m *GetDeviceConfigResponse) GetResult() isGetDeviceConfigResponse_Result
- func (x *GetDeviceConfigResponse) GetSuccess() *GetDeviceConfigResponse_Success
- func (*GetDeviceConfigResponse) ProtoMessage()
- func (x *GetDeviceConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigResponse) Reset()
- func (x *GetDeviceConfigResponse) String() string
- type GetDeviceConfigResponse_Failure
- func (*GetDeviceConfigResponse_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigResponse_Failure) GetErrorMessage() string
- func (*GetDeviceConfigResponse_Failure) ProtoMessage()
- func (x *GetDeviceConfigResponse_Failure) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigResponse_Failure) Reset()
- func (x *GetDeviceConfigResponse_Failure) String() string
- type GetDeviceConfigResponse_Failure_
- type GetDeviceConfigResponse_Success
- func (*GetDeviceConfigResponse_Success) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigResponse_Success) GetDeviceConfig() *api.DeviceConfig
- func (*GetDeviceConfigResponse_Success) ProtoMessage()
- func (x *GetDeviceConfigResponse_Success) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigResponse_Success) Reset()
- func (x *GetDeviceConfigResponse_Success) String() string
- type GetDeviceConfigResponse_Success_
- type MetadataServiceClient
- type MetadataServiceServer
- type Portage
- type Portage_BuildTarget
- func (*Portage_BuildTarget) Descriptor() ([]byte, []int)deprecated
- func (x *Portage_BuildTarget) GetFeatures() []string
- func (x *Portage_BuildTarget) GetOverlayName() string
- func (x *Portage_BuildTarget) GetProfileName() string
- func (x *Portage_BuildTarget) GetUseFlags() []string
- func (*Portage_BuildTarget) ProtoMessage()
- func (x *Portage_BuildTarget) ProtoReflect() protoreflect.Message
- func (x *Portage_BuildTarget) Reset()
- func (x *Portage_BuildTarget) String() string
- type Portage_Package
- func (*Portage_Package) Descriptor() ([]byte, []int)deprecated
- func (x *Portage_Package) GetCategory() string
- func (x *Portage_Package) GetPackageName() string
- func (x *Portage_Package) GetVersion() string
- func (*Portage_Package) ProtoMessage()
- func (x *Portage_Package) ProtoReflect() protoreflect.Message
- func (x *Portage_Package) Reset()
- func (x *Portage_Package) String() string
- type SoftwareAttribute
- func (*SoftwareAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareAttribute) GetFieldPath() string
- func (x *SoftwareAttribute) GetId() *SoftwareAttribute_Id
- func (*SoftwareAttribute) ProtoMessage()
- func (x *SoftwareAttribute) ProtoReflect() protoreflect.Message
- func (x *SoftwareAttribute) Reset()
- func (x *SoftwareAttribute) String() string
- type SoftwareAttributeList
- func (*SoftwareAttributeList) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareAttributeList) GetSwAttributes() []*SoftwareAttribute
- func (*SoftwareAttributeList) ProtoMessage()
- func (x *SoftwareAttributeList) ProtoReflect() protoreflect.Message
- func (x *SoftwareAttributeList) Reset()
- func (x *SoftwareAttributeList) String() string
- type SoftwareAttribute_Id
- func (*SoftwareAttribute_Id) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareAttribute_Id) GetValue() string
- func (*SoftwareAttribute_Id) ProtoMessage()
- func (x *SoftwareAttribute_Id) ProtoReflect() protoreflect.Message
- func (x *SoftwareAttribute_Id) Reset()
- func (x *SoftwareAttribute_Id) String() string
- type SoftwareBundle
- func (*SoftwareBundle) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareBundle) GetFirmware() *Firmware
- func (x *SoftwareBundle) GetSystemImage() *SystemImage
- func (*SoftwareBundle) ProtoMessage()
- func (x *SoftwareBundle) ProtoReflect() protoreflect.Message
- func (x *SoftwareBundle) Reset()
- func (x *SoftwareBundle) String() string
- type SoftwareCriterion
- func (*SoftwareCriterion) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareCriterion) GetAttributeId() *SoftwareAttribute_Id
- func (x *SoftwareCriterion) GetValues() []string
- func (*SoftwareCriterion) ProtoMessage()
- func (x *SoftwareCriterion) ProtoReflect() protoreflect.Message
- func (x *SoftwareCriterion) Reset()
- func (x *SoftwareCriterion) String() string
- type SubtoolPackage
- func (*SubtoolPackage) Descriptor() ([]byte, []int)deprecated
- func (x *SubtoolPackage) GetCipdPrefix() string
- func (x *SubtoolPackage) GetMaxFiles() int32
- func (x *SubtoolPackage) GetName() string
- func (x *SubtoolPackage) GetPaths() []*SubtoolPackage_PathMapping
- func (x *SubtoolPackage) GetType() SubtoolPackage_ExportType
- func (x *SubtoolPackage) GetUploadTrigger() SubtoolPackage_Change
- func (*SubtoolPackage) ProtoMessage()
- func (x *SubtoolPackage) ProtoReflect() protoreflect.Message
- func (x *SubtoolPackage) Reset()
- func (x *SubtoolPackage) String() string
- type SubtoolPackage_Change
- func (SubtoolPackage_Change) Descriptor() protoreflect.EnumDescriptor
- func (x SubtoolPackage_Change) Enum() *SubtoolPackage_Change
- func (SubtoolPackage_Change) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubtoolPackage_Change) Number() protoreflect.EnumNumber
- func (x SubtoolPackage_Change) String() string
- func (SubtoolPackage_Change) Type() protoreflect.EnumType
- type SubtoolPackage_ExportType
- func (SubtoolPackage_ExportType) Descriptor() protoreflect.EnumDescriptor
- func (x SubtoolPackage_ExportType) Enum() *SubtoolPackage_ExportType
- func (SubtoolPackage_ExportType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubtoolPackage_ExportType) Number() protoreflect.EnumNumber
- func (x SubtoolPackage_ExportType) String() string
- func (SubtoolPackage_ExportType) Type() protoreflect.EnumType
- type SubtoolPackage_PathMapping
- func (*SubtoolPackage_PathMapping) Descriptor() ([]byte, []int)deprecated
- func (x *SubtoolPackage_PathMapping) GetDest() string
- func (x *SubtoolPackage_PathMapping) GetEbuildFilter() string
- func (x *SubtoolPackage_PathMapping) GetInput() []string
- func (x *SubtoolPackage_PathMapping) GetOpaqueData() bool
- func (x *SubtoolPackage_PathMapping) GetStripPrefixRegex() string
- func (*SubtoolPackage_PathMapping) ProtoMessage()
- func (x *SubtoolPackage_PathMapping) ProtoReflect() protoreflect.Message
- func (x *SubtoolPackage_PathMapping) Reset()
- func (x *SubtoolPackage_PathMapping) String() string
- type SystemImage
- func (*SystemImage) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage) GetId() *SystemImage_ImageId
- func (x *SystemImage) GetMetadata() *SystemImage_BuildMetadata
- func (*SystemImage) ProtoMessage()
- func (x *SystemImage) ProtoReflect() protoreflect.Message
- func (x *SystemImage) Reset()
- func (x *SystemImage) String() string
- type SystemImage_BuildMetadata
- func (*SystemImage_BuildMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata) GetBuildTarget() *SystemImage_BuildTarget
- func (x *SystemImage_BuildMetadata) GetPackageSummary() *SystemImage_BuildMetadata_PackageSummary
- func (x *SystemImage_BuildMetadata) GetPackages() []*Portage_Package
- func (*SystemImage_BuildMetadata) ProtoMessage()
- func (x *SystemImage_BuildMetadata) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata) Reset()
- func (x *SystemImage_BuildMetadata) String() string
- type SystemImage_BuildMetadataList
- func (*SystemImage_BuildMetadataList) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadataList) GetValues() []*SystemImage_BuildMetadata
- func (*SystemImage_BuildMetadataList) ProtoMessage()
- func (x *SystemImage_BuildMetadataList) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadataList) Reset()
- func (x *SystemImage_BuildMetadataList) String() string
- type SystemImage_BuildMetadata_Arc
- func (*SystemImage_BuildMetadata_Arc) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata_Arc) GetBranch() string
- func (x *SystemImage_BuildMetadata_Arc) GetVersion() string
- func (*SystemImage_BuildMetadata_Arc) ProtoMessage()
- func (x *SystemImage_BuildMetadata_Arc) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata_Arc) Reset()
- func (x *SystemImage_BuildMetadata_Arc) String() string
- type SystemImage_BuildMetadata_AshChrome
- func (*SystemImage_BuildMetadata_AshChrome) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata_AshChrome) GetVersion() string
- func (*SystemImage_BuildMetadata_AshChrome) ProtoMessage()
- func (x *SystemImage_BuildMetadata_AshChrome) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata_AshChrome) Reset()
- func (x *SystemImage_BuildMetadata_AshChrome) String() string
- type SystemImage_BuildMetadata_Chipset
- func (*SystemImage_BuildMetadata_Chipset) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata_Chipset) GetOverlay() string
- func (*SystemImage_BuildMetadata_Chipset) ProtoMessage()
- func (x *SystemImage_BuildMetadata_Chipset) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata_Chipset) Reset()
- func (x *SystemImage_BuildMetadata_Chipset) String() string
- type SystemImage_BuildMetadata_Kernel
- func (*SystemImage_BuildMetadata_Kernel) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata_Kernel) GetVersion() string
- func (*SystemImage_BuildMetadata_Kernel) ProtoMessage()
- func (x *SystemImage_BuildMetadata_Kernel) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata_Kernel) Reset()
- func (x *SystemImage_BuildMetadata_Kernel) String() string
- type SystemImage_BuildMetadata_PackageSummary
- func (*SystemImage_BuildMetadata_PackageSummary) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata_PackageSummary) GetArc() *SystemImage_BuildMetadata_Arc
- func (x *SystemImage_BuildMetadata_PackageSummary) GetChipset() *SystemImage_BuildMetadata_Chipset
- func (x *SystemImage_BuildMetadata_PackageSummary) GetChrome() *SystemImage_BuildMetadata_AshChrome
- func (x *SystemImage_BuildMetadata_PackageSummary) GetKernel() *SystemImage_BuildMetadata_Kernel
- func (x *SystemImage_BuildMetadata_PackageSummary) GetToolchain() *SystemImage_BuildMetadata_Toolchain
- func (*SystemImage_BuildMetadata_PackageSummary) ProtoMessage()
- func (x *SystemImage_BuildMetadata_PackageSummary) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata_PackageSummary) Reset()
- func (x *SystemImage_BuildMetadata_PackageSummary) String() string
- type SystemImage_BuildMetadata_Toolchain
- func (*SystemImage_BuildMetadata_Toolchain) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildMetadata_Toolchain) GetVersion() string
- func (*SystemImage_BuildMetadata_Toolchain) ProtoMessage()
- func (x *SystemImage_BuildMetadata_Toolchain) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildMetadata_Toolchain) Reset()
- func (x *SystemImage_BuildMetadata_Toolchain) String() string
- type SystemImage_BuildTarget
- func (*SystemImage_BuildTarget) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_BuildTarget) GetPortageBuildTarget() *Portage_BuildTarget
- func (*SystemImage_BuildTarget) ProtoMessage()
- func (x *SystemImage_BuildTarget) ProtoReflect() protoreflect.Message
- func (x *SystemImage_BuildTarget) Reset()
- func (x *SystemImage_BuildTarget) String() string
- type SystemImage_ImageId
- func (*SystemImage_ImageId) Descriptor() ([]byte, []int)deprecated
- func (x *SystemImage_ImageId) GetValue() string
- func (*SystemImage_ImageId) ProtoMessage()
- func (x *SystemImage_ImageId) ProtoReflect() protoreflect.Message
- func (x *SystemImage_ImageId) Reset()
- func (x *SystemImage_ImageId) String() string
- type TestContainersBuildRequest
- func (*TestContainersBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestContainersBuildRequest) GetBuildTarget() *BuildTarget
- func (x *TestContainersBuildRequest) GetChroot() *Chroot
- func (x *TestContainersBuildRequest) GetVersion() string
- func (*TestContainersBuildRequest) ProtoMessage()
- func (x *TestContainersBuildRequest) ProtoReflect() protoreflect.Message
- func (x *TestContainersBuildRequest) Reset()
- func (x *TestContainersBuildRequest) String() string
- type TestContainersBuildResult
- func (*TestContainersBuildResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestContainersBuildResult) GetFailure() *TestContainersBuildResult_Failure
- func (x *TestContainersBuildResult) GetName() string
- func (m *TestContainersBuildResult) GetResult() isTestContainersBuildResult_Result
- func (x *TestContainersBuildResult) GetSuccess() *TestContainersBuildResult_Success
- func (*TestContainersBuildResult) ProtoMessage()
- func (x *TestContainersBuildResult) ProtoReflect() protoreflect.Message
- func (x *TestContainersBuildResult) Reset()
- func (x *TestContainersBuildResult) String() string
- type TestContainersBuildResult_Failure
- func (*TestContainersBuildResult_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *TestContainersBuildResult_Failure) GetErrorMessage() string
- func (*TestContainersBuildResult_Failure) ProtoMessage()
- func (x *TestContainersBuildResult_Failure) ProtoReflect() protoreflect.Message
- func (x *TestContainersBuildResult_Failure) Reset()
- func (x *TestContainersBuildResult_Failure) String() string
- type TestContainersBuildResult_Failure_
- type TestContainersBuildResult_Success
- func (*TestContainersBuildResult_Success) Descriptor() ([]byte, []int)deprecated
- func (x *TestContainersBuildResult_Success) GetRegistryPath() string
- func (*TestContainersBuildResult_Success) ProtoMessage()
- func (x *TestContainersBuildResult_Success) ProtoReflect() protoreflect.Message
- func (x *TestContainersBuildResult_Success) Reset()
- func (x *TestContainersBuildResult_Success) String() string
- type TestContainersBuildResult_Success_
- type UnimplementedContainerServiceServer
- type UnimplementedMetadataServiceServer
- type UnsafeContainerServiceServer
- type UnsafeMetadataServiceServer
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetMajor() int32
- func (x *Version) GetMinor() int32
- func (x *Version) GetPatch() int32
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
Constants ¶
This section is empty.
Variables ¶
var ( FirmwareType_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "MAIN", 2: "EC", 3: "PD", } FirmwareType_Type_value = map[string]int32{ "UNKNOWN": 0, "MAIN": 1, "EC": 2, "PD": 3, } )
Enum value maps for FirmwareType_Type.
var ( FirmwarePayloadHash_Algorithm_name = map[int32]string{ 0: "MD5SUM", } FirmwarePayloadHash_Algorithm_value = map[string]int32{ "MD5SUM": 0, } )
Enum value maps for FirmwarePayloadHash_Algorithm.
var ( SubtoolPackage_ExportType_name = map[int32]string{ 0: "EXPORT_UNSPECIFIED", 1: "EXPORT_CIPD", } SubtoolPackage_ExportType_value = map[string]int32{ "EXPORT_UNSPECIFIED": 0, "EXPORT_CIPD": 1, } )
Enum value maps for SubtoolPackage_ExportType.
var ( SubtoolPackage_Change_name = map[int32]string{ 0: "CHANGE_UNSPECIFIED", 1: "CHANGE_BUILD_ID_OR_REVISION", 2: "CHANGE_REVISION_ONLY", } SubtoolPackage_Change_value = map[string]int32{ "CHANGE_UNSPECIFIED": 0, "CHANGE_BUILD_ID_OR_REVISION": 1, "CHANGE_REVISION_ONLY": 2, } )
Enum value maps for SubtoolPackage_Change.
var ContainerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chromiumos.build.api.ContainerService", HandlerType: (*ContainerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BuildTestExecContainer", Handler: _ContainerService_BuildTestExecContainer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chromiumos/build/api/test.proto", }
ContainerService_ServiceDesc is the grpc.ServiceDesc for ContainerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_chromiumos_build_api_container_metadata_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_dlc_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_factory_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_firmware_config_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_metadata_service_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_portage_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_software_attribute_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_software_bundle_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_subtools_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_system_image_proto protoreflect.FileDescriptor
var File_chromiumos_build_api_test_proto protoreflect.FileDescriptor
var MetadataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chromiumos.build.api.MetadataService", HandlerType: (*MetadataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDeviceConfig", Handler: _MetadataService_GetDeviceConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chromiumos/build/api/metadata_service.proto", }
MetadataService_ServiceDesc is the grpc.ServiceDesc for MetadataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterContainerServiceServer ¶
func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
func RegisterMetadataServiceServer ¶
func RegisterMetadataServiceServer(s grpc.ServiceRegistrar, srv MetadataServiceServer)
Types ¶
type BuildTarget ¶
type BuildTarget struct { Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
build information needed to support container creation. Can be expanded.
func (*BuildTarget) Descriptor
deprecated
func (*BuildTarget) Descriptor() ([]byte, []int)
Deprecated: Use BuildTarget.ProtoReflect.Descriptor instead.
func (*BuildTarget) GetRoot ¶
func (x *BuildTarget) GetRoot() string
func (*BuildTarget) ProtoMessage ¶
func (*BuildTarget) ProtoMessage()
func (*BuildTarget) ProtoReflect ¶
func (x *BuildTarget) ProtoReflect() protoreflect.Message
func (*BuildTarget) Reset ¶
func (x *BuildTarget) Reset()
func (*BuildTarget) String ¶
func (x *BuildTarget) String() string
type BuildTestContainersRequest ¶
type BuildTestContainersRequest struct { Request *TestContainersBuildRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*BuildTestContainersRequest) Descriptor
deprecated
func (*BuildTestContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildTestContainersRequest.ProtoReflect.Descriptor instead.
func (*BuildTestContainersRequest) GetRequest ¶
func (x *BuildTestContainersRequest) GetRequest() *TestContainersBuildRequest
func (*BuildTestContainersRequest) ProtoMessage ¶
func (*BuildTestContainersRequest) ProtoMessage()
func (*BuildTestContainersRequest) ProtoReflect ¶
func (x *BuildTestContainersRequest) ProtoReflect() protoreflect.Message
func (*BuildTestContainersRequest) Reset ¶
func (x *BuildTestContainersRequest) Reset()
func (*BuildTestContainersRequest) String ¶
func (x *BuildTestContainersRequest) String() string
type BuildTestContainersResponse ¶
type BuildTestContainersResponse struct { // List of containers that were attempted to be built and the success/failure // results for each. Results []*TestContainersBuildResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*BuildTestContainersResponse) Descriptor
deprecated
func (*BuildTestContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildTestContainersResponse.ProtoReflect.Descriptor instead.
func (*BuildTestContainersResponse) GetResults ¶
func (x *BuildTestContainersResponse) GetResults() []*TestContainersBuildResult
func (*BuildTestContainersResponse) ProtoMessage ¶
func (*BuildTestContainersResponse) ProtoMessage()
func (*BuildTestContainersResponse) ProtoReflect ¶
func (x *BuildTestContainersResponse) ProtoReflect() protoreflect.Message
func (*BuildTestContainersResponse) Reset ¶
func (x *BuildTestContainersResponse) Reset()
func (*BuildTestContainersResponse) String ¶
func (x *BuildTestContainersResponse) String() string
type Chroot ¶
type Chroot struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Chroot information needed to support container creation. Can be expanded.
func (*Chroot) Descriptor
deprecated
func (*Chroot) ProtoMessage ¶
func (*Chroot) ProtoMessage()
func (*Chroot) ProtoReflect ¶
func (x *Chroot) ProtoReflect() protoreflect.Message
type ContainerImageInfo ¶
type ContainerImageInfo struct { Repository *GcrRepository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // repository images are stored in Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // name of the image (eg: cros-provision) Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` // docker provided hash of the image Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // list of tags attached to image // contains filtered or unexported fields }
func (*ContainerImageInfo) Descriptor
deprecated
func (*ContainerImageInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContainerImageInfo.ProtoReflect.Descriptor instead.
func (*ContainerImageInfo) GetDigest ¶
func (x *ContainerImageInfo) GetDigest() string
func (*ContainerImageInfo) GetName ¶
func (x *ContainerImageInfo) GetName() string
func (*ContainerImageInfo) GetRepository ¶
func (x *ContainerImageInfo) GetRepository() *GcrRepository
func (*ContainerImageInfo) GetTags ¶
func (x *ContainerImageInfo) GetTags() []string
func (*ContainerImageInfo) ProtoMessage ¶
func (*ContainerImageInfo) ProtoMessage()
func (*ContainerImageInfo) ProtoReflect ¶
func (x *ContainerImageInfo) ProtoReflect() protoreflect.Message
func (*ContainerImageInfo) Reset ¶
func (x *ContainerImageInfo) Reset()
func (*ContainerImageInfo) String ¶
func (x *ContainerImageInfo) String() string
type ContainerImageMap ¶
type ContainerImageMap struct { Images map[string]*ContainerImageInfo `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Map from container name (canonically lowercase) to its metadata
func (*ContainerImageMap) Descriptor
deprecated
func (*ContainerImageMap) Descriptor() ([]byte, []int)
Deprecated: Use ContainerImageMap.ProtoReflect.Descriptor instead.
func (*ContainerImageMap) GetImages ¶
func (x *ContainerImageMap) GetImages() map[string]*ContainerImageInfo
func (*ContainerImageMap) ProtoMessage ¶
func (*ContainerImageMap) ProtoMessage()
func (*ContainerImageMap) ProtoReflect ¶
func (x *ContainerImageMap) ProtoReflect() protoreflect.Message
func (*ContainerImageMap) Reset ¶
func (x *ContainerImageMap) Reset()
func (*ContainerImageMap) String ¶
func (x *ContainerImageMap) String() string
type ContainerMetadata ¶
type ContainerMetadata struct { Containers map[string]*ContainerImageMap `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Map from a string identifier to container metadata.
For build we'll map the build target to container metadata for it For provisioning, we'll map from specific boards to metadata
func (*ContainerMetadata) Descriptor
deprecated
func (*ContainerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ContainerMetadata.ProtoReflect.Descriptor instead.
func (*ContainerMetadata) GetContainers ¶
func (x *ContainerMetadata) GetContainers() map[string]*ContainerImageMap
func (*ContainerMetadata) ProtoMessage ¶
func (*ContainerMetadata) ProtoMessage()
func (*ContainerMetadata) ProtoReflect ¶
func (x *ContainerMetadata) ProtoReflect() protoreflect.Message
func (*ContainerMetadata) Reset ¶
func (x *ContainerMetadata) Reset()
func (*ContainerMetadata) String ¶
func (x *ContainerMetadata) String() string
type ContainerServiceClient ¶
type ContainerServiceClient interface {
BuildTestExecContainer(ctx context.Context, in *BuildTestContainersRequest, opts ...grpc.CallOption) (*BuildTestContainersResponse, error)
}
ContainerServiceClient is the client API for ContainerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewContainerServiceClient ¶
func NewContainerServiceClient(cc grpc.ClientConnInterface) ContainerServiceClient
type ContainerServiceServer ¶
type ContainerServiceServer interface {
BuildTestExecContainer(context.Context, *BuildTestContainersRequest) (*BuildTestContainersResponse, error)
}
ContainerServiceServer is the server API for ContainerService service. All implementations should embed UnimplementedContainerServiceServer for forward compatibility
type Dlc ¶
type Dlc struct { Id *Dlc_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Downloadable component for ChromeOS Reference DLCs developer documentation: https://source.corp.google.com/chromeos_public/src/platform2/dlcservice/docs/developer.md
func (*Dlc) Descriptor
deprecated
func (*Dlc) ProtoMessage ¶
func (*Dlc) ProtoMessage()
func (*Dlc) ProtoReflect ¶
func (x *Dlc) ProtoReflect() protoreflect.Message
type Dlc_Id ¶
type Dlc_Id struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
id is the DLC ID which is a unique identifier. The DLC ID must follow a specific format that can be found in the DLC developer doc below.
func (*Dlc_Id) Descriptor
deprecated
func (*Dlc_Id) ProtoMessage ¶
func (*Dlc_Id) ProtoMessage()
func (*Dlc_Id) ProtoReflect ¶
func (x *Dlc_Id) ProtoReflect() protoreflect.Message
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Defines config used to generate Chrome OS factory builds. See: https://chromium.googlesource.com/chromiumos/platform/factory
func (*Factory) Descriptor
deprecated
func (*Factory) ProtoMessage ¶
func (*Factory) ProtoMessage()
func (*Factory) ProtoReflect ¶
func (x *Factory) ProtoReflect() protoreflect.Message
type Factory_BuildTarget ¶
type Factory_BuildTarget struct { // Factory builds currently use portage, but this could change over time // as pieces become more decoupled. PortageBuildTarget *Portage_BuildTarget `protobuf:"bytes,1,opt,name=portage_build_target,json=portageBuildTarget,proto3" json:"portage_build_target,omitempty"` // contains filtered or unexported fields }
func (*Factory_BuildTarget) Descriptor
deprecated
func (*Factory_BuildTarget) Descriptor() ([]byte, []int)
Deprecated: Use Factory_BuildTarget.ProtoReflect.Descriptor instead.
func (*Factory_BuildTarget) GetPortageBuildTarget ¶
func (x *Factory_BuildTarget) GetPortageBuildTarget() *Portage_BuildTarget
func (*Factory_BuildTarget) ProtoMessage ¶
func (*Factory_BuildTarget) ProtoMessage()
func (*Factory_BuildTarget) ProtoReflect ¶
func (x *Factory_BuildTarget) ProtoReflect() protoreflect.Message
func (*Factory_BuildTarget) Reset ¶
func (x *Factory_BuildTarget) Reset()
func (*Factory_BuildTarget) String ¶
func (x *Factory_BuildTarget) String() string
type Firmware ¶
type Firmware struct { BuildTargets *Firmware_BuildTargets `protobuf:"bytes,1,opt,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"` // contains filtered or unexported fields }
Config for building firmware components. This is used in the following contexts:
- Firmware builders. - Local development when building from source (i.e. cros_workon start). - New projects that don't yet specify BCS payloads.
When building OS images, firmware payloads are usually pulled from BCS, as specified by the FirmwareConfig message.
func (*Firmware) Descriptor
deprecated
func (*Firmware) GetBuildTargets ¶
func (x *Firmware) GetBuildTargets() *Firmware_BuildTargets
func (*Firmware) ProtoMessage ¶
func (*Firmware) ProtoMessage()
func (*Firmware) ProtoReflect ¶
func (x *Firmware) ProtoReflect() protoreflect.Message
type FirmwareBuildConfig ¶
type FirmwareBuildConfig struct { BuildTargets *Firmware_BuildTargets `protobuf:"bytes,1,opt,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"` // contains filtered or unexported fields }
TODO(shapiroc): Remove once SoftwareConfig is migrated to Firmware.build_targets
func (*FirmwareBuildConfig) Descriptor
deprecated
func (*FirmwareBuildConfig) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareBuildConfig.ProtoReflect.Descriptor instead.
func (*FirmwareBuildConfig) GetBuildTargets ¶
func (x *FirmwareBuildConfig) GetBuildTargets() *Firmware_BuildTargets
func (*FirmwareBuildConfig) ProtoMessage ¶
func (*FirmwareBuildConfig) ProtoMessage()
func (*FirmwareBuildConfig) ProtoReflect ¶
func (x *FirmwareBuildConfig) ProtoReflect() protoreflect.Message
func (*FirmwareBuildConfig) Reset ¶
func (x *FirmwareBuildConfig) Reset()
func (*FirmwareBuildConfig) String ¶
func (x *FirmwareBuildConfig) String() string
type FirmwareConfig ¶
type FirmwareConfig struct { // The main firmware image. Updates both RO and RW sections. MainRoPayload *FirmwarePayload `protobuf:"bytes,1,opt,name=main_ro_payload,json=mainRoPayload,proto3" json:"main_ro_payload,omitempty"` // The main firmware image. Updates only RW section. // // main_rw image is flashed after main_ro image, which allows to reproduce // the setup of real devices in a single request by setting RO to some old // version, that the device was shipped with, and setting RW to latest. MainRwPayload *FirmwarePayload `protobuf:"bytes,2,opt,name=main_rw_payload,json=mainRwPayload,proto3" json:"main_rw_payload,omitempty"` // The embedded controller (EC) read-only (RO) firmware. // Will not update EC RW; you can flash EC RW as part of main image. EcRoPayload *FirmwarePayload `protobuf:"bytes,3,opt,name=ec_ro_payload,json=ecRoPayload,proto3" json:"ec_ro_payload,omitempty"` // The PD read-only firmware. PdRoPayload *FirmwarePayload `protobuf:"bytes,5,opt,name=pd_ro_payload,json=pdRoPayload,proto3" json:"pd_ro_payload,omitempty"` // The embedded controller (EC) read-write (RW) firmware. EcRwPayload *FirmwarePayload `protobuf:"bytes,6,opt,name=ec_rw_payload,json=ecRwPayload,proto3" json:"ec_rw_payload,omitempty"` // Optional hash for main_rw FW_MAIN_A by replacing ec_rw in main_rw_payload // with the one from ec_rw_payload. MainRwAHash *FirmwarePayloadHash `protobuf:"bytes,7,opt,name=main_rw_a_hash,json=mainRwAHash,proto3" json:"main_rw_a_hash,omitempty"` // contains filtered or unexported fields }
Specifies different firmware payloads to use. This is used in the following contexts:
- OS images that specify BCS payloads. - In the factory to flash the RO firmware. - F20 firmware provisioning.
Building firmware is configured with the FirmwareBuildConfig message.
TODO(crbug.com/1071918): Rename to FirmwarePayloadConfig.
func (*FirmwareConfig) Descriptor
deprecated
func (*FirmwareConfig) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareConfig.ProtoReflect.Descriptor instead.
func (*FirmwareConfig) GetEcRoPayload ¶
func (x *FirmwareConfig) GetEcRoPayload() *FirmwarePayload
func (*FirmwareConfig) GetEcRwPayload ¶
func (x *FirmwareConfig) GetEcRwPayload() *FirmwarePayload
func (*FirmwareConfig) GetMainRoPayload ¶
func (x *FirmwareConfig) GetMainRoPayload() *FirmwarePayload
func (*FirmwareConfig) GetMainRwAHash ¶
func (x *FirmwareConfig) GetMainRwAHash() *FirmwarePayloadHash
func (*FirmwareConfig) GetMainRwPayload ¶
func (x *FirmwareConfig) GetMainRwPayload() *FirmwarePayload
func (*FirmwareConfig) GetPdRoPayload ¶
func (x *FirmwareConfig) GetPdRoPayload() *FirmwarePayload
func (*FirmwareConfig) ProtoMessage ¶
func (*FirmwareConfig) ProtoMessage()
func (*FirmwareConfig) ProtoReflect ¶
func (x *FirmwareConfig) ProtoReflect() protoreflect.Message
func (*FirmwareConfig) Reset ¶
func (x *FirmwareConfig) Reset()
func (*FirmwareConfig) String ¶
func (x *FirmwareConfig) String() string
type FirmwarePayload ¶
type FirmwarePayload struct { // The path to the firmware build artifact // // Types that are assignable to FirmwareImage: // *FirmwarePayload_FirmwareImagePath // *FirmwarePayload_FirmwareImageName FirmwareImage isFirmwarePayload_FirmwareImage `protobuf_oneof:"firmware_image"` Type FirmwareType_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.build.api.FirmwareType_Type" json:"type,omitempty"` Version *Version `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Specifies the location of a firmware binary.
func (*FirmwarePayload) Descriptor
deprecated
func (*FirmwarePayload) Descriptor() ([]byte, []int)
Deprecated: Use FirmwarePayload.ProtoReflect.Descriptor instead.
func (*FirmwarePayload) GetFirmwareImage ¶
func (m *FirmwarePayload) GetFirmwareImage() isFirmwarePayload_FirmwareImage
func (*FirmwarePayload) GetFirmwareImageName
deprecated
func (x *FirmwarePayload) GetFirmwareImageName() string
Deprecated: Do not use.
func (*FirmwarePayload) GetFirmwareImagePath ¶
func (x *FirmwarePayload) GetFirmwareImagePath() *_go.StoragePath
func (*FirmwarePayload) GetType ¶
func (x *FirmwarePayload) GetType() FirmwareType_Type
func (*FirmwarePayload) GetVersion ¶
func (x *FirmwarePayload) GetVersion() *Version
func (*FirmwarePayload) ProtoMessage ¶
func (*FirmwarePayload) ProtoMessage()
func (*FirmwarePayload) ProtoReflect ¶
func (x *FirmwarePayload) ProtoReflect() protoreflect.Message
func (*FirmwarePayload) Reset ¶
func (x *FirmwarePayload) Reset()
func (*FirmwarePayload) String ¶
func (x *FirmwarePayload) String() string
type FirmwarePayloadHash ¶
type FirmwarePayloadHash struct { // Hash algorithm in use. Algorithm FirmwarePayloadHash_Algorithm `` /* 128-byte string literal not displayed */ // Hash digest. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
Specifies optional hash for the payload.
func (*FirmwarePayloadHash) Descriptor
deprecated
func (*FirmwarePayloadHash) Descriptor() ([]byte, []int)
Deprecated: Use FirmwarePayloadHash.ProtoReflect.Descriptor instead.
func (*FirmwarePayloadHash) GetAlgorithm ¶
func (x *FirmwarePayloadHash) GetAlgorithm() FirmwarePayloadHash_Algorithm
func (*FirmwarePayloadHash) GetDigest ¶
func (x *FirmwarePayloadHash) GetDigest() string
func (*FirmwarePayloadHash) ProtoMessage ¶
func (*FirmwarePayloadHash) ProtoMessage()
func (*FirmwarePayloadHash) ProtoReflect ¶
func (x *FirmwarePayloadHash) ProtoReflect() protoreflect.Message
func (*FirmwarePayloadHash) Reset ¶
func (x *FirmwarePayloadHash) Reset()
func (*FirmwarePayloadHash) String ¶
func (x *FirmwarePayloadHash) String() string
type FirmwarePayloadHash_Algorithm ¶
type FirmwarePayloadHash_Algorithm int32
Enumeration of different hash algorithms.
const (
FirmwarePayloadHash_MD5SUM FirmwarePayloadHash_Algorithm = 0
)
func (FirmwarePayloadHash_Algorithm) Descriptor ¶
func (FirmwarePayloadHash_Algorithm) Descriptor() protoreflect.EnumDescriptor
func (FirmwarePayloadHash_Algorithm) Enum ¶
func (x FirmwarePayloadHash_Algorithm) Enum() *FirmwarePayloadHash_Algorithm
func (FirmwarePayloadHash_Algorithm) EnumDescriptor
deprecated
func (FirmwarePayloadHash_Algorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirmwarePayloadHash_Algorithm.Descriptor instead.
func (FirmwarePayloadHash_Algorithm) Number ¶
func (x FirmwarePayloadHash_Algorithm) Number() protoreflect.EnumNumber
func (FirmwarePayloadHash_Algorithm) String ¶
func (x FirmwarePayloadHash_Algorithm) String() string
func (FirmwarePayloadHash_Algorithm) Type ¶
func (FirmwarePayloadHash_Algorithm) Type() protoreflect.EnumType
type FirmwarePayload_FirmwareImageName ¶
type FirmwarePayload_FirmwareImageName struct { // NOTE: Deprecated (use firmware_image_path instead) // // Image path in BCS format: "bcs://Coral.10068.118.0.tbz2" // // TODO(shapiroc): Migrate to use fimware_image_path instead so // that local provisioning can be supported also via provision_service // // Deprecated: Do not use. FirmwareImageName string `protobuf:"bytes,2,opt,name=firmware_image_name,json=firmwareImageName,proto3,oneof"` }
type FirmwarePayload_FirmwareImagePath ¶
type FirmwarePayload_FirmwareImagePath struct { // Path to the firmware artifact (either local or GS path) FirmwareImagePath *_go.StoragePath `protobuf:"bytes,5,opt,name=firmware_image_path,json=firmwareImagePath,proto3,oneof"` }
type FirmwareType ¶
type FirmwareType struct {
// contains filtered or unexported fields
}
The type of a firmware binary.
func (*FirmwareType) Descriptor
deprecated
func (*FirmwareType) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareType.ProtoReflect.Descriptor instead.
func (*FirmwareType) ProtoMessage ¶
func (*FirmwareType) ProtoMessage()
func (*FirmwareType) ProtoReflect ¶
func (x *FirmwareType) ProtoReflect() protoreflect.Message
func (*FirmwareType) Reset ¶
func (x *FirmwareType) Reset()
func (*FirmwareType) String ¶
func (x *FirmwareType) String() string
type FirmwareType_Type ¶
type FirmwareType_Type int32
const ( FirmwareType_UNKNOWN FirmwareType_Type = 0 FirmwareType_MAIN FirmwareType_Type = 1 FirmwareType_EC FirmwareType_Type = 2 FirmwareType_PD FirmwareType_Type = 3 )
func (FirmwareType_Type) Descriptor ¶
func (FirmwareType_Type) Descriptor() protoreflect.EnumDescriptor
func (FirmwareType_Type) Enum ¶
func (x FirmwareType_Type) Enum() *FirmwareType_Type
func (FirmwareType_Type) EnumDescriptor
deprecated
func (FirmwareType_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirmwareType_Type.Descriptor instead.
func (FirmwareType_Type) Number ¶
func (x FirmwareType_Type) Number() protoreflect.EnumNumber
func (FirmwareType_Type) String ¶
func (x FirmwareType_Type) String() string
func (FirmwareType_Type) Type ¶
func (FirmwareType_Type) Type() protoreflect.EnumType
type Firmware_BuildTargets ¶
type Firmware_BuildTargets struct { // Build target for coreboot. Coreboot string `protobuf:"bytes,1,opt,name=coreboot,proto3" json:"coreboot,omitempty"` // Build target for depthcharge. Depthcharge string `protobuf:"bytes,2,opt,name=depthcharge,proto3" json:"depthcharge,omitempty"` // Build target for EC firmware. Ec string `protobuf:"bytes,3,opt,name=ec,proto3" json:"ec,omitempty"` // Extra EC build targets to build/include in the EC firmware. EcExtras []string `protobuf:"bytes,4,rep,name=ec_extras,json=ecExtras,proto3" json:"ec_extras,omitempty"` // Build target for libpayload. Libpayload string `protobuf:"bytes,5,opt,name=libpayload,proto3" json:"libpayload,omitempty"` // Firmware builds currently use portage, but this could change over time // as pieces become more decoupled. PortageBuildTarget *Portage_BuildTarget `protobuf:"bytes,6,opt,name=portage_build_target,json=portageBuildTarget,proto3" json:"portage_build_target,omitempty"` // Build target for zephyr_ec. ZephyrEc string `protobuf:"bytes,7,opt,name=zephyr_ec,json=zephyrEc,proto3" json:"zephyr_ec,omitempty"` // Build target for chromeos-bmpblk. Bmpblk string `protobuf:"bytes,8,opt,name=bmpblk,proto3" json:"bmpblk,omitempty"` // Build target for chromeos-ish. Ish string `protobuf:"bytes,9,opt,name=ish,proto3" json:"ish,omitempty"` // Build target for Zephyr EC detachable base. ZephyrDetachableBase string `protobuf:"bytes,10,opt,name=zephyr_detachable_base,json=zephyrDetachableBase,proto3" json:"zephyr_detachable_base,omitempty"` // contains filtered or unexported fields }
Build targets for building firmware components.
func (*Firmware_BuildTargets) Descriptor
deprecated
func (*Firmware_BuildTargets) Descriptor() ([]byte, []int)
Deprecated: Use Firmware_BuildTargets.ProtoReflect.Descriptor instead.
func (*Firmware_BuildTargets) GetBmpblk ¶
func (x *Firmware_BuildTargets) GetBmpblk() string
func (*Firmware_BuildTargets) GetCoreboot ¶
func (x *Firmware_BuildTargets) GetCoreboot() string
func (*Firmware_BuildTargets) GetDepthcharge ¶
func (x *Firmware_BuildTargets) GetDepthcharge() string
func (*Firmware_BuildTargets) GetEc ¶
func (x *Firmware_BuildTargets) GetEc() string
func (*Firmware_BuildTargets) GetEcExtras ¶
func (x *Firmware_BuildTargets) GetEcExtras() []string
func (*Firmware_BuildTargets) GetIsh ¶
func (x *Firmware_BuildTargets) GetIsh() string
func (*Firmware_BuildTargets) GetLibpayload ¶
func (x *Firmware_BuildTargets) GetLibpayload() string
func (*Firmware_BuildTargets) GetPortageBuildTarget ¶
func (x *Firmware_BuildTargets) GetPortageBuildTarget() *Portage_BuildTarget
func (*Firmware_BuildTargets) GetZephyrDetachableBase ¶
func (x *Firmware_BuildTargets) GetZephyrDetachableBase() string
func (*Firmware_BuildTargets) GetZephyrEc ¶
func (x *Firmware_BuildTargets) GetZephyrEc() string
func (*Firmware_BuildTargets) ProtoMessage ¶
func (*Firmware_BuildTargets) ProtoMessage()
func (*Firmware_BuildTargets) ProtoReflect ¶
func (x *Firmware_BuildTargets) ProtoReflect() protoreflect.Message
func (*Firmware_BuildTargets) Reset ¶
func (x *Firmware_BuildTargets) Reset()
func (*Firmware_BuildTargets) String ¶
func (x *Firmware_BuildTargets) String() string
type GcrRepository ¶
type GcrRepository struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // Hostname without protocol (eg: gcr.io) Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // Project name (eg: chromeos-bot) // contains filtered or unexported fields }
func (*GcrRepository) Descriptor
deprecated
func (*GcrRepository) Descriptor() ([]byte, []int)
Deprecated: Use GcrRepository.ProtoReflect.Descriptor instead.
func (*GcrRepository) GetHostname ¶
func (x *GcrRepository) GetHostname() string
func (*GcrRepository) GetProject ¶
func (x *GcrRepository) GetProject() string
func (*GcrRepository) ProtoMessage ¶
func (*GcrRepository) ProtoMessage()
func (*GcrRepository) ProtoReflect ¶
func (x *GcrRepository) ProtoReflect() protoreflect.Message
func (*GcrRepository) Reset ¶
func (x *GcrRepository) Reset()
func (*GcrRepository) String ¶
func (x *GcrRepository) String() string
type GetDeviceConfigRequest ¶
type GetDeviceConfigRequest struct { // Types that are assignable to IdType: // *GetDeviceConfigRequest_Id // *GetDeviceConfigRequest_ScanConfig IdType isGetDeviceConfigRequest_IdType `protobuf_oneof:"id_type"` // contains filtered or unexported fields }
func (*GetDeviceConfigRequest) Descriptor
deprecated
func (*GetDeviceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigRequest) GetId ¶
func (x *GetDeviceConfigRequest) GetId() *api.DeviceConfigId
func (*GetDeviceConfigRequest) GetIdType ¶
func (m *GetDeviceConfigRequest) GetIdType() isGetDeviceConfigRequest_IdType
func (*GetDeviceConfigRequest) GetScanConfig ¶
func (x *GetDeviceConfigRequest) GetScanConfig() *api.DeviceConfigId_ScanConfig
func (*GetDeviceConfigRequest) ProtoMessage ¶
func (*GetDeviceConfigRequest) ProtoMessage()
func (*GetDeviceConfigRequest) ProtoReflect ¶
func (x *GetDeviceConfigRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigRequest) Reset ¶
func (x *GetDeviceConfigRequest) Reset()
func (*GetDeviceConfigRequest) String ¶
func (x *GetDeviceConfigRequest) String() string
type GetDeviceConfigRequest_Id ¶
type GetDeviceConfigRequest_Id struct { // If the ID has already been captured/stored (in inventory system). Id *api.DeviceConfigId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }
type GetDeviceConfigRequest_ScanConfig ¶
type GetDeviceConfigRequest_ScanConfig struct { // If the ID is scanned off a live device via dut_service.proto ScanConfig *api.DeviceConfigId_ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3,oneof"` }
type GetDeviceConfigResponse ¶
type GetDeviceConfigResponse struct { // Types that are assignable to Result: // *GetDeviceConfigResponse_Success_ // *GetDeviceConfigResponse_Failure_ Result isGetDeviceConfigResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*GetDeviceConfigResponse) Descriptor
deprecated
func (*GetDeviceConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigResponse.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigResponse) GetFailure ¶
func (x *GetDeviceConfigResponse) GetFailure() *GetDeviceConfigResponse_Failure
func (*GetDeviceConfigResponse) GetResult ¶
func (m *GetDeviceConfigResponse) GetResult() isGetDeviceConfigResponse_Result
func (*GetDeviceConfigResponse) GetSuccess ¶
func (x *GetDeviceConfigResponse) GetSuccess() *GetDeviceConfigResponse_Success
func (*GetDeviceConfigResponse) ProtoMessage ¶
func (*GetDeviceConfigResponse) ProtoMessage()
func (*GetDeviceConfigResponse) ProtoReflect ¶
func (x *GetDeviceConfigResponse) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigResponse) Reset ¶
func (x *GetDeviceConfigResponse) Reset()
func (*GetDeviceConfigResponse) String ¶
func (x *GetDeviceConfigResponse) String() string
type GetDeviceConfigResponse_Failure ¶
type GetDeviceConfigResponse_Failure struct { // Human readable error to aid in debugging ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceConfigResponse_Failure) Descriptor
deprecated
func (*GetDeviceConfigResponse_Failure) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigResponse_Failure.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigResponse_Failure) GetErrorMessage ¶
func (x *GetDeviceConfigResponse_Failure) GetErrorMessage() string
func (*GetDeviceConfigResponse_Failure) ProtoMessage ¶
func (*GetDeviceConfigResponse_Failure) ProtoMessage()
func (*GetDeviceConfigResponse_Failure) ProtoReflect ¶
func (x *GetDeviceConfigResponse_Failure) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigResponse_Failure) Reset ¶
func (x *GetDeviceConfigResponse_Failure) Reset()
func (*GetDeviceConfigResponse_Failure) String ¶
func (x *GetDeviceConfigResponse_Failure) String() string
type GetDeviceConfigResponse_Failure_ ¶
type GetDeviceConfigResponse_Failure_ struct {
Failure *GetDeviceConfigResponse_Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}
type GetDeviceConfigResponse_Success ¶
type GetDeviceConfigResponse_Success struct { DeviceConfig *api.DeviceConfig `protobuf:"bytes,1,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceConfigResponse_Success) Descriptor
deprecated
func (*GetDeviceConfigResponse_Success) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigResponse_Success.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigResponse_Success) GetDeviceConfig ¶
func (x *GetDeviceConfigResponse_Success) GetDeviceConfig() *api.DeviceConfig
func (*GetDeviceConfigResponse_Success) ProtoMessage ¶
func (*GetDeviceConfigResponse_Success) ProtoMessage()
func (*GetDeviceConfigResponse_Success) ProtoReflect ¶
func (x *GetDeviceConfigResponse_Success) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigResponse_Success) Reset ¶
func (x *GetDeviceConfigResponse_Success) Reset()
func (*GetDeviceConfigResponse_Success) String ¶
func (x *GetDeviceConfigResponse_Success) String() string
type GetDeviceConfigResponse_Success_ ¶
type GetDeviceConfigResponse_Success_ struct {
Success *GetDeviceConfigResponse_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type MetadataServiceClient ¶
type MetadataServiceClient interface { // Retrieves all of the known device hardware configuration // based on a unique id or hardware/manufacturing identifiers // scanned off of a live device. GetDeviceConfig(ctx context.Context, in *GetDeviceConfigRequest, opts ...grpc.CallOption) (*GetDeviceConfigResponse, error) }
MetadataServiceClient is the client API for MetadataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetadataServiceClient ¶
func NewMetadataServiceClient(cc grpc.ClientConnInterface) MetadataServiceClient
type MetadataServiceServer ¶
type MetadataServiceServer interface { // Retrieves all of the known device hardware configuration // based on a unique id or hardware/manufacturing identifiers // scanned off of a live device. GetDeviceConfig(context.Context, *GetDeviceConfigRequest) (*GetDeviceConfigResponse, error) }
MetadataServiceServer is the server API for MetadataService service. All implementations should embed UnimplementedMetadataServiceServer for forward compatibility
type Portage ¶
type Portage struct {
// contains filtered or unexported fields
}
Defines config used to generate portage builds.
func (*Portage) Descriptor
deprecated
func (*Portage) ProtoMessage ¶
func (*Portage) ProtoMessage()
func (*Portage) ProtoReflect ¶
func (x *Portage) ProtoReflect() protoreflect.Message
type Portage_BuildTarget ¶
type Portage_BuildTarget struct { OverlayName string `protobuf:"bytes,1,opt,name=overlay_name,json=overlayName,proto3" json:"overlay_name,omitempty"` ProfileName string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"` UseFlags []string `protobuf:"bytes,3,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"` // Features enabled for the given build // See: https://wiki.gentoo.org/wiki/FEATURES Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
func (*Portage_BuildTarget) Descriptor
deprecated
func (*Portage_BuildTarget) Descriptor() ([]byte, []int)
Deprecated: Use Portage_BuildTarget.ProtoReflect.Descriptor instead.
func (*Portage_BuildTarget) GetFeatures ¶
func (x *Portage_BuildTarget) GetFeatures() []string
func (*Portage_BuildTarget) GetOverlayName ¶
func (x *Portage_BuildTarget) GetOverlayName() string
func (*Portage_BuildTarget) GetProfileName ¶
func (x *Portage_BuildTarget) GetProfileName() string
func (*Portage_BuildTarget) GetUseFlags ¶
func (x *Portage_BuildTarget) GetUseFlags() []string
func (*Portage_BuildTarget) ProtoMessage ¶
func (*Portage_BuildTarget) ProtoMessage()
func (*Portage_BuildTarget) ProtoReflect ¶
func (x *Portage_BuildTarget) ProtoReflect() protoreflect.Message
func (*Portage_BuildTarget) Reset ¶
func (x *Portage_BuildTarget) Reset()
func (*Portage_BuildTarget) String ¶
func (x *Portage_BuildTarget) String() string
type Portage_Package ¶
type Portage_Package struct { // The package name (PN variable). PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // The package category (CATEGORY variable). Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // The package version and revision (PVR variable). Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Message describing a package, The corresponding variable names are from https://devmanual.gentoo.org/ebuild-writing/variables/index.html
func (*Portage_Package) Descriptor
deprecated
func (*Portage_Package) Descriptor() ([]byte, []int)
Deprecated: Use Portage_Package.ProtoReflect.Descriptor instead.
func (*Portage_Package) GetCategory ¶
func (x *Portage_Package) GetCategory() string
func (*Portage_Package) GetPackageName ¶
func (x *Portage_Package) GetPackageName() string
func (*Portage_Package) GetVersion ¶
func (x *Portage_Package) GetVersion() string
func (*Portage_Package) ProtoMessage ¶
func (*Portage_Package) ProtoMessage()
func (*Portage_Package) ProtoReflect ¶
func (x *Portage_Package) ProtoReflect() protoreflect.Message
func (*Portage_Package) Reset ¶
func (x *Portage_Package) Reset()
func (*Portage_Package) String ¶
func (x *Portage_Package) String() string
type SoftwareAttribute ¶
type SoftwareAttribute struct { Id *SoftwareAttribute_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Field in a chromiumos.build.api.SoftwareBundle proto that defines the // value of the attribute. // // The path should start at SoftwareBundle and be delimited by ".". For // example, "system_image.metadata.arc.version". Only scalar fields are // allowed as the last component of the path. FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` // contains filtered or unexported fields }
SoftwareAttribute defines how attributes of the SoftwareBundle are encoded into key-value pairs.
This encoding allows branch/build agnostic systems (e.g. CI/CQ) to perform matching/optimization around test coverage requirements for a given set of builds without having to couple to branch/build specific proto-definitions.
func (*SoftwareAttribute) Descriptor
deprecated
func (*SoftwareAttribute) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareAttribute.ProtoReflect.Descriptor instead.
func (*SoftwareAttribute) GetFieldPath ¶
func (x *SoftwareAttribute) GetFieldPath() string
func (*SoftwareAttribute) GetId ¶
func (x *SoftwareAttribute) GetId() *SoftwareAttribute_Id
func (*SoftwareAttribute) ProtoMessage ¶
func (*SoftwareAttribute) ProtoMessage()
func (*SoftwareAttribute) ProtoReflect ¶
func (x *SoftwareAttribute) ProtoReflect() protoreflect.Message
func (*SoftwareAttribute) Reset ¶
func (x *SoftwareAttribute) Reset()
func (*SoftwareAttribute) String ¶
func (x *SoftwareAttribute) String() string
type SoftwareAttributeList ¶
type SoftwareAttributeList struct { SwAttributes []*SoftwareAttribute `protobuf:"bytes,1,rep,name=sw_attributes,json=swAttributes,proto3" json:"sw_attributes,omitempty"` // contains filtered or unexported fields }
func (*SoftwareAttributeList) Descriptor
deprecated
func (*SoftwareAttributeList) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareAttributeList.ProtoReflect.Descriptor instead.
func (*SoftwareAttributeList) GetSwAttributes ¶
func (x *SoftwareAttributeList) GetSwAttributes() []*SoftwareAttribute
func (*SoftwareAttributeList) ProtoMessage ¶
func (*SoftwareAttributeList) ProtoMessage()
func (*SoftwareAttributeList) ProtoReflect ¶
func (x *SoftwareAttributeList) ProtoReflect() protoreflect.Message
func (*SoftwareAttributeList) Reset ¶
func (x *SoftwareAttributeList) Reset()
func (*SoftwareAttributeList) String ¶
func (x *SoftwareAttributeList) String() string
type SoftwareAttribute_Id ¶
type SoftwareAttribute_Id struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Globally unique identifier for the attribute. Usually reflects the contents of the attribute, e.g. "arc_version".
func (*SoftwareAttribute_Id) Descriptor
deprecated
func (*SoftwareAttribute_Id) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareAttribute_Id.ProtoReflect.Descriptor instead.
func (*SoftwareAttribute_Id) GetValue ¶
func (x *SoftwareAttribute_Id) GetValue() string
func (*SoftwareAttribute_Id) ProtoMessage ¶
func (*SoftwareAttribute_Id) ProtoMessage()
func (*SoftwareAttribute_Id) ProtoReflect ¶
func (x *SoftwareAttribute_Id) ProtoReflect() protoreflect.Message
func (*SoftwareAttribute_Id) Reset ¶
func (x *SoftwareAttribute_Id) Reset()
func (*SoftwareAttribute_Id) String ¶
func (x *SoftwareAttribute_Id) String() string
type SoftwareBundle ¶
type SoftwareBundle struct { SystemImage *SystemImage `protobuf:"bytes,1,opt,name=system_image,json=systemImage,proto3" json:"system_image,omitempty"` Firmware *Firmware `protobuf:"bytes,2,opt,name=firmware,proto3" json:"firmware,omitempty"` // contains filtered or unexported fields }
Bundles the metadata for all the different software components that exist on a given ChromeOS device.
Based on this bundle, test coverage rules can be generated that target various combinations of these attributes. E.g. (linux-version, arc-version)
func (*SoftwareBundle) Descriptor
deprecated
func (*SoftwareBundle) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareBundle.ProtoReflect.Descriptor instead.
func (*SoftwareBundle) GetFirmware ¶
func (x *SoftwareBundle) GetFirmware() *Firmware
func (*SoftwareBundle) GetSystemImage ¶
func (x *SoftwareBundle) GetSystemImage() *SystemImage
func (*SoftwareBundle) ProtoMessage ¶
func (*SoftwareBundle) ProtoMessage()
func (*SoftwareBundle) ProtoReflect ¶
func (x *SoftwareBundle) ProtoReflect() protoreflect.Message
func (*SoftwareBundle) Reset ¶
func (x *SoftwareBundle) Reset()
func (*SoftwareBundle) String ¶
func (x *SoftwareBundle) String() string
type SoftwareCriterion ¶
type SoftwareCriterion struct { // ID of the Sw attribute that must meet the criterion. AttributeId *SoftwareAttribute_Id `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"` // List of ANY acceptable values to match (OR logic is applied). // Values must match exactly (i.e. no regexp, wildcard, etc. allowed). Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
SoftwareCriterion describes a group of sw builds, based on a set of criteria that will be evaluated against a collection of SoftwareBundle payloads.
func (*SoftwareCriterion) Descriptor
deprecated
func (*SoftwareCriterion) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareCriterion.ProtoReflect.Descriptor instead.
func (*SoftwareCriterion) GetAttributeId ¶
func (x *SoftwareCriterion) GetAttributeId() *SoftwareAttribute_Id
func (*SoftwareCriterion) GetValues ¶
func (x *SoftwareCriterion) GetValues() []string
func (*SoftwareCriterion) ProtoMessage ¶
func (*SoftwareCriterion) ProtoMessage()
func (*SoftwareCriterion) ProtoReflect ¶
func (x *SoftwareCriterion) ProtoReflect() protoreflect.Message
func (*SoftwareCriterion) Reset ¶
func (x *SoftwareCriterion) Reset()
func (*SoftwareCriterion) String ¶
func (x *SoftwareCriterion) String() string
type SubtoolPackage ¶
type SubtoolPackage struct { // The name of the package. May be referenced in cipd. Must not contain a /. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // How the package should be exported. Type SubtoolPackage_ExportType `protobuf:"varint,2,opt,name=type,proto3,enum=chromiumos.build.api.SubtoolPackage_ExportType" json:"type,omitempty"` // The maximum number of files expected to be packaged. Export will fail if // this would be exceeded. MaxFiles int32 `protobuf:"varint,3,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"` // The cipd package prefix. If not specified, defaults to // chromiumos/infra/tools/. CipdPrefix *string `protobuf:"bytes,4,opt,name=cipd_prefix,json=cipdPrefix,proto3,oneof" json:"cipd_prefix,omitempty"` // Input paths relative to the SDK root. Pattern matching is permitted. // Any dynamically linked ELFs are automatically wrapped with lddtree. Paths []*SubtoolPackage_PathMapping `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` // The type of change that will trigger a new upload. UploadTrigger SubtoolPackage_Change `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SubtoolPackage) Descriptor
deprecated
func (*SubtoolPackage) Descriptor() ([]byte, []int)
Deprecated: Use SubtoolPackage.ProtoReflect.Descriptor instead.
func (*SubtoolPackage) GetCipdPrefix ¶
func (x *SubtoolPackage) GetCipdPrefix() string
func (*SubtoolPackage) GetMaxFiles ¶
func (x *SubtoolPackage) GetMaxFiles() int32
func (*SubtoolPackage) GetName ¶
func (x *SubtoolPackage) GetName() string
func (*SubtoolPackage) GetPaths ¶
func (x *SubtoolPackage) GetPaths() []*SubtoolPackage_PathMapping
func (*SubtoolPackage) GetType ¶
func (x *SubtoolPackage) GetType() SubtoolPackage_ExportType
func (*SubtoolPackage) GetUploadTrigger ¶
func (x *SubtoolPackage) GetUploadTrigger() SubtoolPackage_Change
func (*SubtoolPackage) ProtoMessage ¶
func (*SubtoolPackage) ProtoMessage()
func (*SubtoolPackage) ProtoReflect ¶
func (x *SubtoolPackage) ProtoReflect() protoreflect.Message
func (*SubtoolPackage) Reset ¶
func (x *SubtoolPackage) Reset()
func (*SubtoolPackage) String ¶
func (x *SubtoolPackage) String() string
type SubtoolPackage_Change ¶
type SubtoolPackage_Change int32
Describes how a bundled package could have changed from a prior bundle.
const ( // Select the default change type configured in the subtools builder. SubtoolPackage_CHANGE_UNSPECIFIED SubtoolPackage_Change = 0 // The Build ID of any binary in the bundle has changed, or any file without // a Build ID has changed, or the revision of any ebuild that contributed // files to the bundle has changed. SubtoolPackage_CHANGE_BUILD_ID_OR_REVISION SubtoolPackage_Change = 1 // The revision of any ebuild contributing files to the bundle has changed. SubtoolPackage_CHANGE_REVISION_ONLY SubtoolPackage_Change = 2 )
func (SubtoolPackage_Change) Descriptor ¶
func (SubtoolPackage_Change) Descriptor() protoreflect.EnumDescriptor
func (SubtoolPackage_Change) Enum ¶
func (x SubtoolPackage_Change) Enum() *SubtoolPackage_Change
func (SubtoolPackage_Change) EnumDescriptor
deprecated
func (SubtoolPackage_Change) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubtoolPackage_Change.Descriptor instead.
func (SubtoolPackage_Change) Number ¶
func (x SubtoolPackage_Change) Number() protoreflect.EnumNumber
func (SubtoolPackage_Change) String ¶
func (x SubtoolPackage_Change) String() string
func (SubtoolPackage_Change) Type ¶
func (SubtoolPackage_Change) Type() protoreflect.EnumType
type SubtoolPackage_ExportType ¶
type SubtoolPackage_ExportType int32
const ( SubtoolPackage_EXPORT_UNSPECIFIED SubtoolPackage_ExportType = 0 SubtoolPackage_EXPORT_CIPD SubtoolPackage_ExportType = 1 )
func (SubtoolPackage_ExportType) Descriptor ¶
func (SubtoolPackage_ExportType) Descriptor() protoreflect.EnumDescriptor
func (SubtoolPackage_ExportType) Enum ¶
func (x SubtoolPackage_ExportType) Enum() *SubtoolPackage_ExportType
func (SubtoolPackage_ExportType) EnumDescriptor
deprecated
func (SubtoolPackage_ExportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubtoolPackage_ExportType.Descriptor instead.
func (SubtoolPackage_ExportType) Number ¶
func (x SubtoolPackage_ExportType) Number() protoreflect.EnumNumber
func (SubtoolPackage_ExportType) String ¶
func (x SubtoolPackage_ExportType) String() string
func (SubtoolPackage_ExportType) Type ¶
func (SubtoolPackage_ExportType) Type() protoreflect.EnumType
type SubtoolPackage_PathMapping ¶
type SubtoolPackage_PathMapping struct { // The source file (or files) to bundle. Glob syntax used by pathlib.Path // is supported (go/pathlib#pathlib.Path.glob). Paths match files installed // in the subtools chroot. If nothing matches, export will fail. Input []string `protobuf:"bytes,1,rep,name=input,proto3" json:"input,omitempty"` // The target path relative to the export destination. Default: "/bin". Dest *string `protobuf:"bytes,2,opt,name=dest,proto3,oneof" json:"dest,omitempty"` // The file prefix to strip before copying to `dest`. Default: "^.*/". // Export fails if this does not match all files matching `glob`. StripPrefixRegex *string `protobuf:"bytes,3,opt,name=strip_prefix_regex,json=stripPrefixRegex,proto3,oneof" json:"strip_prefix_regex,omitempty"` // A portage package (e.g., app-editors/vim) whose installed files are // matched against `glob`. If unspecified, all files in the chroot are // candidates to match. EbuildFilter *string `protobuf:"bytes,4,opt,name=ebuild_filter,json=ebuildFilter,proto3,oneof" json:"ebuild_filter,omitempty"` // Whether to treat all entries in this PathMapping as "opaque" data files. // There will be no attempt to discover and bundle any dependencies. OpaqueData bool `protobuf:"varint,5,opt,name=opaque_data,json=opaqueData,proto3" json:"opaque_data,omitempty"` // contains filtered or unexported fields }
func (*SubtoolPackage_PathMapping) Descriptor
deprecated
func (*SubtoolPackage_PathMapping) Descriptor() ([]byte, []int)
Deprecated: Use SubtoolPackage_PathMapping.ProtoReflect.Descriptor instead.
func (*SubtoolPackage_PathMapping) GetDest ¶
func (x *SubtoolPackage_PathMapping) GetDest() string
func (*SubtoolPackage_PathMapping) GetEbuildFilter ¶
func (x *SubtoolPackage_PathMapping) GetEbuildFilter() string
func (*SubtoolPackage_PathMapping) GetInput ¶
func (x *SubtoolPackage_PathMapping) GetInput() []string
func (*SubtoolPackage_PathMapping) GetOpaqueData ¶
func (x *SubtoolPackage_PathMapping) GetOpaqueData() bool
func (*SubtoolPackage_PathMapping) GetStripPrefixRegex ¶
func (x *SubtoolPackage_PathMapping) GetStripPrefixRegex() string
func (*SubtoolPackage_PathMapping) ProtoMessage ¶
func (*SubtoolPackage_PathMapping) ProtoMessage()
func (*SubtoolPackage_PathMapping) ProtoReflect ¶
func (x *SubtoolPackage_PathMapping) ProtoReflect() protoreflect.Message
func (*SubtoolPackage_PathMapping) Reset ¶
func (x *SubtoolPackage_PathMapping) Reset()
func (*SubtoolPackage_PathMapping) String ¶
func (x *SubtoolPackage_PathMapping) String() string
type SystemImage ¶
type SystemImage struct { Id *SystemImage_ImageId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // universally unique ID representing the build Metadata *SystemImage_BuildMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // metadata about the system image // contains filtered or unexported fields }
Defines config used to generate Chrome OS system image builds.
func (*SystemImage) Descriptor
deprecated
func (*SystemImage) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage.ProtoReflect.Descriptor instead.
func (*SystemImage) GetId ¶
func (x *SystemImage) GetId() *SystemImage_ImageId
func (*SystemImage) GetMetadata ¶
func (x *SystemImage) GetMetadata() *SystemImage_BuildMetadata
func (*SystemImage) ProtoMessage ¶
func (*SystemImage) ProtoMessage()
func (*SystemImage) ProtoReflect ¶
func (x *SystemImage) ProtoReflect() protoreflect.Message
func (*SystemImage) Reset ¶
func (x *SystemImage) Reset()
func (*SystemImage) String ¶
func (x *SystemImage) String() string
type SystemImage_BuildMetadata ¶
type SystemImage_BuildMetadata struct { // Information passed to portage as part of the build. BuildTarget *SystemImage_BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` PackageSummary *SystemImage_BuildMetadata_PackageSummary `protobuf:"bytes,2,opt,name=package_summary,json=packageSummary,proto3" json:"package_summary,omitempty"` Packages []*Portage_Package `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_BuildMetadata) Descriptor
deprecated
func (*SystemImage_BuildMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata) GetBuildTarget ¶
func (x *SystemImage_BuildMetadata) GetBuildTarget() *SystemImage_BuildTarget
func (*SystemImage_BuildMetadata) GetPackageSummary ¶
func (x *SystemImage_BuildMetadata) GetPackageSummary() *SystemImage_BuildMetadata_PackageSummary
func (*SystemImage_BuildMetadata) GetPackages ¶
func (x *SystemImage_BuildMetadata) GetPackages() []*Portage_Package
func (*SystemImage_BuildMetadata) ProtoMessage ¶
func (*SystemImage_BuildMetadata) ProtoMessage()
func (*SystemImage_BuildMetadata) ProtoReflect ¶
func (x *SystemImage_BuildMetadata) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata) Reset ¶
func (x *SystemImage_BuildMetadata) Reset()
func (*SystemImage_BuildMetadata) String ¶
func (x *SystemImage_BuildMetadata) String() string
type SystemImage_BuildMetadataList ¶
type SystemImage_BuildMetadataList struct { Values []*SystemImage_BuildMetadata `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Used to serialize build metadata reports to proto[json|text|binary]
func (*SystemImage_BuildMetadataList) Descriptor
deprecated
func (*SystemImage_BuildMetadataList) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadataList.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadataList) GetValues ¶
func (x *SystemImage_BuildMetadataList) GetValues() []*SystemImage_BuildMetadata
func (*SystemImage_BuildMetadataList) ProtoMessage ¶
func (*SystemImage_BuildMetadataList) ProtoMessage()
func (*SystemImage_BuildMetadataList) ProtoReflect ¶
func (x *SystemImage_BuildMetadataList) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadataList) Reset ¶
func (x *SystemImage_BuildMetadataList) Reset()
func (*SystemImage_BuildMetadataList) String ¶
func (x *SystemImage_BuildMetadataList) String() string
type SystemImage_BuildMetadata_Arc ¶
type SystemImage_BuildMetadata_Arc struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_BuildMetadata_Arc) Descriptor
deprecated
func (*SystemImage_BuildMetadata_Arc) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata_Arc.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata_Arc) GetBranch ¶
func (x *SystemImage_BuildMetadata_Arc) GetBranch() string
func (*SystemImage_BuildMetadata_Arc) GetVersion ¶
func (x *SystemImage_BuildMetadata_Arc) GetVersion() string
func (*SystemImage_BuildMetadata_Arc) ProtoMessage ¶
func (*SystemImage_BuildMetadata_Arc) ProtoMessage()
func (*SystemImage_BuildMetadata_Arc) ProtoReflect ¶
func (x *SystemImage_BuildMetadata_Arc) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata_Arc) Reset ¶
func (x *SystemImage_BuildMetadata_Arc) Reset()
func (*SystemImage_BuildMetadata_Arc) String ¶
func (x *SystemImage_BuildMetadata_Arc) String() string
type SystemImage_BuildMetadata_AshChrome ¶
type SystemImage_BuildMetadata_AshChrome struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_BuildMetadata_AshChrome) Descriptor
deprecated
func (*SystemImage_BuildMetadata_AshChrome) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata_AshChrome.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata_AshChrome) GetVersion ¶
func (x *SystemImage_BuildMetadata_AshChrome) GetVersion() string
func (*SystemImage_BuildMetadata_AshChrome) ProtoMessage ¶
func (*SystemImage_BuildMetadata_AshChrome) ProtoMessage()
func (*SystemImage_BuildMetadata_AshChrome) ProtoReflect ¶
func (x *SystemImage_BuildMetadata_AshChrome) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata_AshChrome) Reset ¶
func (x *SystemImage_BuildMetadata_AshChrome) Reset()
func (*SystemImage_BuildMetadata_AshChrome) String ¶
func (x *SystemImage_BuildMetadata_AshChrome) String() string
type SystemImage_BuildMetadata_Chipset ¶
type SystemImage_BuildMetadata_Chipset struct { // Name of the chipset overlay used (e.g. src/overlays/chipset-[VALUE] // Chipsets are SoC family based, so this allows overlays and kernels // to be correlated on a per-soc-family basis. Overlay string `protobuf:"bytes,1,opt,name=overlay,proto3" json:"overlay,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_BuildMetadata_Chipset) Descriptor
deprecated
func (*SystemImage_BuildMetadata_Chipset) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata_Chipset.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata_Chipset) GetOverlay ¶
func (x *SystemImage_BuildMetadata_Chipset) GetOverlay() string
func (*SystemImage_BuildMetadata_Chipset) ProtoMessage ¶
func (*SystemImage_BuildMetadata_Chipset) ProtoMessage()
func (*SystemImage_BuildMetadata_Chipset) ProtoReflect ¶
func (x *SystemImage_BuildMetadata_Chipset) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata_Chipset) Reset ¶
func (x *SystemImage_BuildMetadata_Chipset) Reset()
func (*SystemImage_BuildMetadata_Chipset) String ¶
func (x *SystemImage_BuildMetadata_Chipset) String() string
type SystemImage_BuildMetadata_Kernel ¶
type SystemImage_BuildMetadata_Kernel struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_BuildMetadata_Kernel) Descriptor
deprecated
func (*SystemImage_BuildMetadata_Kernel) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata_Kernel.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata_Kernel) GetVersion ¶
func (x *SystemImage_BuildMetadata_Kernel) GetVersion() string
func (*SystemImage_BuildMetadata_Kernel) ProtoMessage ¶
func (*SystemImage_BuildMetadata_Kernel) ProtoMessage()
func (*SystemImage_BuildMetadata_Kernel) ProtoReflect ¶
func (x *SystemImage_BuildMetadata_Kernel) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata_Kernel) Reset ¶
func (x *SystemImage_BuildMetadata_Kernel) Reset()
func (*SystemImage_BuildMetadata_Kernel) String ¶
func (x *SystemImage_BuildMetadata_Kernel) String() string
type SystemImage_BuildMetadata_PackageSummary ¶
type SystemImage_BuildMetadata_PackageSummary struct { Arc *SystemImage_BuildMetadata_Arc `protobuf:"bytes,1,opt,name=arc,proto3" json:"arc,omitempty"` Chrome *SystemImage_BuildMetadata_AshChrome `protobuf:"bytes,2,opt,name=chrome,proto3" json:"chrome,omitempty"` Chipset *SystemImage_BuildMetadata_Chipset `protobuf:"bytes,3,opt,name=chipset,proto3" json:"chipset,omitempty"` Kernel *SystemImage_BuildMetadata_Kernel `protobuf:"bytes,4,opt,name=kernel,proto3" json:"kernel,omitempty"` Toolchain *SystemImage_BuildMetadata_Toolchain `protobuf:"bytes,5,opt,name=toolchain,proto3" json:"toolchain,omitempty"` // contains filtered or unexported fields }
Provides a summary of common key packages used in the build.
func (*SystemImage_BuildMetadata_PackageSummary) Descriptor
deprecated
func (*SystemImage_BuildMetadata_PackageSummary) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata_PackageSummary.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata_PackageSummary) GetArc ¶
func (x *SystemImage_BuildMetadata_PackageSummary) GetArc() *SystemImage_BuildMetadata_Arc
func (*SystemImage_BuildMetadata_PackageSummary) GetChipset ¶
func (x *SystemImage_BuildMetadata_PackageSummary) GetChipset() *SystemImage_BuildMetadata_Chipset
func (*SystemImage_BuildMetadata_PackageSummary) GetChrome ¶
func (x *SystemImage_BuildMetadata_PackageSummary) GetChrome() *SystemImage_BuildMetadata_AshChrome
func (*SystemImage_BuildMetadata_PackageSummary) GetKernel ¶
func (x *SystemImage_BuildMetadata_PackageSummary) GetKernel() *SystemImage_BuildMetadata_Kernel
func (*SystemImage_BuildMetadata_PackageSummary) GetToolchain ¶
func (x *SystemImage_BuildMetadata_PackageSummary) GetToolchain() *SystemImage_BuildMetadata_Toolchain
func (*SystemImage_BuildMetadata_PackageSummary) ProtoMessage ¶
func (*SystemImage_BuildMetadata_PackageSummary) ProtoMessage()
func (*SystemImage_BuildMetadata_PackageSummary) ProtoReflect ¶
func (x *SystemImage_BuildMetadata_PackageSummary) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata_PackageSummary) Reset ¶
func (x *SystemImage_BuildMetadata_PackageSummary) Reset()
func (*SystemImage_BuildMetadata_PackageSummary) String ¶
func (x *SystemImage_BuildMetadata_PackageSummary) String() string
type SystemImage_BuildMetadata_Toolchain ¶
type SystemImage_BuildMetadata_Toolchain struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_BuildMetadata_Toolchain) Descriptor
deprecated
func (*SystemImage_BuildMetadata_Toolchain) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildMetadata_Toolchain.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildMetadata_Toolchain) GetVersion ¶
func (x *SystemImage_BuildMetadata_Toolchain) GetVersion() string
func (*SystemImage_BuildMetadata_Toolchain) ProtoMessage ¶
func (*SystemImage_BuildMetadata_Toolchain) ProtoMessage()
func (*SystemImage_BuildMetadata_Toolchain) ProtoReflect ¶
func (x *SystemImage_BuildMetadata_Toolchain) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildMetadata_Toolchain) Reset ¶
func (x *SystemImage_BuildMetadata_Toolchain) Reset()
func (*SystemImage_BuildMetadata_Toolchain) String ¶
func (x *SystemImage_BuildMetadata_Toolchain) String() string
type SystemImage_BuildTarget ¶
type SystemImage_BuildTarget struct { PortageBuildTarget *Portage_BuildTarget `protobuf:"bytes,1,opt,name=portage_build_target,json=portageBuildTarget,proto3" json:"portage_build_target,omitempty"` // contains filtered or unexported fields }
Defines build target config required to generate a Chrome OS system image. See: https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_guide.md#Build-a-disk-image-for-your-board
func (*SystemImage_BuildTarget) Descriptor
deprecated
func (*SystemImage_BuildTarget) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_BuildTarget.ProtoReflect.Descriptor instead.
func (*SystemImage_BuildTarget) GetPortageBuildTarget ¶
func (x *SystemImage_BuildTarget) GetPortageBuildTarget() *Portage_BuildTarget
func (*SystemImage_BuildTarget) ProtoMessage ¶
func (*SystemImage_BuildTarget) ProtoMessage()
func (*SystemImage_BuildTarget) ProtoReflect ¶
func (x *SystemImage_BuildTarget) ProtoReflect() protoreflect.Message
func (*SystemImage_BuildTarget) Reset ¶
func (x *SystemImage_BuildTarget) Reset()
func (*SystemImage_BuildTarget) String ¶
func (x *SystemImage_BuildTarget) String() string
type SystemImage_ImageId ¶
type SystemImage_ImageId struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SystemImage_ImageId) Descriptor
deprecated
func (*SystemImage_ImageId) Descriptor() ([]byte, []int)
Deprecated: Use SystemImage_ImageId.ProtoReflect.Descriptor instead.
func (*SystemImage_ImageId) GetValue ¶
func (x *SystemImage_ImageId) GetValue() string
func (*SystemImage_ImageId) ProtoMessage ¶
func (*SystemImage_ImageId) ProtoMessage()
func (*SystemImage_ImageId) ProtoReflect ¶
func (x *SystemImage_ImageId) ProtoReflect() protoreflect.Message
func (*SystemImage_ImageId) Reset ¶
func (x *SystemImage_ImageId) Reset()
func (*SystemImage_ImageId) String ¶
func (x *SystemImage_ImageId) String() string
type TestContainersBuildRequest ¶
type TestContainersBuildRequest struct { // The build target the test service containers are being build for. BuildTarget *BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // The chroot containing the sysroot. Chroot *Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"` // Build version number, which matches the build artifact version // number that will be tested ultimately. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Abstract Container Request.
func (*TestContainersBuildRequest) Descriptor
deprecated
func (*TestContainersBuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestContainersBuildRequest.ProtoReflect.Descriptor instead.
func (*TestContainersBuildRequest) GetBuildTarget ¶
func (x *TestContainersBuildRequest) GetBuildTarget() *BuildTarget
func (*TestContainersBuildRequest) GetChroot ¶
func (x *TestContainersBuildRequest) GetChroot() *Chroot
func (*TestContainersBuildRequest) GetVersion ¶
func (x *TestContainersBuildRequest) GetVersion() string
func (*TestContainersBuildRequest) ProtoMessage ¶
func (*TestContainersBuildRequest) ProtoMessage()
func (*TestContainersBuildRequest) ProtoReflect ¶
func (x *TestContainersBuildRequest) ProtoReflect() protoreflect.Message
func (*TestContainersBuildRequest) Reset ¶
func (x *TestContainersBuildRequest) Reset()
func (*TestContainersBuildRequest) String ¶
func (x *TestContainersBuildRequest) String() string
type TestContainersBuildResult ¶
type TestContainersBuildResult struct { // Human friendly name of the container built (for debugging/reporting only). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Result: // *TestContainersBuildResult_Success_ // *TestContainersBuildResult_Failure_ Result isTestContainersBuildResult_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
Abstracted Result from any test container build.
func (*TestContainersBuildResult) Descriptor
deprecated
func (*TestContainersBuildResult) Descriptor() ([]byte, []int)
Deprecated: Use TestContainersBuildResult.ProtoReflect.Descriptor instead.
func (*TestContainersBuildResult) GetFailure ¶
func (x *TestContainersBuildResult) GetFailure() *TestContainersBuildResult_Failure
func (*TestContainersBuildResult) GetName ¶
func (x *TestContainersBuildResult) GetName() string
func (*TestContainersBuildResult) GetResult ¶
func (m *TestContainersBuildResult) GetResult() isTestContainersBuildResult_Result
func (*TestContainersBuildResult) GetSuccess ¶
func (x *TestContainersBuildResult) GetSuccess() *TestContainersBuildResult_Success
func (*TestContainersBuildResult) ProtoMessage ¶
func (*TestContainersBuildResult) ProtoMessage()
func (*TestContainersBuildResult) ProtoReflect ¶
func (x *TestContainersBuildResult) ProtoReflect() protoreflect.Message
func (*TestContainersBuildResult) Reset ¶
func (x *TestContainersBuildResult) Reset()
func (*TestContainersBuildResult) String ¶
func (x *TestContainersBuildResult) String() string
type TestContainersBuildResult_Failure ¶
type TestContainersBuildResult_Failure struct { // Debugging details about the error that occurred. ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*TestContainersBuildResult_Failure) Descriptor
deprecated
func (*TestContainersBuildResult_Failure) Descriptor() ([]byte, []int)
Deprecated: Use TestContainersBuildResult_Failure.ProtoReflect.Descriptor instead.
func (*TestContainersBuildResult_Failure) GetErrorMessage ¶
func (x *TestContainersBuildResult_Failure) GetErrorMessage() string
func (*TestContainersBuildResult_Failure) ProtoMessage ¶
func (*TestContainersBuildResult_Failure) ProtoMessage()
func (*TestContainersBuildResult_Failure) ProtoReflect ¶
func (x *TestContainersBuildResult_Failure) ProtoReflect() protoreflect.Message
func (*TestContainersBuildResult_Failure) Reset ¶
func (x *TestContainersBuildResult_Failure) Reset()
func (*TestContainersBuildResult_Failure) String ¶
func (x *TestContainersBuildResult_Failure) String() string
type TestContainersBuildResult_Failure_ ¶
type TestContainersBuildResult_Failure_ struct {
Failure *TestContainersBuildResult_Failure `protobuf:"bytes,3,opt,name=failure,proto3,oneof"`
}
type TestContainersBuildResult_Success ¶
type TestContainersBuildResult_Success struct { // Full path to the build artifact in the hosted container registry. RegistryPath string `protobuf:"bytes,1,opt,name=registry_path,json=registryPath,proto3" json:"registry_path,omitempty"` // contains filtered or unexported fields }
func (*TestContainersBuildResult_Success) Descriptor
deprecated
func (*TestContainersBuildResult_Success) Descriptor() ([]byte, []int)
Deprecated: Use TestContainersBuildResult_Success.ProtoReflect.Descriptor instead.
func (*TestContainersBuildResult_Success) GetRegistryPath ¶
func (x *TestContainersBuildResult_Success) GetRegistryPath() string
func (*TestContainersBuildResult_Success) ProtoMessage ¶
func (*TestContainersBuildResult_Success) ProtoMessage()
func (*TestContainersBuildResult_Success) ProtoReflect ¶
func (x *TestContainersBuildResult_Success) ProtoReflect() protoreflect.Message
func (*TestContainersBuildResult_Success) Reset ¶
func (x *TestContainersBuildResult_Success) Reset()
func (*TestContainersBuildResult_Success) String ¶
func (x *TestContainersBuildResult_Success) String() string
type TestContainersBuildResult_Success_ ¶
type TestContainersBuildResult_Success_ struct {
Success *TestContainersBuildResult_Success `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}
type UnimplementedContainerServiceServer ¶
type UnimplementedContainerServiceServer struct { }
UnimplementedContainerServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedContainerServiceServer) BuildTestExecContainer ¶
func (UnimplementedContainerServiceServer) BuildTestExecContainer(context.Context, *BuildTestContainersRequest) (*BuildTestContainersResponse, error)
type UnimplementedMetadataServiceServer ¶
type UnimplementedMetadataServiceServer struct { }
UnimplementedMetadataServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedMetadataServiceServer) GetDeviceConfig ¶
func (UnimplementedMetadataServiceServer) GetDeviceConfig(context.Context, *GetDeviceConfigRequest) (*GetDeviceConfigResponse, error)
type UnsafeContainerServiceServer ¶
type UnsafeContainerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContainerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContainerServiceServer will result in compilation errors.
type UnsafeMetadataServiceServer ¶
type UnsafeMetadataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataServiceServer will result in compilation errors.
type Version ¶
type Version struct { Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
Specifies the version of a firmware binary.
func (*Version) Descriptor
deprecated
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message