| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromite/api/artifacts.proto |
| |
| package api |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // An artifact is a file generated during or after a build. |
| 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:"-"` |
| } |
| |
| func (m *Artifact) Reset() { *m = Artifact{} } |
| func (m *Artifact) String() string { return proto.CompactTextString(m) } |
| func (*Artifact) ProtoMessage() {} |
| func (*Artifact) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{0} |
| } |
| |
| func (m *Artifact) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Artifact.Unmarshal(m, b) |
| } |
| func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Artifact.Marshal(b, m, deterministic) |
| } |
| func (m *Artifact) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Artifact.Merge(m, src) |
| } |
| func (m *Artifact) XXX_Size() int { |
| return xxx_messageInfo_Artifact.Size(m) |
| } |
| func (m *Artifact) XXX_DiscardUnknown() { |
| xxx_messageInfo_Artifact.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Artifact proto.InternalMessageInfo |
| |
| func (m *Artifact) GetPath() string { |
| if m != nil { |
| return m.Path |
| } |
| return "" |
| } |
| |
| // Request describing where build artifact bundles for a given build target |
| // should be dumped. |
| 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:"-"` |
| } |
| |
| func (m *BundleRequest) Reset() { *m = BundleRequest{} } |
| func (m *BundleRequest) String() string { return proto.CompactTextString(m) } |
| func (*BundleRequest) ProtoMessage() {} |
| func (*BundleRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{1} |
| } |
| |
| func (m *BundleRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BundleRequest.Unmarshal(m, b) |
| } |
| func (m *BundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BundleRequest.Marshal(b, m, deterministic) |
| } |
| func (m *BundleRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BundleRequest.Merge(m, src) |
| } |
| func (m *BundleRequest) XXX_Size() int { |
| return xxx_messageInfo_BundleRequest.Size(m) |
| } |
| func (m *BundleRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_BundleRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BundleRequest proto.InternalMessageInfo |
| |
| func (m *BundleRequest) GetBuildTarget() *chromiumos.BuildTarget { |
| if m != nil { |
| return m.BuildTarget |
| } |
| return nil |
| } |
| |
| func (m *BundleRequest) GetOutputDir() string { |
| if m != nil { |
| return m.OutputDir |
| } |
| return "" |
| } |
| |
| func (m *BundleRequest) GetChroot() *chromiumos.Chroot { |
| if m != nil { |
| return m.Chroot |
| } |
| return nil |
| } |
| |
| func (m *BundleRequest) GetSysroot() *Sysroot { |
| if m != nil { |
| return m.Sysroot |
| } |
| return nil |
| } |
| |
| // Response describing which bundles were dumped to the given output directory. |
| 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:"-"` |
| } |
| |
| func (m *BundleResponse) Reset() { *m = BundleResponse{} } |
| func (m *BundleResponse) String() string { return proto.CompactTextString(m) } |
| func (*BundleResponse) ProtoMessage() {} |
| func (*BundleResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{2} |
| } |
| |
| func (m *BundleResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BundleResponse.Unmarshal(m, b) |
| } |
| func (m *BundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BundleResponse.Marshal(b, m, deterministic) |
| } |
| func (m *BundleResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BundleResponse.Merge(m, src) |
| } |
| func (m *BundleResponse) XXX_Size() int { |
| return xxx_messageInfo_BundleResponse.Size(m) |
| } |
| func (m *BundleResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_BundleResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BundleResponse proto.InternalMessageInfo |
| |
| func (m *BundleResponse) GetArtifacts() []*Artifact { |
| if m != nil { |
| return m.Artifacts |
| } |
| return nil |
| } |
| |
| // Request describing where to find build artifacts that are taken from a |
| // sysroot. |
| 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:"-"` |
| } |
| |
| func (m *BundleVmFilesRequest) Reset() { *m = BundleVmFilesRequest{} } |
| func (m *BundleVmFilesRequest) String() string { return proto.CompactTextString(m) } |
| func (*BundleVmFilesRequest) ProtoMessage() {} |
| func (*BundleVmFilesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{3} |
| } |
| |
| func (m *BundleVmFilesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BundleVmFilesRequest.Unmarshal(m, b) |
| } |
| func (m *BundleVmFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BundleVmFilesRequest.Marshal(b, m, deterministic) |
| } |
| func (m *BundleVmFilesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BundleVmFilesRequest.Merge(m, src) |
| } |
| func (m *BundleVmFilesRequest) XXX_Size() int { |
| return xxx_messageInfo_BundleVmFilesRequest.Size(m) |
| } |
| func (m *BundleVmFilesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_BundleVmFilesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BundleVmFilesRequest proto.InternalMessageInfo |
| |
| func (m *BundleVmFilesRequest) GetChroot() *chromiumos.Chroot { |
| if m != nil { |
| return m.Chroot |
| } |
| return nil |
| } |
| |
| func (m *BundleVmFilesRequest) GetSysroot() *Sysroot { |
| if m != nil { |
| return m.Sysroot |
| } |
| return nil |
| } |
| |
| func (m *BundleVmFilesRequest) GetTestResultsDir() string { |
| if m != nil { |
| return m.TestResultsDir |
| } |
| return "" |
| } |
| |
| func (m *BundleVmFilesRequest) GetOutputDir() string { |
| if m != nil { |
| return m.OutputDir |
| } |
| return "" |
| } |
| |
| // DEPRECATED for recipes: crbug/1019868: This is being replaced with |
| // BundleRequest. |
| // Request describing where to find Chrome AFDO artifacts |
| 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:"-"` |
| } |
| |
| func (m *BundleChromeAFDORequest) Reset() { *m = BundleChromeAFDORequest{} } |
| func (m *BundleChromeAFDORequest) String() string { return proto.CompactTextString(m) } |
| func (*BundleChromeAFDORequest) ProtoMessage() {} |
| func (*BundleChromeAFDORequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{4} |
| } |
| |
| func (m *BundleChromeAFDORequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BundleChromeAFDORequest.Unmarshal(m, b) |
| } |
| func (m *BundleChromeAFDORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BundleChromeAFDORequest.Marshal(b, m, deterministic) |
| } |
| func (m *BundleChromeAFDORequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BundleChromeAFDORequest.Merge(m, src) |
| } |
| func (m *BundleChromeAFDORequest) XXX_Size() int { |
| return xxx_messageInfo_BundleChromeAFDORequest.Size(m) |
| } |
| func (m *BundleChromeAFDORequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_BundleChromeAFDORequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BundleChromeAFDORequest proto.InternalMessageInfo |
| |
| func (m *BundleChromeAFDORequest) GetChroot() *chromiumos.Chroot { |
| if m != nil { |
| return m.Chroot |
| } |
| return nil |
| } |
| |
| func (m *BundleChromeAFDORequest) GetBuildTarget() *chromiumos.BuildTarget { |
| if m != nil { |
| return m.BuildTarget |
| } |
| return nil |
| } |
| |
| func (m *BundleChromeAFDORequest) GetOutputDir() string { |
| if m != nil { |
| return m.OutputDir |
| } |
| return "" |
| } |
| |
| func (m *BundleChromeAFDORequest) GetArtifactType() chromiumos.AFDOArtifactType { |
| if m != nil { |
| return m.ArtifactType |
| } |
| return chromiumos.AFDOArtifactType_NONE_TYPE |
| } |
| |
| // Fetch the pinned guest image uris. |
| type PinnedGuestImageUriRequest 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"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PinnedGuestImageUriRequest) Reset() { *m = PinnedGuestImageUriRequest{} } |
| func (m *PinnedGuestImageUriRequest) String() string { return proto.CompactTextString(m) } |
| func (*PinnedGuestImageUriRequest) ProtoMessage() {} |
| func (*PinnedGuestImageUriRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{5} |
| } |
| |
| func (m *PinnedGuestImageUriRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PinnedGuestImageUriRequest.Unmarshal(m, b) |
| } |
| func (m *PinnedGuestImageUriRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PinnedGuestImageUriRequest.Marshal(b, m, deterministic) |
| } |
| func (m *PinnedGuestImageUriRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PinnedGuestImageUriRequest.Merge(m, src) |
| } |
| func (m *PinnedGuestImageUriRequest) XXX_Size() int { |
| return xxx_messageInfo_PinnedGuestImageUriRequest.Size(m) |
| } |
| func (m *PinnedGuestImageUriRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_PinnedGuestImageUriRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PinnedGuestImageUriRequest proto.InternalMessageInfo |
| |
| func (m *PinnedGuestImageUriRequest) GetChroot() *chromiumos.Chroot { |
| if m != nil { |
| return m.Chroot |
| } |
| return nil |
| } |
| |
| func (m *PinnedGuestImageUriRequest) GetSysroot() *Sysroot { |
| if m != nil { |
| return m.Sysroot |
| } |
| return nil |
| } |
| |
| // Response from fetching pinned guest image uris. |
| type PinnedGuestImageUriResponse struct { |
| // The pinned guest images. |
| PinnedImages []*PinnedGuestImageUriResponse_PinnedGuestImage `protobuf:"bytes,1,rep,name=pinned_images,json=pinnedImages,proto3" json:"pinned_images,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PinnedGuestImageUriResponse) Reset() { *m = PinnedGuestImageUriResponse{} } |
| func (m *PinnedGuestImageUriResponse) String() string { return proto.CompactTextString(m) } |
| func (*PinnedGuestImageUriResponse) ProtoMessage() {} |
| func (*PinnedGuestImageUriResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{6} |
| } |
| |
| func (m *PinnedGuestImageUriResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PinnedGuestImageUriResponse.Unmarshal(m, b) |
| } |
| func (m *PinnedGuestImageUriResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PinnedGuestImageUriResponse.Marshal(b, m, deterministic) |
| } |
| func (m *PinnedGuestImageUriResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PinnedGuestImageUriResponse.Merge(m, src) |
| } |
| func (m *PinnedGuestImageUriResponse) XXX_Size() int { |
| return xxx_messageInfo_PinnedGuestImageUriResponse.Size(m) |
| } |
| func (m *PinnedGuestImageUriResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_PinnedGuestImageUriResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PinnedGuestImageUriResponse proto.InternalMessageInfo |
| |
| func (m *PinnedGuestImageUriResponse) GetPinnedImages() []*PinnedGuestImageUriResponse_PinnedGuestImage { |
| if m != nil { |
| return m.PinnedImages |
| } |
| return nil |
| } |
| |
| type PinnedGuestImageUriResponse_PinnedGuestImage struct { |
| Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` |
| Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) Reset() { |
| *m = PinnedGuestImageUriResponse_PinnedGuestImage{} |
| } |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) String() string { |
| return proto.CompactTextString(m) |
| } |
| func (*PinnedGuestImageUriResponse_PinnedGuestImage) ProtoMessage() {} |
| func (*PinnedGuestImageUriResponse_PinnedGuestImage) Descriptor() ([]byte, []int) { |
| return fileDescriptor_62a7d4c8524262a7, []int{6, 0} |
| } |
| |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PinnedGuestImageUriResponse_PinnedGuestImage.Unmarshal(m, b) |
| } |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PinnedGuestImageUriResponse_PinnedGuestImage.Marshal(b, m, deterministic) |
| } |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PinnedGuestImageUriResponse_PinnedGuestImage.Merge(m, src) |
| } |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) XXX_Size() int { |
| return xxx_messageInfo_PinnedGuestImageUriResponse_PinnedGuestImage.Size(m) |
| } |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) XXX_DiscardUnknown() { |
| xxx_messageInfo_PinnedGuestImageUriResponse_PinnedGuestImage.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PinnedGuestImageUriResponse_PinnedGuestImage proto.InternalMessageInfo |
| |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) GetFilename() string { |
| if m != nil { |
| return m.Filename |
| } |
| return "" |
| } |
| |
| func (m *PinnedGuestImageUriResponse_PinnedGuestImage) GetUri() string { |
| if m != nil { |
| return m.Uri |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*Artifact)(nil), "chromite.api.Artifact") |
| proto.RegisterType((*BundleRequest)(nil), "chromite.api.BundleRequest") |
| proto.RegisterType((*BundleResponse)(nil), "chromite.api.BundleResponse") |
| proto.RegisterType((*BundleVmFilesRequest)(nil), "chromite.api.BundleVmFilesRequest") |
| proto.RegisterType((*BundleChromeAFDORequest)(nil), "chromite.api.BundleChromeAFDORequest") |
| proto.RegisterType((*PinnedGuestImageUriRequest)(nil), "chromite.api.PinnedGuestImageUriRequest") |
| proto.RegisterType((*PinnedGuestImageUriResponse)(nil), "chromite.api.PinnedGuestImageUriResponse") |
| proto.RegisterType((*PinnedGuestImageUriResponse_PinnedGuestImage)(nil), "chromite.api.PinnedGuestImageUriResponse.PinnedGuestImage") |
| } |
| |
| func init() { proto.RegisterFile("chromite/api/artifacts.proto", fileDescriptor_62a7d4c8524262a7) } |
| |
| var fileDescriptor_62a7d4c8524262a7 = []byte{ |
| // 737 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xdf, 0x6e, 0xd3, 0x3e, |
| 0x14, 0x56, 0xda, 0x69, 0xbf, 0xf5, 0xac, 0xdd, 0xaf, 0x98, 0x3f, 0x2b, 0xd9, 0x86, 0xa6, 0x48, |
| 0x48, 0x85, 0x8b, 0x46, 0x2a, 0x08, 0xa1, 0x5d, 0xd1, 0xfd, 0xe9, 0x84, 0x18, 0xda, 0x48, 0x3b, |
| 0x84, 0x76, 0x53, 0x79, 0xad, 0xdb, 0x5a, 0x6a, 0x62, 0x63, 0x3b, 0x83, 0xbe, 0x1b, 0x17, 0x88, |
| 0x1b, 0x1e, 0x80, 0x47, 0xe0, 0x9a, 0x77, 0x40, 0xb1, 0x93, 0xb6, 0xe9, 0x2a, 0x36, 0x96, 0x89, |
| 0xbb, 0xf8, 0x7c, 0x27, 0xdf, 0x39, 0xfe, 0xfc, 0xf9, 0x24, 0xb0, 0xd9, 0x1d, 0x0a, 0xe6, 0x53, |
| 0x45, 0x5c, 0xcc, 0xa9, 0x8b, 0x85, 0xa2, 0x7d, 0xdc, 0x55, 0xb2, 0xc6, 0x05, 0x53, 0x0c, 0x15, |
| 0x13, 0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, 0x83, 0xcf, 0x9c, 0x09, 0xb5, 0xc7, 0x89, 0x47, |
| 0xa2, 0x87, 0x2c, 0x0d, 0x72, 0x78, 0xd8, 0x24, 0xaa, 0x3b, 0x5c, 0x30, 0xd5, 0x24, 0xaa, 0x5e, |
| 0x63, 0xf2, 0x99, 0x22, 0x4f, 0xae, 0x3d, 0x23, 0xed, 0x3b, 0xdf, 0x7e, 0xd9, 0xa5, 0x99, 0xef, |
| 0x7b, 0x39, 0xb7, 0xfb, 0xf2, 0xec, 0xc5, 0x80, 0x4d, 0x26, 0x7d, 0x8d, 0x89, 0x81, 0x3b, 0xf3, |
| 0x57, 0x44, 0x83, 0xbe, 0xc0, 0xae, 0xfe, 0x29, 0x72, 0x07, 0xcc, 0x9d, 0xfd, 0x97, 0x3a, 0x5f, |
| 0xd6, 0xe1, 0x67, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x05, 0xaa, 0x8b, 0x68, 0xac, 0x09, 0x00, |
| 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion4 |
| |
| // 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. |
| type ArtifactsServiceClient interface { |
| // Create a tar archive with all files needed for Autotest HW testing. |
| BundleAutotestFiles(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create the ChromeOS Config JSON payload. |
| BundleChromeOSConfig(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create a tar archive with ebuild logs. |
| BundleEbuildLogs(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create a tar archive with unsigned firmware images. |
| BundleFirmware(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create a tar.xz archive for each image that has been created. |
| BundleImageArchives(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Generate zip containing all built images for the target. |
| BundleImageZip(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // 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) |
| // Create a tar archive with all guest images test bundles. |
| BundlePinnedGuestImages(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create the simple chrome artifacts. |
| BundleSimpleChromeArtifacts(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create a tar archive with all files needed for Tast HW testing. |
| BundleTastFiles(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Generate minimal update payloads to be used in HW testing. |
| BundleTestUpdatePayloads(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Create a tar archive with VM memory and disk images. |
| BundleVmFiles(ctx context.Context, in *BundleVmFilesRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Generate a CPE report to a file. |
| ExportCpeReport(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) |
| // Fetch the pinned guest image locations. |
| FetchPinnedGuestImageUris(ctx context.Context, in *PinnedGuestImageUriRequest, opts ...grpc.CallOption) (*PinnedGuestImageUriResponse, error) |
| } |
| |
| type artifactsServiceClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewArtifactsServiceClient(cc *grpc.ClientConn) ArtifactsServiceClient { |
| return &artifactsServiceClient{cc} |
| } |
| |
| func (c *artifactsServiceClient) BundleAutotestFiles(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleAutotestFiles", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleChromeOSConfig(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleChromeOSConfig", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleEbuildLogs(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleEbuildLogs", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleFirmware(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleFirmware", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleImageArchives(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleImageArchives", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleImageZip(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleImageZip", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleAFDOGenerationArtifacts(ctx context.Context, in *BundleChromeAFDORequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleAFDOGenerationArtifacts", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundlePinnedGuestImages(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundlePinnedGuestImages", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleSimpleChromeArtifacts(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleSimpleChromeArtifacts", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleTastFiles(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleTastFiles", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleTestUpdatePayloads(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleTestUpdatePayloads", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) BundleVmFiles(ctx context.Context, in *BundleVmFilesRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/BundleVmFiles", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) ExportCpeReport(ctx context.Context, in *BundleRequest, opts ...grpc.CallOption) (*BundleResponse, error) { |
| out := new(BundleResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/ExportCpeReport", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *artifactsServiceClient) FetchPinnedGuestImageUris(ctx context.Context, in *PinnedGuestImageUriRequest, opts ...grpc.CallOption) (*PinnedGuestImageUriResponse, error) { |
| out := new(PinnedGuestImageUriResponse) |
| err := c.cc.Invoke(ctx, "/chromite.api.ArtifactsService/FetchPinnedGuestImageUris", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // ArtifactsServiceServer is the server API for ArtifactsService service. |
| type ArtifactsServiceServer interface { |
| // Create a tar archive with all files needed for Autotest HW testing. |
| BundleAutotestFiles(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create the ChromeOS Config JSON payload. |
| BundleChromeOSConfig(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create a tar archive with ebuild logs. |
| BundleEbuildLogs(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create a tar archive with unsigned firmware images. |
| BundleFirmware(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create a tar.xz archive for each image that has been created. |
| BundleImageArchives(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Generate zip containing all built images for the target. |
| BundleImageZip(context.Context, *BundleRequest) (*BundleResponse, error) |
| // 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) |
| // Create a tar archive with all guest images test bundles. |
| BundlePinnedGuestImages(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create the simple chrome artifacts. |
| BundleSimpleChromeArtifacts(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create a tar archive with all files needed for Tast HW testing. |
| BundleTastFiles(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Generate minimal update payloads to be used in HW testing. |
| BundleTestUpdatePayloads(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Create a tar archive with VM memory and disk images. |
| BundleVmFiles(context.Context, *BundleVmFilesRequest) (*BundleResponse, error) |
| // Generate a CPE report to a file. |
| ExportCpeReport(context.Context, *BundleRequest) (*BundleResponse, error) |
| // Fetch the pinned guest image locations. |
| FetchPinnedGuestImageUris(context.Context, *PinnedGuestImageUriRequest) (*PinnedGuestImageUriResponse, error) |
| } |
| |
| // UnimplementedArtifactsServiceServer can be embedded to have forward compatible implementations. |
| type UnimplementedArtifactsServiceServer struct { |
| } |
| |
| func (*UnimplementedArtifactsServiceServer) BundleAutotestFiles(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleAutotestFiles not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleChromeOSConfig(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleChromeOSConfig not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleEbuildLogs(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleEbuildLogs not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleFirmware(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleFirmware not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleImageArchives(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleImageArchives not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleImageZip(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleImageZip not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleAFDOGenerationArtifacts(ctx context.Context, req *BundleChromeAFDORequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleAFDOGenerationArtifacts not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundlePinnedGuestImages(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundlePinnedGuestImages not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleSimpleChromeArtifacts(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleSimpleChromeArtifacts not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleTastFiles(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleTastFiles not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleTestUpdatePayloads(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleTestUpdatePayloads not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) BundleVmFiles(ctx context.Context, req *BundleVmFilesRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BundleVmFiles not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) ExportCpeReport(ctx context.Context, req *BundleRequest) (*BundleResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ExportCpeReport not implemented") |
| } |
| func (*UnimplementedArtifactsServiceServer) FetchPinnedGuestImageUris(ctx context.Context, req *PinnedGuestImageUriRequest) (*PinnedGuestImageUriResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method FetchPinnedGuestImageUris not implemented") |
| } |
| |
| func RegisterArtifactsServiceServer(s *grpc.Server, srv ArtifactsServiceServer) { |
| s.RegisterService(&_ArtifactsService_serviceDesc, srv) |
| } |
| |
| func _ArtifactsService_BundleAutotestFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleAutotestFiles(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleAutotestFiles", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleAutotestFiles(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleChromeOSConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleChromeOSConfig(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleChromeOSConfig", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleChromeOSConfig(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleEbuildLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleEbuildLogs(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleEbuildLogs", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleEbuildLogs(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleFirmware_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleFirmware(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleFirmware", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleFirmware(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleImageArchives_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleImageArchives(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleImageArchives", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleImageArchives(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleImageZip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleImageZip(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleImageZip", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleImageZip(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleAFDOGenerationArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleChromeAFDORequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleAFDOGenerationArtifacts(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleAFDOGenerationArtifacts", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleAFDOGenerationArtifacts(ctx, req.(*BundleChromeAFDORequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundlePinnedGuestImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundlePinnedGuestImages(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundlePinnedGuestImages", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundlePinnedGuestImages(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleSimpleChromeArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleSimpleChromeArtifacts(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleSimpleChromeArtifacts", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleSimpleChromeArtifacts(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleTastFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleTastFiles(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleTastFiles", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleTastFiles(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleTestUpdatePayloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleTestUpdatePayloads(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleTestUpdatePayloads", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleTestUpdatePayloads(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_BundleVmFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleVmFilesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).BundleVmFiles(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/BundleVmFiles", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).BundleVmFiles(ctx, req.(*BundleVmFilesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_ExportCpeReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BundleRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).ExportCpeReport(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/ExportCpeReport", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).ExportCpeReport(ctx, req.(*BundleRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _ArtifactsService_FetchPinnedGuestImageUris_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(PinnedGuestImageUriRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ArtifactsServiceServer).FetchPinnedGuestImageUris(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/chromite.api.ArtifactsService/FetchPinnedGuestImageUris", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ArtifactsServiceServer).FetchPinnedGuestImageUris(ctx, req.(*PinnedGuestImageUriRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _ArtifactsService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "chromite.api.ArtifactsService", |
| HandlerType: (*ArtifactsServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "BundleAutotestFiles", |
| Handler: _ArtifactsService_BundleAutotestFiles_Handler, |
| }, |
| { |
| MethodName: "BundleChromeOSConfig", |
| Handler: _ArtifactsService_BundleChromeOSConfig_Handler, |
| }, |
| { |
| MethodName: "BundleEbuildLogs", |
| Handler: _ArtifactsService_BundleEbuildLogs_Handler, |
| }, |
| { |
| MethodName: "BundleFirmware", |
| Handler: _ArtifactsService_BundleFirmware_Handler, |
| }, |
| { |
| MethodName: "BundleImageArchives", |
| Handler: _ArtifactsService_BundleImageArchives_Handler, |
| }, |
| { |
| MethodName: "BundleImageZip", |
| Handler: _ArtifactsService_BundleImageZip_Handler, |
| }, |
| { |
| MethodName: "BundleAFDOGenerationArtifacts", |
| Handler: _ArtifactsService_BundleAFDOGenerationArtifacts_Handler, |
| }, |
| { |
| MethodName: "BundlePinnedGuestImages", |
| Handler: _ArtifactsService_BundlePinnedGuestImages_Handler, |
| }, |
| { |
| MethodName: "BundleSimpleChromeArtifacts", |
| Handler: _ArtifactsService_BundleSimpleChromeArtifacts_Handler, |
| }, |
| { |
| MethodName: "BundleTastFiles", |
| Handler: _ArtifactsService_BundleTastFiles_Handler, |
| }, |
| { |
| MethodName: "BundleTestUpdatePayloads", |
| Handler: _ArtifactsService_BundleTestUpdatePayloads_Handler, |
| }, |
| { |
| MethodName: "BundleVmFiles", |
| Handler: _ArtifactsService_BundleVmFiles_Handler, |
| }, |
| { |
| MethodName: "ExportCpeReport", |
| Handler: _ArtifactsService_ExportCpeReport_Handler, |
| }, |
| { |
| MethodName: "FetchPinnedGuestImageUris", |
| Handler: _ArtifactsService_FetchPinnedGuestImageUris_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "chromite/api/artifacts.proto", |
| } |