import "go.chromium.org/chromiumos/infra/proto/go/chromite/api"
android.pb.go api.pb.go artifacts.pb.go binhost.pb.go build_api.pb.go build_api_config.pb.go build_api_test.pb.go depgraph.pb.go image.pb.go packages.pb.go payload.pb.go sdk.pb.go sysroot.pb.go test.pb.go test_metadata.pb.go toolchain.pb.go
var AFDOArtifactType_name = map[int32]string{ 0: "NONE_TYPE", 1: "ORDERFILE", 2: "BENCHMARK_AFDO", 3: "KERNEL_AFDO", 4: "CHROME_AFDO", }
var AFDOArtifactType_value = map[string]int32{ "NONE_TYPE": 0, "ORDERFILE": 1, "BENCHMARK_AFDO": 2, "KERNEL_AFDO": 3, "CHROME_AFDO": 4, }
var AutotestTest_ExecutionEnvironment_name = map[int32]string{ 0: "EXECUTION_ENVIRONMENT_UNSPECIFIED", 1: "EXECUTION_ENVIRONMENT_CLIENT", 2: "EXECUTION_ENVIRONMENT_SERVER", }
var AutotestTest_ExecutionEnvironment_value = map[string]int32{ "EXECUTION_ENVIRONMENT_UNSPECIFIED": 0, "EXECUTION_ENVIRONMENT_CLIENT": 1, "EXECUTION_ENVIRONMENT_SERVER": 2, }
var BinhostKey_name = map[int32]string{ 0: "UNSPECIFIED", 1: "POSTSUBMIT_BINHOST", 2: "LATEST_RELEASE_CHROME_BINHOST", 3: "PREFLIGHT_BINHOST", }
var BinhostKey_value = map[string]int32{ "UNSPECIFIED": 0, "POSTSUBMIT_BINHOST": 1, "LATEST_RELEASE_CHROME_BINHOST": 2, "PREFLIGHT_BINHOST": 3, }
var CallType_name = map[int32]string{ 0: "CALL_TYPE_NONE", 1: "CALL_TYPE_EXECUTE", 2: "CALL_TYPE_VALIDATE_ONLY", 3: "CALL_TYPE_MOCK_SUCCESS", 4: "CALL_TYPE_MOCK_FAILURE", 5: "CALL_TYPE_MOCK_INVALID", }
var CallType_value = map[string]int32{ "CALL_TYPE_NONE": 0, "CALL_TYPE_EXECUTE": 1, "CALL_TYPE_VALIDATE_ONLY": 2, "CALL_TYPE_MOCK_SUCCESS": 3, "CALL_TYPE_MOCK_FAILURE": 4, "CALL_TYPE_MOCK_INVALID": 5, }
var E_MethodOptions = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*BuildApiMethodOptions)(nil), Field: 55000, Name: "method_options", Tag: "bytes,55000,opt,name=method_options", Filename: "chromite/api/build_api.proto", }
var E_ServiceOptions = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*BuildApiServiceOptions)(nil), Field: 55000, Name: "service_options", Tag: "bytes,55000,opt,name=service_options", Filename: "chromite/api/build_api.proto", }
var MarkStableStatusType_name = map[int32]string{ 0: "MARK_STABLE_STATUS_UNSPECIFIED", 1: "MARK_STABLE_STATUS_SUCCESS", 2: "MARK_STABLE_STATUS_PINNED", 3: "MARK_STABLE_STATUS_EARLY_EXIT", }
var MarkStableStatusType_value = map[string]int32{ "MARK_STABLE_STATUS_UNSPECIFIED": 0, "MARK_STABLE_STATUS_SUCCESS": 1, "MARK_STABLE_STATUS_PINNED": 2, "MARK_STABLE_STATUS_EARLY_EXIT": 3, }
var NeedsChromeSourceResponse_Reason_name = map[int32]string{ 0: "UNSPECIFIED", 1: "NO_PREBUILT", 2: "COMPILE_SOURCE", 3: "LOCAL_UPREV", 4: "FOLLOWER_LACKS_PREBUILT", }
var NeedsChromeSourceResponse_Reason_value = map[string]int32{ "UNSPECIFIED": 0, "NO_PREBUILT": 1, "COMPILE_SOURCE": 2, "LOCAL_UPREV": 3, "FOLLOWER_LACKS_PREBUILT": 4, }
var OverlayType_name = map[int32]string{ 0: "OVERLAYTYPE_UNSPECIFIED", 1: "OVERLAYTYPE_BOTH", 2: "OVERLAYTYPE_PUBLIC", 3: "OVERLAYTYPE_PRIVATE", 4: "OVERLAYTYPE_NONE", }
var OverlayType_value = map[string]int32{ "OVERLAYTYPE_UNSPECIFIED": 0, "OVERLAYTYPE_BOTH": 1, "OVERLAYTYPE_PUBLIC": 2, "OVERLAYTYPE_PRIVATE": 3, "OVERLAYTYPE_NONE": 4, }
var PrepareForBuildResponse_BuildRelevance_name = map[int32]string{ 0: "UNSPECIFIED", 1: "NEEDED", 2: "UNKNOWN", 3: "POINTLESS", }
var PrepareForBuildResponse_BuildRelevance_value = map[string]int32{ "UNSPECIFIED": 0, "NEEDED": 1, "UNKNOWN": 2, "POINTLESS": 3, }
var VmTestRequest_TestHarness_name = map[int32]string{ 0: "UNSPECIFIED", 1: "TAST", 2: "AUTOTEST", }
var VmTestRequest_TestHarness_value = map[string]int32{ "UNSPECIFIED": 0, "TAST": 1, "AUTOTEST": 2, }
func RegisterAndroidServiceServer(s *grpc.Server, srv AndroidServiceServer)
func RegisterArtifactsServiceServer(s *grpc.Server, srv ArtifactsServiceServer)
func RegisterBinhostServiceServer(s *grpc.Server, srv BinhostServiceServer)
func RegisterDependencyServiceServer(s *grpc.Server, srv DependencyServiceServer)
func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer)
func RegisterInsideChrootApiServiceServer(s *grpc.Server, srv InsideChrootApiServiceServer)
func RegisterMethodServiceServer(s *grpc.Server, srv MethodServiceServer)
func RegisterOutsideChrootApiServiceServer(s *grpc.Server, srv OutsideChrootApiServiceServer)
func RegisterPackageServiceServer(s *grpc.Server, srv PackageServiceServer)
func RegisterPayloadServiceServer(s *grpc.Server, srv PayloadServiceServer)
func RegisterSdkServiceServer(s *grpc.Server, srv SdkServiceServer)
func RegisterSysrootServiceServer(s *grpc.Server, srv SysrootServiceServer)
func RegisterTestApiServiceServer(s *grpc.Server, srv TestApiServiceServer)
func RegisterTestMetadataServiceServer(s *grpc.Server, srv TestMetadataServiceServer)
func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
func RegisterToolchainServiceServer(s *grpc.Server, srv ToolchainServiceServer)
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
TODO(crbug.com/1020615): Drop this once this is live in production and all of the users have migrated to using BuilderConfig.Artifacts.ArtifactType Meanwhile, keep this in sync with chromiumos/builder_config.proto.
const ( // No AFDO artifact type specified. AFDOArtifactType_NONE_TYPE AFDOArtifactType = 0 // The type is orderfile. AFDOArtifactType_ORDERFILE AFDOArtifactType = 1 // The type is Chrome AFDO files generated by benchmarks. AFDOArtifactType_BENCHMARK_AFDO AFDOArtifactType = 2 // The type is kernel AFDO files. AFDOArtifactType_KERNEL_AFDO AFDOArtifactType = 3 // The type is Chrome AFDO used in release builders. AFDOArtifactType_CHROME_AFDO AFDOArtifactType = 4 )
func (AFDOArtifactType) EnumDescriptor() ([]byte, []int)
func (x AFDOArtifactType) String() string
type AclArgsRequest struct { // Required. The build target whose Prebuilt ACL args are being fetched. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get the private prebuilts' ACL args for a build target.
func (*AclArgsRequest) Descriptor() ([]byte, []int)
func (m *AclArgsRequest) GetBuildTarget() *chromiumos.BuildTarget
func (*AclArgsRequest) ProtoMessage()
func (m *AclArgsRequest) Reset()
func (m *AclArgsRequest) String() string
func (m *AclArgsRequest) XXX_DiscardUnknown()
func (m *AclArgsRequest) XXX_Merge(src proto.Message)
func (m *AclArgsRequest) XXX_Size() int
func (m *AclArgsRequest) XXX_Unmarshal(b []byte) error
type AclArgsResponse struct { Args []*AclArgsResponse_AclArg `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AclArgsResponse) Descriptor() ([]byte, []int)
func (m *AclArgsResponse) GetArgs() []*AclArgsResponse_AclArg
func (*AclArgsResponse) ProtoMessage()
func (m *AclArgsResponse) Reset()
func (m *AclArgsResponse) String() string
func (m *AclArgsResponse) XXX_DiscardUnknown()
func (m *AclArgsResponse) XXX_Merge(src proto.Message)
func (m *AclArgsResponse) XXX_Size() int
func (m *AclArgsResponse) XXX_Unmarshal(b []byte) error
type AclArgsResponse_AclArg struct { // The argument (usually -g or -u). Arg string `protobuf:"bytes,1,opt,name=arg,proto3" json:"arg,omitempty"` // The argument value ([group_id|user]:PERMISSION) Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An ACL command argument.
func (*AclArgsResponse_AclArg) Descriptor() ([]byte, []int)
func (m *AclArgsResponse_AclArg) GetArg() string
func (m *AclArgsResponse_AclArg) GetValue() string
func (*AclArgsResponse_AclArg) ProtoMessage()
func (m *AclArgsResponse_AclArg) Reset()
func (m *AclArgsResponse_AclArg) String() string
func (m *AclArgsResponse_AclArg) XXX_DiscardUnknown()
func (m *AclArgsResponse_AclArg) XXX_Merge(src proto.Message)
func (m *AclArgsResponse_AclArg) XXX_Size() int
func (m *AclArgsResponse_AclArg) XXX_Unmarshal(b []byte) error
type AndroidServiceClient interface { // The MarkStable method uprevs Android, verifies the newly revved package // can be emerged, and returns the new package info. MarkStable(ctx context.Context, in *MarkStableRequest, opts ...grpc.CallOption) (*MarkStableResponse, error) // Unpin the Android package version. UnpinVersion(ctx context.Context, in *UnpinVersionRequest, opts ...grpc.CallOption) (*UnpinVersionResponse, error) }
AndroidServiceClient is the client API for AndroidService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAndroidServiceClient(cc *grpc.ClientConn) AndroidServiceClient
type AndroidServiceServer interface { // The MarkStable method uprevs Android, verifies the newly revved package // can be emerged, and returns the new package info. MarkStable(context.Context, *MarkStableRequest) (*MarkStableResponse, error) // Unpin the Android package version. UnpinVersion(context.Context, *UnpinVersionRequest) (*UnpinVersionResponse, error) }
AndroidServiceServer is the server API for AndroidService service.
type Artifact struct { // Absolute path to the artifact file. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An artifact is a file generated during or after a build.
type ArtifactInfo struct { // The ArtifactType. ArtifactType chromiumos.BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,1,opt,name=artifact_type,json=artifactType,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"artifact_type,omitempty"` // Artifacts for this ArtifactType. Artifacts []*Artifact `protobuf:"bytes,2,rep,name=artifacts,proto3" json:"artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about a collection of artifacts.
func (*ArtifactInfo) Descriptor() ([]byte, []int)
func (m *ArtifactInfo) GetArtifactType() chromiumos.BuilderConfig_Artifacts_ArtifactTypes
func (m *ArtifactInfo) GetArtifacts() []*Artifact
func (*ArtifactInfo) ProtoMessage()
func (m *ArtifactInfo) Reset()
func (m *ArtifactInfo) String() string
func (m *ArtifactInfo) XXX_DiscardUnknown()
func (m *ArtifactInfo) XXX_Merge(src proto.Message)
func (m *ArtifactInfo) XXX_Size() int
func (m *ArtifactInfo) XXX_Unmarshal(b []byte) error
type ArtifactsServiceClient interface { // Prepare to build artifacts. PrepareForBuild(ctx context.Context, in *PrepareForBuildRequest, opts ...grpc.CallOption) (*PrepareForBuildResponse, error) // Bundle artifacts for build. BundleArtifacts(ctx context.Context, in *BundleArtifactsRequest, opts ...grpc.CallOption) (*BundleArtifactsResponse, error) // Fetch the pinned guest image locations. FetchPinnedGuestImageUris(ctx context.Context, in *PinnedGuestImageUriRequest, opts ...grpc.CallOption) (*PinnedGuestImageUriResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with all files needed for Autotest HW testing. BundleAutotestFiles(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create the ChromeOS Config JSON payload. BundleChromeOSConfig(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with ebuild logs. BundleEbuildLogs(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with unsigned firmware images. BundleFirmware(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar.xz archive for each image that has been created. BundleImageArchives(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Generate zip containing all built images for the target. BundleImageZip(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // DEPRECATED for recipes: crbug/1019868: This are being replaced by // ToolchainService.Bundle{ArtifactType}() // Create Chrome Benchmark AFDO builder artifacts. BundleAFDOGenerationArtifacts(ctx context.Context, in *BundleChromeAFDORequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with all guest images test bundles. BundlePinnedGuestImages(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create the simple chrome artifacts. BundleSimpleChromeArtifacts(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with all files needed for Tast HW testing. BundleTastFiles(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Generate minimal update payloads to be used in HW testing. BundleTestUpdatePayloads(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with VM memory and disk images. BundleVmFiles(ctx context.Context, in *BundleVmFilesRequest, opts ...grpc.CallOption) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Generate a CPE report to a file. ExportCpeReport(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // Generate all Remote Test Driver metadata. // // Response consists of one or more metadata files. Each file must contain a // single binary encoded chromiumos.config.api.test.metadata.v1.Specification // protobuf payload. // Schema defined at // https://chromium.googlesource.com/chromiumos/config/+/refs/heads/master/proto/chromiumos/config/api/test/metadata/v1/metadata.proto // // These artifacts partially replace chromiumos.ArtifactsByService.Test // artifacts. See also, GenerateRemoteTestDriverImages() // // TODO(crbug/1034529): DEPRECATED use BundleArtifacts GenerateRemoteTestDriverSpecification(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) // Generate all Remote Test Driver container images. // // Response consists of one or more Docker container images. // The images are identified by their Docker image digest. The filenames of // the created artifacts are ignored. // // These artifacts partially replace chromiumos.ArtifactsByService.Test // artifacts. See also, GenerateRemoteTestDriverSpecification() // // TODO(crbug/1034529): DEPRECATED use BundleArtifacts GenerateRemoteTestDriverImages(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) }
ArtifactsServiceClient is the client API for ArtifactsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewArtifactsServiceClient(cc *grpc.ClientConn) ArtifactsServiceClient
type ArtifactsServiceServer interface { // Prepare to build artifacts. PrepareForBuild(context.Context, *PrepareForBuildRequest) (*PrepareForBuildResponse, error) // Bundle artifacts for build. BundleArtifacts(context.Context, *BundleArtifactsRequest) (*BundleArtifactsResponse, error) // Fetch the pinned guest image locations. FetchPinnedGuestImageUris(context.Context, *PinnedGuestImageUriRequest) (*PinnedGuestImageUriResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with all files needed for Autotest HW testing. BundleAutotestFiles(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create the ChromeOS Config JSON payload. BundleChromeOSConfig(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with ebuild logs. BundleEbuildLogs(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with unsigned firmware images. BundleFirmware(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar.xz archive for each image that has been created. BundleImageArchives(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Generate zip containing all built images for the target. BundleImageZip(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // DEPRECATED for recipes: crbug/1019868: This are being replaced by // ToolchainService.Bundle{ArtifactType}() // Create Chrome Benchmark AFDO builder artifacts. BundleAFDOGenerationArtifacts(context.Context, *BundleChromeAFDORequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with all guest images test bundles. BundlePinnedGuestImages(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create the simple chrome artifacts. BundleSimpleChromeArtifacts(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with all files needed for Tast HW testing. BundleTastFiles(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Generate minimal update payloads to be used in HW testing. BundleTestUpdatePayloads(context.Context, *BundleRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Create a tar archive with VM memory and disk images. BundleVmFiles(context.Context, *BundleVmFilesRequest) (*BundleResponse, error) // TODO(crbug/1034529): DEPRECATED use BundleArtifacts // Generate a CPE report to a file. ExportCpeReport(context.Context, *BundleRequest) (*BundleResponse, error) // Generate all Remote Test Driver metadata. // // Response consists of one or more metadata files. Each file must contain a // single binary encoded chromiumos.config.api.test.metadata.v1.Specification // protobuf payload. // Schema defined at // https://chromium.googlesource.com/chromiumos/config/+/refs/heads/master/proto/chromiumos/config/api/test/metadata/v1/metadata.proto // // These artifacts partially replace chromiumos.ArtifactsByService.Test // artifacts. See also, GenerateRemoteTestDriverImages() // // TODO(crbug/1034529): DEPRECATED use BundleArtifacts GenerateRemoteTestDriverSpecification(context.Context, *BundleRequest) (*BundleResponse, error) // Generate all Remote Test Driver container images. // // Response consists of one or more Docker container images. // The images are identified by their Docker image digest. The filenames of // the created artifacts are ignored. // // These artifacts partially replace chromiumos.ArtifactsByService.Test // artifacts. See also, GenerateRemoteTestDriverSpecification() // // TODO(crbug/1034529): DEPRECATED use BundleArtifacts GenerateRemoteTestDriverImages(context.Context, *BundleRequest) (*BundleResponse, error) }
ArtifactsServiceServer is the server API for ArtifactsService service.
type AutotestSuite struct { // Unique across all suites. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // These are appended to the dependencies of each child task. ChildDependencies []*AutotestTaskDependency `protobuf:"bytes,2,rep,name=child_dependencies,json=childDependencies,proto3" json:"child_dependencies,omitempty"` ChildTaskTimeoutSec int32 `protobuf:"varint,3,opt,name=child_task_timeout_sec,json=childTaskTimeoutSec,proto3" json:"child_task_timeout_sec,omitempty"` Tests []*AutotestSuite_TestReference `protobuf:"bytes,4,rep,name=tests,proto3" json:"tests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AutotestSuite) Descriptor() ([]byte, []int)
func (m *AutotestSuite) GetChildDependencies() []*AutotestTaskDependency
func (m *AutotestSuite) GetChildTaskTimeoutSec() int32
func (m *AutotestSuite) GetName() string
func (m *AutotestSuite) GetTests() []*AutotestSuite_TestReference
func (*AutotestSuite) ProtoMessage()
func (m *AutotestSuite) Reset()
func (m *AutotestSuite) String() string
func (m *AutotestSuite) XXX_DiscardUnknown()
func (m *AutotestSuite) XXX_Merge(src proto.Message)
func (m *AutotestSuite) XXX_Size() int
func (m *AutotestSuite) XXX_Unmarshal(b []byte) error
type AutotestSuite_TestReference struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AutotestSuite_TestReference) Descriptor() ([]byte, []int)
func (m *AutotestSuite_TestReference) GetName() string
func (*AutotestSuite_TestReference) ProtoMessage()
func (m *AutotestSuite_TestReference) Reset()
func (m *AutotestSuite_TestReference) String() string
func (m *AutotestSuite_TestReference) XXX_DiscardUnknown()
func (m *AutotestSuite_TestReference) XXX_Merge(src proto.Message)
func (m *AutotestSuite_TestReference) XXX_Size() int
func (m *AutotestSuite_TestReference) XXX_Unmarshal(b []byte) error
type AutotestTaskDependency struct { // Opaque string label that encodes characteristics of the device to use for // the task. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AutotestTaskDependency) Descriptor() ([]byte, []int)
func (m *AutotestTaskDependency) GetLabel() string
func (*AutotestTaskDependency) ProtoMessage()
func (m *AutotestTaskDependency) Reset()
func (m *AutotestTaskDependency) String() string
func (m *AutotestTaskDependency) XXX_DiscardUnknown()
func (m *AutotestTaskDependency) XXX_Merge(src proto.Message)
func (m *AutotestTaskDependency) XXX_Size() int
func (m *AutotestTaskDependency) XXX_Unmarshal(b []byte) error
type AutotestTest struct { // Unique across all tests. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Autotest string labels to control which device the test runs on. Dependencies []*AutotestTaskDependency `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` AllowRetries bool `protobuf:"varint,3,opt,name=allow_retries,json=allowRetries,proto3" json:"allow_retries,omitempty"` // Only meaningful if allow_retries is true. // Total number of attempts for a failed test will be (1 + max_retries). MaxRetries int32 `protobuf:"varint,4,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` NeedsMultipleDuts bool `protobuf:"varint,5,opt,name=needs_multiple_duts,json=needsMultipleDuts,proto3" json:"needs_multiple_duts,omitempty"` // Only meaningful if needs_multiple_duts is true. // Values <= 2 are disallowed. DutCount int32 `protobuf:"varint,6,opt,name=dut_count,json=dutCount,proto3" json:"dut_count,omitempty"` ExecutionEnvironment AutotestTest_ExecutionEnvironment `protobuf:"varint,7,opt,name=execution_environment,json=executionEnvironment,proto3,enum=chromite.api.AutotestTest_ExecutionEnvironment" json:"execution_environment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AutotestTest) Descriptor() ([]byte, []int)
func (m *AutotestTest) GetAllowRetries() bool
func (m *AutotestTest) GetDependencies() []*AutotestTaskDependency
func (m *AutotestTest) GetDutCount() int32
func (m *AutotestTest) GetExecutionEnvironment() AutotestTest_ExecutionEnvironment
func (m *AutotestTest) GetMaxRetries() int32
func (m *AutotestTest) GetName() string
func (m *AutotestTest) GetNeedsMultipleDuts() bool
func (*AutotestTest) ProtoMessage()
func (m *AutotestTest) Reset()
func (m *AutotestTest) String() string
func (m *AutotestTest) XXX_DiscardUnknown()
func (m *AutotestTest) XXX_Merge(src proto.Message)
func (m *AutotestTest) XXX_Size() int
func (m *AutotestTest) XXX_Unmarshal(b []byte) error
type AutotestTestMetadata struct { Suites []*AutotestSuite `protobuf:"bytes,1,rep,name=suites,proto3" json:"suites,omitempty"` Tests []*AutotestTest `protobuf:"bytes,2,rep,name=tests,proto3" json:"tests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AutotestTestMetadata) Descriptor() ([]byte, []int)
func (m *AutotestTestMetadata) GetSuites() []*AutotestSuite
func (m *AutotestTestMetadata) GetTests() []*AutotestTest
func (*AutotestTestMetadata) ProtoMessage()
func (m *AutotestTestMetadata) Reset()
func (m *AutotestTestMetadata) String() string
func (m *AutotestTestMetadata) XXX_DiscardUnknown()
func (m *AutotestTestMetadata) XXX_Merge(src proto.Message)
func (m *AutotestTestMetadata) XXX_Size() int
func (m *AutotestTestMetadata) XXX_Unmarshal(b []byte) error
const ( AutotestTest_EXECUTION_ENVIRONMENT_UNSPECIFIED AutotestTest_ExecutionEnvironment = 0 // Autotest calls tests that run on the Device Under Test "client" tests. AutotestTest_EXECUTION_ENVIRONMENT_CLIENT AutotestTest_ExecutionEnvironment = 1 // Autotest calls tests that run on the autotest drone "server" tests. AutotestTest_EXECUTION_ENVIRONMENT_SERVER AutotestTest_ExecutionEnvironment = 2 )
func (AutotestTest_ExecutionEnvironment) EnumDescriptor() ([]byte, []int)
func (x AutotestTest_ExecutionEnvironment) String() string
type Binhost struct { // The binhost URI. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // The package index file name relative to the base binhost uri. PackageIndex string `protobuf:"bytes,2,opt,name=package_index,json=packageIndex,proto3" json:"package_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
type BinhostGetRequest struct { // Required. // The build target whose binhosts are being fetched. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Required. // Whether to include private binhosts. Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get the binhosts for the build target.
func (*BinhostGetRequest) Descriptor() ([]byte, []int)
func (m *BinhostGetRequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *BinhostGetRequest) GetPrivate() bool
func (*BinhostGetRequest) ProtoMessage()
func (m *BinhostGetRequest) Reset()
func (m *BinhostGetRequest) String() string
func (m *BinhostGetRequest) XXX_DiscardUnknown()
func (m *BinhostGetRequest) XXX_Merge(src proto.Message)
func (m *BinhostGetRequest) XXX_Size() int
func (m *BinhostGetRequest) XXX_Unmarshal(b []byte) error
type BinhostGetResponse struct { // The binhosts. Binhosts []*Binhost `protobuf:"bytes,1,rep,name=binhosts,proto3" json:"binhosts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BinhostGetResponse) Descriptor() ([]byte, []int)
func (m *BinhostGetResponse) GetBinhosts() []*Binhost
func (*BinhostGetResponse) ProtoMessage()
func (m *BinhostGetResponse) Reset()
func (m *BinhostGetResponse) String() string
func (m *BinhostGetResponse) XXX_DiscardUnknown()
func (m *BinhostGetResponse) XXX_Merge(src proto.Message)
func (m *BinhostGetResponse) XXX_Size() int
func (m *BinhostGetResponse) XXX_Unmarshal(b []byte) error
Portage environment variable that points to a remote binhost.
const ( // No binhost key was specified. BinhostKey_UNSPECIFIED BinhostKey = 0 // Contains prebuilts generated by the postsubmit builder. BinhostKey_POSTSUBMIT_BINHOST BinhostKey = 1 // Contains prebuilts generated by the PFQ. BinhostKey_LATEST_RELEASE_CHROME_BINHOST BinhostKey = 2 // Contains prebuilts generated by pre-flight builders. BinhostKey_PREFLIGHT_BINHOST BinhostKey = 3 )
func (BinhostKey) EnumDescriptor() ([]byte, []int)
func (x BinhostKey) String() string
type BinhostServiceClient interface { // Get the binhosts for a build target. Get(ctx context.Context, in *BinhostGetRequest, opts ...grpc.CallOption) (*BinhostGetResponse, error) // Get the arguments from the private overlay's ACL file. GetPrivatePrebuiltAclArgs(ctx context.Context, in *AclArgsRequest, opts ...grpc.CallOption) (*AclArgsResponse, error) // Return a list of files to upload to the binhost. Importantly, this method // assumes that all files, once uploaded, will share the same relative path // on the remote disk as they do on the remote disk. E.g., package foo/bar, // stored locally at /mnt/bin/foo/bar, must be uploaded to <uri>/foo/bar. PrepareBinhostUploads(ctx context.Context, in *PrepareBinhostUploadsRequest, opts ...grpc.CallOption) (*PrepareBinhostUploadsResponse, error) // Return a list of dev-install files to upload to the binhost. Like // PrepareBinhostUploads, this method assumes that all files, once uploaded, // will share the same relative path on the remote disk as they do on the // remote disk. PrepareDevInstallBinhostUploads(ctx context.Context, in *PrepareDevInstallBinhostUploadsRequest, opts ...grpc.CallOption) (*PrepareDevInstallBinhostUploadsResponse, error) // Update the binhost key for a build targets. SetBinhost(ctx context.Context, in *SetBinhostRequest, opts ...grpc.CallOption) (*SetBinhostResponse, error) // Regenerate the builder cache. RegenBuildCache(ctx context.Context, in *RegenBuildCacheRequest, opts ...grpc.CallOption) (*RegenBuildCacheResponse, error) }
BinhostServiceClient is the client API for BinhostService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBinhostServiceClient(cc *grpc.ClientConn) BinhostServiceClient
type BinhostServiceServer interface { // Get the binhosts for a build target. Get(context.Context, *BinhostGetRequest) (*BinhostGetResponse, error) // Get the arguments from the private overlay's ACL file. GetPrivatePrebuiltAclArgs(context.Context, *AclArgsRequest) (*AclArgsResponse, error) // Return a list of files to upload to the binhost. Importantly, this method // assumes that all files, once uploaded, will share the same relative path // on the remote disk as they do on the remote disk. E.g., package foo/bar, // stored locally at /mnt/bin/foo/bar, must be uploaded to <uri>/foo/bar. PrepareBinhostUploads(context.Context, *PrepareBinhostUploadsRequest) (*PrepareBinhostUploadsResponse, error) // Return a list of dev-install files to upload to the binhost. Like // PrepareBinhostUploads, this method assumes that all files, once uploaded, // will share the same relative path on the remote disk as they do on the // remote disk. PrepareDevInstallBinhostUploads(context.Context, *PrepareDevInstallBinhostUploadsRequest) (*PrepareDevInstallBinhostUploadsResponse, error) // Update the binhost key for a build targets. SetBinhost(context.Context, *SetBinhostRequest) (*SetBinhostResponse, error) // Regenerate the builder cache. RegenBuildCache(context.Context, *RegenBuildCacheRequest) (*RegenBuildCacheResponse, error) }
BinhostServiceServer is the server API for BinhostService service.
type Build struct { // The board of the image "x86-mario", etc. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // The version of the image. "0.14.23.2", "3401.0.0", etc. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The bucket of the image. "chromeos-releases" as default. Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"` // The channel of the image "stable-channel", "nplusone", etc. Channel string `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Defines a single build directory in storage.
func (m *Build) GetBuildTarget() *chromiumos.BuildTarget
type BuildApiConfig struct { // The logs are always sent to stdout. Setting this log path allows also // sending the logs to a file (i.e. tee-ing the logs). LogPath string `protobuf:"bytes,1,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` // The type of call being made. By default the endpoint will execute // normally, but other testing execution modes can be enabled that help // test API consumer code. CallType CallType `protobuf:"varint,2,opt,name=call_type,json=callType,proto3,enum=chromite.api.CallType" json:"call_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The config message itself. This is the message passed to the Build API's config option.
func (*BuildApiConfig) Descriptor() ([]byte, []int)
func (m *BuildApiConfig) GetCallType() CallType
func (m *BuildApiConfig) GetLogPath() string
func (*BuildApiConfig) ProtoMessage()
func (m *BuildApiConfig) Reset()
func (m *BuildApiConfig) String() string
func (m *BuildApiConfig) XXX_DiscardUnknown()
func (m *BuildApiConfig) XXX_Merge(src proto.Message)
func (m *BuildApiConfig) XXX_Size() int
func (m *BuildApiConfig) XXX_Unmarshal(b []byte) error
type BuildApiMethodOptions struct { // The name of the function implementing the method if different than the // method name defined in the .proto. ImplementationName *string `protobuf:"bytes,1,opt,name=implementation_name,json=implementationName" json:"implementation_name,omitempty"` // Assert the method is run inside/outside the chroot when specified, // overriding the service config when set. MethodChrootAssert *ChrootAssertion `protobuf:"varint,2,opt,name=method_chroot_assert,json=methodChrootAssert,enum=ChrootAssertion" json:"method_chroot_assert,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Custom Method options.
func (*BuildApiMethodOptions) Descriptor() ([]byte, []int)
func (m *BuildApiMethodOptions) GetImplementationName() string
func (m *BuildApiMethodOptions) GetMethodChrootAssert() ChrootAssertion
func (*BuildApiMethodOptions) ProtoMessage()
func (m *BuildApiMethodOptions) Reset()
func (m *BuildApiMethodOptions) String() string
func (m *BuildApiMethodOptions) XXX_DiscardUnknown()
func (m *BuildApiMethodOptions) XXX_Merge(src proto.Message)
func (m *BuildApiMethodOptions) XXX_Size() int
func (m *BuildApiMethodOptions) XXX_Unmarshal(b []byte) error
type BuildApiServiceOptions struct { // The name of the controller module implementing the service. Module *string `protobuf:"bytes,1,req,name=module" json:"module,omitempty"` // Assert any methods in the service are run inside/outside the chroot when // specified, unless overridden by the method config. ServiceChrootAssert *ChrootAssertion `protobuf:"varint,2,opt,name=service_chroot_assert,json=serviceChrootAssert,enum=ChrootAssertion" json:"service_chroot_assert,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Custom Service options.
func (*BuildApiServiceOptions) Descriptor() ([]byte, []int)
func (m *BuildApiServiceOptions) GetModule() string
func (m *BuildApiServiceOptions) GetServiceChrootAssert() ChrootAssertion
func (*BuildApiServiceOptions) ProtoMessage()
func (m *BuildApiServiceOptions) Reset()
func (m *BuildApiServiceOptions) String() string
func (m *BuildApiServiceOptions) XXX_DiscardUnknown()
func (m *BuildApiServiceOptions) XXX_Merge(src proto.Message)
func (m *BuildApiServiceOptions) XXX_Size() int
func (m *BuildApiServiceOptions) XXX_Unmarshal(b []byte) error
type BuildTargetUnitTestRequest struct { // The build target being tested. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // The path where the result tarball should be saved. ResultPath string `protobuf:"bytes,2,opt,name=result_path,json=resultPath,proto3" json:"result_path,omitempty"` // The chroot containing the sysroot. Chroot *chromiumos.Chroot `protobuf:"bytes,3,opt,name=chroot,proto3" json:"chroot,omitempty"` // The flags. Flags *BuildTargetUnitTestRequest_Flags `protobuf:"bytes,4,opt,name=flags,proto3" json:"flags,omitempty"` // Skipped packages. // Deprecated in favor of package_blocklist. // Left in place for compatibility for now. // TODO: Change to reserved after 2021-06-01 and recipes have been updated. PackageBlacklist []*chromiumos.PackageInfo `protobuf:"bytes,5,rep,name=package_blacklist,json=packageBlacklist,proto3" json:"package_blacklist,omitempty"` // Packages to be tested. // Defaults to all testable packages when none are given. Packages []*chromiumos.PackageInfo `protobuf:"bytes,6,rep,name=packages,proto3" json:"packages,omitempty"` // Skipped packages. PackageBlocklist []*chromiumos.PackageInfo `protobuf:"bytes,7,rep,name=package_blocklist,json=packageBlocklist,proto3" json:"package_blocklist,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildTargetUnitTestRequest) Descriptor() ([]byte, []int)
func (m *BuildTargetUnitTestRequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *BuildTargetUnitTestRequest) GetChroot() *chromiumos.Chroot
func (m *BuildTargetUnitTestRequest) GetFlags() *BuildTargetUnitTestRequest_Flags
func (m *BuildTargetUnitTestRequest) GetPackageBlacklist() []*chromiumos.PackageInfo
func (m *BuildTargetUnitTestRequest) GetPackageBlocklist() []*chromiumos.PackageInfo
func (m *BuildTargetUnitTestRequest) GetPackages() []*chromiumos.PackageInfo
func (m *BuildTargetUnitTestRequest) GetResultPath() string
func (*BuildTargetUnitTestRequest) ProtoMessage()
func (m *BuildTargetUnitTestRequest) Reset()
func (m *BuildTargetUnitTestRequest) String() string
func (m *BuildTargetUnitTestRequest) XXX_DiscardUnknown()
func (m *BuildTargetUnitTestRequest) XXX_Merge(src proto.Message)
func (m *BuildTargetUnitTestRequest) XXX_Size() int
func (m *BuildTargetUnitTestRequest) XXX_Unmarshal(b []byte) error
type BuildTargetUnitTestRequest_Flags struct { // Assume the sysroot is empty. EmptySysroot bool `protobuf:"varint,1,opt,name=empty_sysroot,json=emptySysroot,proto3" json:"empty_sysroot,omitempty"` // Whether a toolchain change has occurred. ToolchainChanged bool `protobuf:"varint,2,opt,name=toolchain_changed,json=toolchainChanged,proto3" json:"toolchain_changed,omitempty"` // Whether to produce code coverage data. CodeCoverage bool `protobuf:"varint,3,opt,name=code_coverage,json=codeCoverage,proto3" json:"code_coverage,omitempty"` // Whether to allow no testable packages to be found. TestablePackagesOptional bool `protobuf:"varint,4,opt,name=testable_packages_optional,json=testablePackagesOptional,proto3" json:"testable_packages_optional,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildTargetUnitTestRequest_Flags) Descriptor() ([]byte, []int)
func (m *BuildTargetUnitTestRequest_Flags) GetCodeCoverage() bool
func (m *BuildTargetUnitTestRequest_Flags) GetEmptySysroot() bool
func (m *BuildTargetUnitTestRequest_Flags) GetTestablePackagesOptional() bool
func (m *BuildTargetUnitTestRequest_Flags) GetToolchainChanged() bool
func (*BuildTargetUnitTestRequest_Flags) ProtoMessage()
func (m *BuildTargetUnitTestRequest_Flags) Reset()
func (m *BuildTargetUnitTestRequest_Flags) String() string
func (m *BuildTargetUnitTestRequest_Flags) XXX_DiscardUnknown()
func (m *BuildTargetUnitTestRequest_Flags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BuildTargetUnitTestRequest_Flags) XXX_Merge(src proto.Message)
func (m *BuildTargetUnitTestRequest_Flags) XXX_Size() int
func (m *BuildTargetUnitTestRequest_Flags) XXX_Unmarshal(b []byte) error
type BuildTargetUnitTestResponse struct { // The unittest tarball that was created. TarballPath string `protobuf:"bytes,1,opt,name=tarball_path,json=tarballPath,proto3" json:"tarball_path,omitempty"` // The list of packages that failed. FailedPackages []*chromiumos.PackageInfo `protobuf:"bytes,2,rep,name=failed_packages,json=failedPackages,proto3" json:"failed_packages,omitempty"` // The metric events that occurred during the running of BuildTargetUnitTest. Events []*chromiumos.MetricEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildTargetUnitTestResponse) Descriptor() ([]byte, []int)
func (m *BuildTargetUnitTestResponse) GetEvents() []*chromiumos.MetricEvent
func (m *BuildTargetUnitTestResponse) GetFailedPackages() []*chromiumos.PackageInfo
func (m *BuildTargetUnitTestResponse) GetTarballPath() string
func (*BuildTargetUnitTestResponse) ProtoMessage()
func (m *BuildTargetUnitTestResponse) Reset()
func (m *BuildTargetUnitTestResponse) String() string
func (m *BuildTargetUnitTestResponse) XXX_DiscardUnknown()
func (m *BuildTargetUnitTestResponse) XXX_Merge(src proto.Message)
func (m *BuildTargetUnitTestResponse) XXX_Size() int
func (m *BuildTargetUnitTestResponse) XXX_Unmarshal(b []byte) error
type BuildsChromeRequest struct { // The chroot where the operations will be executed. // Required. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` // The build target we are checking for. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // List of packages to be installed by the builder. If none are specified the // standard list of packages is used. Packages []*chromiumos.PackageInfo `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This can easily be generalized to a Builds method if necessary, but currently we have no use case for anything but Chrome, and making this specifically for Chrome simplifies the calling code significantly.
func (*BuildsChromeRequest) Descriptor() ([]byte, []int)
func (m *BuildsChromeRequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *BuildsChromeRequest) GetChroot() *chromiumos.Chroot
func (m *BuildsChromeRequest) GetPackages() []*chromiumos.PackageInfo
func (*BuildsChromeRequest) ProtoMessage()
func (m *BuildsChromeRequest) Reset()
func (m *BuildsChromeRequest) String() string
func (m *BuildsChromeRequest) XXX_DiscardUnknown()
func (m *BuildsChromeRequest) XXX_Merge(src proto.Message)
func (m *BuildsChromeRequest) XXX_Size() int
func (m *BuildsChromeRequest) XXX_Unmarshal(b []byte) error
type BuildsChromeResponse struct { // Whether or not it builds chrome. BuildsChrome bool `protobuf:"varint,1,opt,name=builds_chrome,json=buildsChrome,proto3" json:"builds_chrome,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildsChromeResponse) Descriptor() ([]byte, []int)
func (m *BuildsChromeResponse) GetBuildsChrome() bool
func (*BuildsChromeResponse) ProtoMessage()
func (m *BuildsChromeResponse) Reset()
func (m *BuildsChromeResponse) String() string
func (m *BuildsChromeResponse) XXX_DiscardUnknown()
func (m *BuildsChromeResponse) XXX_Merge(src proto.Message)
func (m *BuildsChromeResponse) XXX_Size() int
func (m *BuildsChromeResponse) XXX_Unmarshal(b []byte) error
type BundleArtifactsRequest struct { // The chroot where the sysroot lives. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` // The sysroot where the files live. Sysroot *Sysroot `protobuf:"bytes,2,opt,name=sysroot,proto3" json:"sysroot,omitempty"` // Artifact information. ArtifactInfo *chromiumos.ArtifactsByService `protobuf:"bytes,3,opt,name=artifact_info,json=artifactInfo,proto3" json:"artifact_info,omitempty"` // Absolute path to the directory in which artifacts should be dropped. OutputDir string `protobuf:"bytes,4,opt,name=output_dir,json=outputDir,proto3" json:"output_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BundleArtifactsRequest) Descriptor() ([]byte, []int)
func (m *BundleArtifactsRequest) GetArtifactInfo() *chromiumos.ArtifactsByService
func (m *BundleArtifactsRequest) GetChroot() *chromiumos.Chroot
func (m *BundleArtifactsRequest) GetOutputDir() string
func (m *BundleArtifactsRequest) GetSysroot() *Sysroot
func (*BundleArtifactsRequest) ProtoMessage()
func (m *BundleArtifactsRequest) Reset()
func (m *BundleArtifactsRequest) String() string
func (m *BundleArtifactsRequest) XXX_DiscardUnknown()
func (m *BundleArtifactsRequest) XXX_Merge(src proto.Message)
func (m *BundleArtifactsRequest) XXX_Size() int
func (m *BundleArtifactsRequest) XXX_Unmarshal(b []byte) error
type BundleArtifactsResponse struct { // The artifacts that were bundled. Artifacts *chromiumos.UploadedArtifactsByService `protobuf:"bytes,1,opt,name=artifacts,proto3" json:"artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BundleArtifactsResponse) Descriptor() ([]byte, []int)
func (m *BundleArtifactsResponse) GetArtifacts() *chromiumos.UploadedArtifactsByService
func (*BundleArtifactsResponse) ProtoMessage()
func (m *BundleArtifactsResponse) Reset()
func (m *BundleArtifactsResponse) String() string
func (m *BundleArtifactsResponse) XXX_DiscardUnknown()
func (m *BundleArtifactsResponse) XXX_Merge(src proto.Message)
func (m *BundleArtifactsResponse) XXX_Size() int
func (m *BundleArtifactsResponse) XXX_Unmarshal(b []byte) error
type BundleChromeAFDORequest struct { // The chroot where the orderfile lives. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` // The build_target of the builder. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Absolute path to the directory in which artifacts should be dropped. OutputDir string `protobuf:"bytes,3,opt,name=output_dir,json=outputDir,proto3" json:"output_dir,omitempty"` // The type of AFDO artifact (benchmark-afdo or orderfile) ArtifactType chromiumos.AFDOArtifactType `protobuf:"varint,4,opt,name=artifact_type,json=artifactType,proto3,enum=chromiumos.AFDOArtifactType" json:"artifact_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DEPRECATED for recipes: crbug/1019868: This is being replaced with BundleRequest. Request describing where to find Chrome AFDO artifacts
func (*BundleChromeAFDORequest) Descriptor() ([]byte, []int)
func (m *BundleChromeAFDORequest) GetArtifactType() chromiumos.AFDOArtifactType
func (m *BundleChromeAFDORequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *BundleChromeAFDORequest) GetChroot() *chromiumos.Chroot
func (m *BundleChromeAFDORequest) GetOutputDir() string
func (*BundleChromeAFDORequest) ProtoMessage()
func (m *BundleChromeAFDORequest) Reset()
func (m *BundleChromeAFDORequest) String() string
func (m *BundleChromeAFDORequest) XXX_DiscardUnknown()
func (m *BundleChromeAFDORequest) XXX_Merge(src proto.Message)
func (m *BundleChromeAFDORequest) XXX_Size() int
func (m *BundleChromeAFDORequest) XXX_Unmarshal(b []byte) error
type BundleRequest struct { // The build target to bundle artifacts for. // Deprecated. Use sysroot instead. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Absolute path to the directory in which artifacts should be dropped. OutputDir string `protobuf:"bytes,2,opt,name=output_dir,json=outputDir,proto3" json:"output_dir,omitempty"` // The chroot where the sysroot lives. Chroot *chromiumos.Chroot `protobuf:"bytes,3,opt,name=chroot,proto3" json:"chroot,omitempty"` // The sysroot where the files live. Sysroot *Sysroot `protobuf:"bytes,4,opt,name=sysroot,proto3" json:"sysroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request describing where build artifact bundles for a given build target should be dumped. TODO(crbug/1034529): BundleRequest and BundleResponse are being deprecated (along with most of this file). See BundleArtifactsRequest/Response
func (*BundleRequest) Descriptor() ([]byte, []int)
func (m *BundleRequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *BundleRequest) GetChroot() *chromiumos.Chroot
func (m *BundleRequest) GetOutputDir() string
func (m *BundleRequest) GetSysroot() *Sysroot
func (*BundleRequest) ProtoMessage()
func (m *BundleRequest) Reset()
func (m *BundleRequest) String() string
func (m *BundleRequest) XXX_DiscardUnknown()
func (m *BundleRequest) XXX_Merge(src proto.Message)
func (m *BundleRequest) XXX_Size() int
func (m *BundleRequest) XXX_Unmarshal(b []byte) error
type BundleResponse struct { // The artifacts that added to the output directory. Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response describing which bundles were dumped to the given output directory.
func (*BundleResponse) Descriptor() ([]byte, []int)
func (m *BundleResponse) GetArtifacts() []*Artifact
func (*BundleResponse) ProtoMessage()
func (m *BundleResponse) Reset()
func (m *BundleResponse) String() string
func (m *BundleResponse) XXX_DiscardUnknown()
func (m *BundleResponse) XXX_Merge(src proto.Message)
func (m *BundleResponse) XXX_Size() int
func (m *BundleResponse) XXX_Unmarshal(b []byte) error
type BundleToolchainRequest struct { // The chroot where the sysroot lives. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` // The sysroot where the files live. Sysroot *Sysroot `protobuf:"bytes,2,opt,name=sysroot,proto3" json:"sysroot,omitempty"` // Absolute path to the directory in which artifacts should be dropped. OutputDir string `protobuf:"bytes,3,opt,name=output_dir,json=outputDir,proto3" json:"output_dir,omitempty"` // Which artifacts are wanted? ArtifactTypes []chromiumos.BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,4,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"artifact_types,omitempty"` // Additional arguments that were used in PrepareForBuild. // TODO(crbug/1019868): Transition to artifact_profile_info. AdditionalArgs *chromiumos.PrepareForBuildAdditionalArgs `protobuf:"bytes,5,opt,name=additional_args,json=additionalArgs,proto3" json:"additional_args,omitempty"` // Profile information used for the artifact. ProfileInfo *chromiumos.ArtifactProfileInfo `protobuf:"bytes,6,opt,name=profile_info,json=profileInfo,proto3" json:"profile_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BundleToolchainRequest) Descriptor() ([]byte, []int)
func (m *BundleToolchainRequest) GetAdditionalArgs() *chromiumos.PrepareForBuildAdditionalArgs
func (m *BundleToolchainRequest) GetArtifactTypes() []chromiumos.BuilderConfig_Artifacts_ArtifactTypes
func (m *BundleToolchainRequest) GetChroot() *chromiumos.Chroot
func (m *BundleToolchainRequest) GetOutputDir() string
func (m *BundleToolchainRequest) GetProfileInfo() *chromiumos.ArtifactProfileInfo
func (m *BundleToolchainRequest) GetSysroot() *Sysroot
func (*BundleToolchainRequest) ProtoMessage()
func (m *BundleToolchainRequest) Reset()
func (m *BundleToolchainRequest) String() string
func (m *BundleToolchainRequest) XXX_DiscardUnknown()
func (m *BundleToolchainRequest) XXX_Merge(src proto.Message)
func (m *BundleToolchainRequest) XXX_Size() int
func (m *BundleToolchainRequest) XXX_Unmarshal(b []byte) error
type BundleToolchainResponse struct { // The artifacts that added to the output directory. ArtifactsInfo []*ArtifactInfo `protobuf:"bytes,2,rep,name=artifacts_info,json=artifactsInfo,proto3" json:"artifacts_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response describing which bundles were dumped to the given output directory.
func (*BundleToolchainResponse) Descriptor() ([]byte, []int)
func (m *BundleToolchainResponse) GetArtifactsInfo() []*ArtifactInfo
func (*BundleToolchainResponse) ProtoMessage()
func (m *BundleToolchainResponse) Reset()
func (m *BundleToolchainResponse) String() string
func (m *BundleToolchainResponse) XXX_DiscardUnknown()
func (m *BundleToolchainResponse) XXX_Merge(src proto.Message)
func (m *BundleToolchainResponse) XXX_Size() int
func (m *BundleToolchainResponse) XXX_Unmarshal(b []byte) error
type BundleVmFilesRequest struct { // The chroot where the sysroot lives. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` // The sysroot where the files live. Sysroot *Sysroot `protobuf:"bytes,2,opt,name=sysroot,proto3" json:"sysroot,omitempty"` // Test results directory relative to the sysroot. TestResultsDir string `protobuf:"bytes,3,opt,name=test_results_dir,json=testResultsDir,proto3" json:"test_results_dir,omitempty"` // Absolute path to the directory in which artifacts should be dropped. OutputDir string `protobuf:"bytes,4,opt,name=output_dir,json=outputDir,proto3" json:"output_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request describing where to find build artifacts that are taken from a sysroot.
func (*BundleVmFilesRequest) Descriptor() ([]byte, []int)
func (m *BundleVmFilesRequest) GetChroot() *chromiumos.Chroot
func (m *BundleVmFilesRequest) GetOutputDir() string
func (m *BundleVmFilesRequest) GetSysroot() *Sysroot
func (m *BundleVmFilesRequest) GetTestResultsDir() string
func (*BundleVmFilesRequest) ProtoMessage()
func (m *BundleVmFilesRequest) Reset()
func (m *BundleVmFilesRequest) String() string
func (m *BundleVmFilesRequest) XXX_DiscardUnknown()
func (m *BundleVmFilesRequest) XXX_Merge(src proto.Message)
func (m *BundleVmFilesRequest) XXX_Size() int
func (m *BundleVmFilesRequest) XXX_Unmarshal(b []byte) error
The type of Build API call being made. This allows specifying the desired behavior for testing purposes.
const ( // None set, treated as a CALL_TYPE_EXECUTE. CallType_CALL_TYPE_NONE CallType = 0 // Call the endpoint normally. CallType_CALL_TYPE_EXECUTE CallType = 1 // Only run validation. CallType_CALL_TYPE_VALIDATE_ONLY CallType = 2 // Get a mock success response without running the endpoint. CallType_CALL_TYPE_MOCK_SUCCESS CallType = 3 // Get a mock failure response without running the endpoint. CallType_CALL_TYPE_MOCK_FAILURE CallType = 4 // Get a mock invalid input response without running the validation. CallType_CALL_TYPE_MOCK_INVALID CallType = 5 )
type ChromitePytestRequest struct { // The chroot to use to execute the endpoint. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChromitePytestRequest) Descriptor() ([]byte, []int)
func (m *ChromitePytestRequest) GetChroot() *chromiumos.Chroot
func (*ChromitePytestRequest) ProtoMessage()
func (m *ChromitePytestRequest) Reset()
func (m *ChromitePytestRequest) String() string
func (m *ChromitePytestRequest) XXX_DiscardUnknown()
func (m *ChromitePytestRequest) XXX_Merge(src proto.Message)
func (m *ChromitePytestRequest) XXX_Size() int
func (m *ChromitePytestRequest) XXX_Unmarshal(b []byte) error
type ChromitePytestResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChromitePytestResponse) Descriptor() ([]byte, []int)
func (*ChromitePytestResponse) ProtoMessage()
func (m *ChromitePytestResponse) Reset()
func (m *ChromitePytestResponse) String() string
func (m *ChromitePytestResponse) XXX_DiscardUnknown()
func (m *ChromitePytestResponse) XXX_Merge(src proto.Message)
func (m *ChromitePytestResponse) XXX_Size() int
func (m *ChromitePytestResponse) XXX_Unmarshal(b []byte) error
type ChromiteUnitTestRequest struct { // The chroot to use to execute the endpoint. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Chromite UnitTest request.
func (*ChromiteUnitTestRequest) Descriptor() ([]byte, []int)
func (m *ChromiteUnitTestRequest) GetChroot() *chromiumos.Chroot
func (*ChromiteUnitTestRequest) ProtoMessage()
func (m *ChromiteUnitTestRequest) Reset()
func (m *ChromiteUnitTestRequest) String() string
func (m *ChromiteUnitTestRequest) XXX_DiscardUnknown()
func (m *ChromiteUnitTestRequest) XXX_Merge(src proto.Message)
func (m *ChromiteUnitTestRequest) XXX_Size() int
func (m *ChromiteUnitTestRequest) XXX_Unmarshal(b []byte) error
type ChromiteUnitTestResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChromiteUnitTestResponse) Descriptor() ([]byte, []int)
func (*ChromiteUnitTestResponse) ProtoMessage()
func (m *ChromiteUnitTestResponse) Reset()
func (m *ChromiteUnitTestResponse) String() string
func (m *ChromiteUnitTestResponse) XXX_DiscardUnknown()
func (m *ChromiteUnitTestResponse) XXX_Merge(src proto.Message)
func (m *ChromiteUnitTestResponse) XXX_Size() int
func (m *ChromiteUnitTestResponse) XXX_Unmarshal(b []byte) error
Config to allow chroot assertions to be made via service/method options.
const ( ChrootAssertion_NO_ASSERTION ChrootAssertion = 0 ChrootAssertion_INSIDE ChrootAssertion = 1 ChrootAssertion_OUTSIDE ChrootAssertion = 2 )
func (x ChrootAssertion) Enum() *ChrootAssertion
func (ChrootAssertion) EnumDescriptor() ([]byte, []int)
func (x ChrootAssertion) String() string
func (x *ChrootAssertion) UnmarshalJSON(data []byte) error
type ChrootVersion struct { // The version number. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The chroot version information.
func (*ChrootVersion) Descriptor() ([]byte, []int)
func (m *ChrootVersion) GetVersion() uint32
func (*ChrootVersion) ProtoMessage()
func (m *ChrootVersion) Reset()
func (m *ChrootVersion) String() string
func (m *ChrootVersion) XXX_DiscardUnknown()
func (m *ChrootVersion) XXX_Merge(src proto.Message)
func (m *ChrootVersion) XXX_Size() int
func (m *ChrootVersion) XXX_Unmarshal(b []byte) error
type CleanRequest struct { Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CleanRequest) Descriptor() ([]byte, []int)
func (m *CleanRequest) GetChroot() *chromiumos.Chroot
func (*CleanRequest) ProtoMessage()
func (m *CleanRequest) Reset()
func (m *CleanRequest) String() string
func (m *CleanRequest) XXX_DiscardUnknown()
func (m *CleanRequest) XXX_Merge(src proto.Message)
func (m *CleanRequest) XXX_Size() int
func (m *CleanRequest) XXX_Unmarshal(b []byte) error
type CleanResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CleanResponse) Descriptor() ([]byte, []int)
func (*CleanResponse) ProtoMessage()
func (m *CleanResponse) Reset()
func (m *CleanResponse) String() string
func (m *CleanResponse) XXX_DiscardUnknown()
func (m *CleanResponse) XXX_Merge(src proto.Message)
func (m *CleanResponse) XXX_Size() int
func (m *CleanResponse) XXX_Unmarshal(b []byte) error
type CreateImageRequest struct { // Required. // The build target whose image is being built. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // The types of images to build, defaults to building base image. // Note: Building either of the VM image types will also force the // corresponding regular image to be built. Only one VM image type may be // built at a time, and will overwrite any previously built VM image if the // same output directory (version) is used. ImageTypes []chromiumos.ImageType `protobuf:"varint,2,rep,packed,name=image_types,json=imageTypes,proto3,enum=chromiumos.ImageType" json:"image_types,omitempty"` // Whether rootfs verification should be disabled (enabled by default). DisableRootfsVerification bool `protobuf:"varint,3,opt,name=disable_rootfs_verification,json=disableRootfsVerification,proto3" json:"disable_rootfs_verification,omitempty"` // The image version. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Disk layout option. See README.disk_layout and legacy_disk_layout.json in // src/scripts/build_library. DiskLayout string `protobuf:"bytes,5,opt,name=disk_layout,json=diskLayout,proto3" json:"disk_layout,omitempty"` // Used to set the LSB builder path key in /etc/lsb-release. See // chromite/scripts/cros_set_lsb_release.py. BuilderPath string `protobuf:"bytes,6,opt,name=builder_path,json=builderPath,proto3" json:"builder_path,omitempty"` // The chroot to use to execute the endpoint. Chroot *chromiumos.Chroot `protobuf:"bytes,7,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The image test arguments.
func (*CreateImageRequest) Descriptor() ([]byte, []int)
func (m *CreateImageRequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *CreateImageRequest) GetBuilderPath() string
func (m *CreateImageRequest) GetChroot() *chromiumos.Chroot
func (m *CreateImageRequest) GetDisableRootfsVerification() bool
func (m *CreateImageRequest) GetDiskLayout() string
func (m *CreateImageRequest) GetImageTypes() []chromiumos.ImageType
func (m *CreateImageRequest) GetVersion() string
func (*CreateImageRequest) ProtoMessage()
func (m *CreateImageRequest) Reset()
func (m *CreateImageRequest) String() string
func (m *CreateImageRequest) XXX_DiscardUnknown()
func (m *CreateImageRequest) XXX_Merge(src proto.Message)
func (m *CreateImageRequest) XXX_Size() int
func (m *CreateImageRequest) XXX_Unmarshal(b []byte) error
type CreateImageResult struct { // Whether it completed successfully. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Images that were built. Will contain no more than one per image type. Images []*Image `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` // Any packages that failed to build. Empty on success. FailedPackages []*chromiumos.PackageInfo `protobuf:"bytes,3,rep,name=failed_packages,json=failedPackages,proto3" json:"failed_packages,omitempty"` // The metric events that occurred during the running of CreateImage. Events []*chromiumos.MetricEvent `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateImageResult) Descriptor() ([]byte, []int)
func (m *CreateImageResult) GetEvents() []*chromiumos.MetricEvent
func (m *CreateImageResult) GetFailedPackages() []*chromiumos.PackageInfo
func (m *CreateImageResult) GetImages() []*Image
func (m *CreateImageResult) GetSuccess() bool
func (*CreateImageResult) ProtoMessage()
func (m *CreateImageResult) Reset()
func (m *CreateImageResult) String() string
func (m *CreateImageResult) XXX_DiscardUnknown()
func (m *CreateImageResult) XXX_Merge(src proto.Message)
func (m *CreateImageResult) XXX_Size() int
func (m *CreateImageResult) XXX_Unmarshal(b []byte) error
type CreateRequest struct { // The chroot-create flag arguments. Flags *CreateRequest_Flags `protobuf:"bytes,1,opt,name=flags,proto3" json:"flags,omitempty"` // The chroot to create. Chroot *chromiumos.Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Create request message.
func (*CreateRequest) Descriptor() ([]byte, []int)
func (m *CreateRequest) GetChroot() *chromiumos.Chroot
func (m *CreateRequest) GetFlags() *CreateRequest_Flags
func (*CreateRequest) ProtoMessage()
func (m *CreateRequest) Reset()
func (m *CreateRequest) String() string
func (m *CreateRequest) XXX_DiscardUnknown()
func (m *CreateRequest) XXX_Merge(src proto.Message)
func (m *CreateRequest) XXX_Size() int
func (m *CreateRequest) XXX_Unmarshal(b []byte) error
type CreateRequest_Flags struct { // Whether or not to replace the chroot if it already exists. NoReplace bool `protobuf:"varint,1,opt,name=no_replace,json=noReplace,proto3" json:"no_replace,omitempty"` // Whether to do a full build of the SDK or use prebuilts. Bootstrap bool `protobuf:"varint,2,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"` // Whether the chroot should be mounted on a loopback image or created // directly inside a directory. Set to true to create in a directory. NoUseImage bool `protobuf:"varint,3,opt,name=no_use_image,json=noUseImage,proto3" json:"no_use_image,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Options that affect how the chroot is created.
func (*CreateRequest_Flags) Descriptor() ([]byte, []int)
func (m *CreateRequest_Flags) GetBootstrap() bool
func (m *CreateRequest_Flags) GetNoReplace() bool
func (m *CreateRequest_Flags) GetNoUseImage() bool
func (*CreateRequest_Flags) ProtoMessage()
func (m *CreateRequest_Flags) Reset()
func (m *CreateRequest_Flags) String() string
func (m *CreateRequest_Flags) XXX_DiscardUnknown()
func (m *CreateRequest_Flags) XXX_Merge(src proto.Message)
func (m *CreateRequest_Flags) XXX_Size() int
func (m *CreateRequest_Flags) XXX_Unmarshal(b []byte) error
type CreateResponse struct { // The resulting chroot version. Version *ChrootVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Create response message.
func (*CreateResponse) Descriptor() ([]byte, []int)
func (m *CreateResponse) GetVersion() *ChrootVersion
func (*CreateResponse) ProtoMessage()
func (m *CreateResponse) Reset()
func (m *CreateResponse) String() string
func (m *CreateResponse) XXX_DiscardUnknown()
func (m *CreateResponse) XXX_Merge(src proto.Message)
func (m *CreateResponse) XXX_Size() int
func (m *CreateResponse) XXX_Unmarshal(b []byte) error
type CreateSimpleChromeSysrootRequest struct { // The board that is the build_target for the created sysroot. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Additional environment flags which are set via the ENV VAR 'USE'. UseFlags []string `protobuf:"bytes,2,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"` // Target directory for the sysroot tarball. TargetDir *chromiumos.ResultPath `protobuf:"bytes,3,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSimpleChromeSysrootRequest) Descriptor() ([]byte, []int)
func (m *CreateSimpleChromeSysrootRequest) GetBuildTarget() *chromiumos.BuildTarget
func (m *CreateSimpleChromeSysrootRequest) GetTargetDir() *chromiumos.ResultPath
func (m *CreateSimpleChromeSysrootRequest) GetUseFlags() []string
func (*CreateSimpleChromeSysrootRequest) ProtoMessage()
func (m *CreateSimpleChromeSysrootRequest) Reset()
func (m *CreateSimpleChromeSysrootRequest) String() string
func (m *CreateSimpleChromeSysrootRequest) XXX_DiscardUnknown()
func (m *CreateSimpleChromeSysrootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *CreateSimpleChromeSysrootRequest) XXX_Merge(src proto.Message)
func (m *CreateSimpleChromeSysrootRequest) XXX_Size() int
func (m *CreateSimpleChromeSysrootRequest) XXX_Unmarshal(b []byte) error
type CreateSimpleChromeSysrootResponse struct { // Path where the sysroot tarball is written. SysrootArchive *chromiumos.Path `protobuf:"bytes,1,opt,name=sysroot_archive,json=sysrootArchive,proto3" json:"sysroot_archive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSimpleChromeSysrootResponse) Descriptor() ([]byte, []int)
func (m *CreateSimpleChromeSysrootResponse) GetSysrootArchive() *chromiumos.Path
func (*CreateSimpleChromeSysrootResponse) ProtoMessage()
func (m *CreateSimpleChromeSysrootResponse) Reset()
func (m *CreateSimpleChromeSysrootResponse) String() string
func (m *CreateSimpleChromeSysrootResponse) XXX_DiscardUnknown()
func (m *CreateSimpleChromeSysrootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *CreateSimpleChromeSysrootResponse) XXX_Merge(src proto.Message)
func (m *CreateSimpleChromeSysrootResponse) XXX_Size() int
func (m *CreateSimpleChromeSysrootResponse) XXX_Unmarshal(b []byte) error
type CreateSnapshotRequest struct { Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
func (m *CreateSnapshotRequest) GetChroot() *chromiumos.Chroot
func (*CreateSnapshotRequest) ProtoMessage()
func (m *CreateSnapshotRequest) Reset()
func (m *CreateSnapshotRequest) String() string
func (m *CreateSnapshotRequest) XXX_DiscardUnknown()
func (m *CreateSnapshotRequest) XXX_Merge(src proto.Message)
func (m *CreateSnapshotRequest) XXX_Size() int
func (m *CreateSnapshotRequest) XXX_Unmarshal(b []byte) error
type CreateSnapshotResponse struct { SnapshotToken *SnapshotToken `protobuf:"bytes,1,opt,name=snapshot_token,json=snapshotToken,proto3" json:"snapshot_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)
func (m *CreateSnapshotResponse) GetSnapshotToken() *SnapshotToken
func (*CreateSnapshotResponse) ProtoMessage()
func (m *CreateSnapshotResponse) Reset()
func (m *CreateSnapshotResponse) String() string
func (m *CreateSnapshotResponse) XXX_DiscardUnknown()
func (m *CreateSnapshotResponse) XXX_Merge(src proto.Message)
func (m *CreateSnapshotResponse) XXX_Size() int
func (m *CreateSnapshotResponse) XXX_Unmarshal(b []byte) error
type CrosSigningTestRequest struct { // Required if not in default location. // The chroot where the tests should be executed. Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrosSigningTestRequest) Descriptor() ([]byte, []int)
func (m *CrosSigningTestRequest) GetChroot() *chromiumos.Chroot
func (*CrosSigningTestRequest) ProtoMessage()
func (m *CrosSigningTestRequest) Reset()
func (m *CrosSigningTestRequest) String() string
func (m *CrosSigningTestRequest) XXX_DiscardUnknown()
func (m *CrosSigningTestRequest) XXX_Merge(src proto.Message)
func (m *CrosSigningTestRequest) XXX_Size() int
func (m *CrosSigningTestRequest) XXX_Unmarshal(b []byte) error
type CrosSigningTestResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrosSigningTestResponse) Descriptor() ([]byte, []int)
func (*CrosSigningTestResponse) ProtoMessage()
func (m *CrosSigningTestResponse) Reset()
func (m *CrosSigningTestResponse) String() string
func (m *CrosSigningTestResponse) XXX_DiscardUnknown()
func (m *CrosSigningTestResponse) XXX_Merge(src proto.Message)
func (m *CrosSigningTestResponse) XXX_Size() int
func (m *CrosSigningTestResponse) XXX_Unmarshal(b []byte) error
type DebugInfoTestRequest struct { // The sysroot to tests. Sysroot *Sysroot `protobuf:"bytes,1,opt,name=sysroot,proto3" json:"sysroot,omitempty"` // The chroot to use to execute the endpoint. Chroot *chromiumos.Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Run the debug_info_test script.
func (*DebugInfoTestRequest) Descriptor() ([]byte, []int)
func (m *DebugInfoTestRequest) GetChroot() *chromiumos.Chroot
func (m *DebugInfoTestRequest) GetSysroot() *Sysroot
func (*DebugInfoTestRequest) ProtoMessage()
func (m *DebugInfoTestRequest) Reset()
func (m *DebugInfoTestRequest) String() string
func (m *DebugInfoTestRequest) XXX_DiscardUnknown()
func (m *DebugInfoTestRequest) XXX_Merge(src proto.Message)
func (m *DebugInfoTestRequest) XXX_Size() int
func (m *DebugInfoTestRequest) XXX_Unmarshal(b []byte) error
type DebugInfoTestResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DebugInfoTestResponse) Descriptor() ([]byte, []int)
func (*DebugInfoTestResponse) ProtoMessage()
func (m *DebugInfoTestResponse) Reset()
func (m *DebugInfoTestResponse) String() string
func (m *DebugInfoTestResponse) XXX_DiscardUnknown()
func (m *DebugInfoTestResponse) XXX_Merge(src proto.Message)
func (m *DebugInfoTestResponse) XXX_Size() int
func (m *DebugInfoTestResponse) XXX_Unmarshal(b []byte) error
type DeleteRequest struct { // The chroot to delete. Chroot *chromiumos.Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete request message.
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (m *DeleteRequest) GetChroot() *chromiumos.Chroot
func (*DeleteRequest) ProtoMessage()
func (m *DeleteRequest) Reset()
func (m *DeleteRequest) String() string
func (m *DeleteRequest) XXX_DiscardUnknown()
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (m *DeleteRequest) XXX_Size() int
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete request message.
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) ProtoMessage()
func (m *DeleteResponse) Reset()
func (m *DeleteResponse) String() string
func (m *DeleteResponse) XXX_DiscardUnknown()
func (m *DeleteResponse) XXX_Merge(src proto.Message)
func (m *DeleteResponse) XXX_Size() int
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
type DepGraph struct { // TODO(crbug/1081828): drop when no longer used. Use sysroot instead. // The board whose dependency graph this is. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // List of packages in the dependency graph and their infos, which include // dependency packages and the source paths. PackageDeps []*PackageDepInfo `protobuf:"bytes,2,rep,name=package_deps,json=packageDeps,proto3" json:"package_deps,omitempty"` // The sysroot whose dependency graph is being created. If no sysroot is // being used, may be unspecified. Sysroot *Sysroot `protobuf:"bytes,3,opt,name=sysroot,proto3" json:"sysroot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message contains data about the portage dependency graph and the packages' dependency source paths.
func (m *DepGraph) GetBuildTarget() *chromiumos.BuildTarget
func (m *DepGraph) GetPackageDeps() []*PackageDepInfo
type DependencyServiceClient interface { // Get the build dependency graph. GetBuildDependencyGraph(ctx context.Context, in *GetBuildDependencyGraphRequest, opts ...grpc.CallOption) (*GetBuildDependencyGraphResponse, error) // Get the list of source paths that are relevant to the toolchain GetToolchainPaths(ctx context.Context, in *GetToolchainPathsRequest, opts ...grpc.CallOption) (*GetToolchainPathsResponse, error) // Get the list of package dependencies. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) }
DependencyServiceClient is the client API for DependencyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDependencyServiceClient(cc *grpc.ClientConn) DependencyServiceClient
type DependencyServiceServer interface { // Get the build dependency graph. GetBuildDependencyGraph(context.Context, *GetBuildDependencyGraphRequest) (*GetBuildDependencyGraphResponse, error) // Get the list of source paths that are relevant to the toolchain GetToolchainPaths(context.Context, *GetToolchainPathsRequest) (*GetToolchainPathsResponse, error) // Get the list of package dependencies. List(context.Context, *ListRequest) (*ListResponse, error) }
DependencyServiceServer is the server API for DependencyService service.
type GenerationRequest struct { // Source image properties, must be either full_update or the same type as // the included tgt_image_oneof. full_update indicates the lack of a source. // // Types that are valid to be assigned to SrcImageOneof: // *GenerationRequest_FullUpdate // *GenerationRequest_SrcSignedImage // *GenerationRequest_SrcUnsignedImage SrcImageOneof isGenerationRequest_SrcImageOneof `protobuf_oneof:"src_image_oneof"` // Target image properties. // // Types that are valid to be assigned to TgtImageOneof: // *GenerationRequest_TgtSignedImage // *GenerationRequest_TgtUnsignedImage TgtImageOneof isGenerationRequest_TgtImageOneof `protobuf_oneof:"tgt_image_oneof"` // The destination bucket (defaults to "chromeos-releases"). Bucket string `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"` // Should we run verification? Verify bool `protobuf:"varint,7,opt,name=verify,proto3" json:"verify,omitempty"` // The keyset to sign with (e.g. "coral-mp-v16"), if empty do not sign. Keyset string `protobuf:"bytes,8,opt,name=keyset,proto3" json:"keyset,omitempty"` // Do not sign images or upload artifacts. Dryrun bool `protobuf:"varint,9,opt,name=dryrun,proto3" json:"dryrun,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request payload generation to be done with a source and target image.
func (*GenerationRequest) Descriptor() ([]byte, []int)
func (m *GenerationRequest) GetBucket() string
func (m *GenerationRequest) GetDryrun() bool
func (m *GenerationRequest) GetFullUpdate() bool
func (m *GenerationRequest) GetKeyset() string
func (m *GenerationRequest) GetSrcImageOneof() isGenerationRequest_SrcImageOneof
func (m *GenerationRequest) GetSrcSignedImage() *SignedImage
func (m *GenerationRequest) GetSrcUnsignedImage() *UnsignedImage
func (m *GenerationRequest) GetTgtImageOneof() isGenerationRequest_TgtImageOneof
func (m *GenerationRequest) GetTgtSignedImage() *SignedImage
func (m *GenerationRequest) GetTgtUnsignedImage() *UnsignedImage
func (m *GenerationRequest) GetVerify() bool
func (*GenerationRequest) ProtoMessage()
func (m *GenerationRequest) Reset()
func (m *GenerationRequest) String() string
func (m *GenerationRequest) XXX_DiscardUnknown()
func (m *GenerationRequest) XXX_Merge(src proto.Message)
func (*GenerationRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (m *GenerationRequest) XXX_Size() int
func (m *GenerationRequest) XXX_Unmarshal(b []byte) error
type GenerationRequest_FullUpdate struct { FullUpdate bool `protobuf:"varint,1,opt,name=full_update,json=fullUpdate,proto3,oneof"` }
type GenerationRequest_SrcSignedImage struct { SrcSignedImage *SignedImage `protobuf:"bytes,2,opt,name=src_signed_image,json=srcSignedImage,proto3,oneof"` }