Documentation ¶
Index ¶
- Variables
- func BuildServiceClientType() reflect.Type
- func BuildServiceHandlerType() reflect.Type
- func BuildServiceServerType() reflect.Type
- func RegisterBuildServiceHandler(r http.Router, srv BuildServiceHandler, opts ...http.HandleOption)
- func RegisterBuildServiceImp(regester transport.Register, srv BuildServiceServer, ...)
- func RegisterBuildServiceServer(s grpc1.ServiceRegistrar, srv BuildServiceServer, opts ...grpc1.HandleOption)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type BuildArtifact
- func (*BuildArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArtifact) GetClusterName() string
- func (x *BuildArtifact) GetContent() string
- func (x *BuildArtifact) GetID() int64
- func (x *BuildArtifact) GetIdentityText() string
- func (x *BuildArtifact) GetPipelineID() uint64
- func (x *BuildArtifact) GetSha256() string
- func (x *BuildArtifact) GetType() string
- func (m *BuildArtifact) MarshalJSON() ([]byte, error)
- func (*BuildArtifact) ProtoMessage()
- func (x *BuildArtifact) ProtoReflect() protoreflect.Message
- func (x *BuildArtifact) Reset()
- func (x *BuildArtifact) String() string
- func (m *BuildArtifact) UnmarshalJSON(b []byte) error
- func (m *BuildArtifact) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildArtifact) Validate() error
- type BuildArtifactQueryRequest
- func (*BuildArtifactQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArtifactQueryRequest) GetSha() string
- func (m *BuildArtifactQueryRequest) MarshalJSON() ([]byte, error)
- func (*BuildArtifactQueryRequest) ProtoMessage()
- func (x *BuildArtifactQueryRequest) ProtoReflect() protoreflect.Message
- func (x *BuildArtifactQueryRequest) Reset()
- func (x *BuildArtifactQueryRequest) String() string
- func (m *BuildArtifactQueryRequest) UnmarshalJSON(b []byte) error
- func (m *BuildArtifactQueryRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildArtifactQueryRequest) Validate() error
- type BuildArtifactQueryResponse
- func (*BuildArtifactQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArtifactQueryResponse) GetData() *BuildArtifact
- func (m *BuildArtifactQueryResponse) MarshalJSON() ([]byte, error)
- func (*BuildArtifactQueryResponse) ProtoMessage()
- func (x *BuildArtifactQueryResponse) ProtoReflect() protoreflect.Message
- func (x *BuildArtifactQueryResponse) Reset()
- func (x *BuildArtifactQueryResponse) String() string
- func (m *BuildArtifactQueryResponse) UnmarshalJSON(b []byte) error
- func (m *BuildArtifactQueryResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildArtifactQueryResponse) Validate() error
- type BuildArtifactRegisterRequest
- func (*BuildArtifactRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArtifactRegisterRequest) GetClusterName() string
- func (x *BuildArtifactRegisterRequest) GetContent() string
- func (x *BuildArtifactRegisterRequest) GetIdentityText() string
- func (x *BuildArtifactRegisterRequest) GetPipelineID() uint64
- func (x *BuildArtifactRegisterRequest) GetSha() string
- func (x *BuildArtifactRegisterRequest) GetType() string
- func (m *BuildArtifactRegisterRequest) MarshalJSON() ([]byte, error)
- func (*BuildArtifactRegisterRequest) ProtoMessage()
- func (x *BuildArtifactRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *BuildArtifactRegisterRequest) Reset()
- func (x *BuildArtifactRegisterRequest) String() string
- func (m *BuildArtifactRegisterRequest) UnmarshalJSON(b []byte) error
- func (m *BuildArtifactRegisterRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildArtifactRegisterRequest) Validate() error
- type BuildArtifactRegisterResponse
- func (*BuildArtifactRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArtifactRegisterResponse) GetData() *BuildArtifact
- func (m *BuildArtifactRegisterResponse) MarshalJSON() ([]byte, error)
- func (*BuildArtifactRegisterResponse) ProtoMessage()
- func (x *BuildArtifactRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *BuildArtifactRegisterResponse) Reset()
- func (x *BuildArtifactRegisterResponse) String() string
- func (m *BuildArtifactRegisterResponse) UnmarshalJSON(b []byte) error
- func (m *BuildArtifactRegisterResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildArtifactRegisterResponse) Validate() error
- type BuildCacheReportRequest
- func (*BuildCacheReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildCacheReportRequest) GetAction() string
- func (x *BuildCacheReportRequest) GetClusterName() string
- func (x *BuildCacheReportRequest) GetName() string
- func (m *BuildCacheReportRequest) MarshalJSON() ([]byte, error)
- func (*BuildCacheReportRequest) ProtoMessage()
- func (x *BuildCacheReportRequest) ProtoReflect() protoreflect.Message
- func (x *BuildCacheReportRequest) Reset()
- func (x *BuildCacheReportRequest) String() string
- func (m *BuildCacheReportRequest) UnmarshalJSON(b []byte) error
- func (m *BuildCacheReportRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildCacheReportRequest) Validate() error
- type BuildCacheReportResponse
- func (*BuildCacheReportResponse) Descriptor() ([]byte, []int)deprecated
- func (m *BuildCacheReportResponse) MarshalJSON() ([]byte, error)
- func (*BuildCacheReportResponse) ProtoMessage()
- func (x *BuildCacheReportResponse) ProtoReflect() protoreflect.Message
- func (x *BuildCacheReportResponse) Reset()
- func (x *BuildCacheReportResponse) String() string
- func (m *BuildCacheReportResponse) UnmarshalJSON(b []byte) error
- func (m *BuildCacheReportResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *BuildCacheReportResponse) Validate() error
- type BuildServiceClient
- type BuildServiceHandler
- type BuildServiceServer
- type UnimplementedBuildServiceServer
- func (*UnimplementedBuildServiceServer) QueryBuildArtifact(context.Context, *BuildArtifactQueryRequest) (*BuildArtifactQueryResponse, error)
- func (*UnimplementedBuildServiceServer) RegisterBuildArtifact(context.Context, *BuildArtifactRegisterRequest) (*BuildArtifactRegisterResponse, error)
- func (*UnimplementedBuildServiceServer) ReportBuildCache(context.Context, *BuildCacheReportRequest) (*BuildCacheReportResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_build_proto protoreflect.FileDescriptor
Functions ¶
func BuildServiceHandlerType ¶
BuildServiceHandlerType .
func RegisterBuildServiceHandler ¶
func RegisterBuildServiceHandler(r http.Router, srv BuildServiceHandler, opts ...http.HandleOption)
RegisterBuildServiceHandler register BuildServiceHandler to http.Router.
func RegisterBuildServiceImp ¶
func RegisterBuildServiceImp(regester transport.Register, srv BuildServiceServer, opts ...transport.ServiceOption)
RegisterBuildServiceImp build.proto
func RegisterBuildServiceServer ¶
func RegisterBuildServiceServer(s grpc1.ServiceRegistrar, srv BuildServiceServer, opts ...grpc1.HandleOption)
Types ¶
type BuildArtifact ¶
type BuildArtifact struct { ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"` IdentityText string `protobuf:"bytes,3,opt,name=identityText,proto3" json:"identityText,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` ClusterName string `protobuf:"bytes,6,opt,name=clusterName,proto3" json:"clusterName,omitempty"` PipelineID uint64 `protobuf:"varint,7,opt,name=pipelineID,proto3" json:"pipelineID,omitempty"` // contains filtered or unexported fields }
func (*BuildArtifact) Descriptor
deprecated
func (*BuildArtifact) Descriptor() ([]byte, []int)
Deprecated: Use BuildArtifact.ProtoReflect.Descriptor instead.
func (*BuildArtifact) GetClusterName ¶
func (x *BuildArtifact) GetClusterName() string
func (*BuildArtifact) GetContent ¶
func (x *BuildArtifact) GetContent() string
func (*BuildArtifact) GetID ¶
func (x *BuildArtifact) GetID() int64
func (*BuildArtifact) GetIdentityText ¶
func (x *BuildArtifact) GetIdentityText() string
func (*BuildArtifact) GetPipelineID ¶
func (x *BuildArtifact) GetPipelineID() uint64
func (*BuildArtifact) GetSha256 ¶
func (x *BuildArtifact) GetSha256() string
func (*BuildArtifact) GetType ¶
func (x *BuildArtifact) GetType() string
func (*BuildArtifact) MarshalJSON ¶
func (m *BuildArtifact) MarshalJSON() ([]byte, error)
BuildArtifact implement json.Marshaler.
func (*BuildArtifact) ProtoMessage ¶
func (*BuildArtifact) ProtoMessage()
func (*BuildArtifact) ProtoReflect ¶
func (x *BuildArtifact) ProtoReflect() protoreflect.Message
func (*BuildArtifact) Reset ¶
func (x *BuildArtifact) Reset()
func (*BuildArtifact) String ¶
func (x *BuildArtifact) String() string
func (*BuildArtifact) UnmarshalJSON ¶
func (m *BuildArtifact) UnmarshalJSON(b []byte) error
BuildArtifact implement json.Marshaler.
func (*BuildArtifact) UnmarshalURLValues ¶
func (m *BuildArtifact) UnmarshalURLValues(prefix string, values url.Values) error
BuildArtifact implement urlenc.URLValuesUnmarshaler.
func (*BuildArtifact) Validate ¶
func (this *BuildArtifact) Validate() error
type BuildArtifactQueryRequest ¶
type BuildArtifactQueryRequest struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*BuildArtifactQueryRequest) Descriptor
deprecated
func (*BuildArtifactQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildArtifactQueryRequest.ProtoReflect.Descriptor instead.
func (*BuildArtifactQueryRequest) GetSha ¶
func (x *BuildArtifactQueryRequest) GetSha() string
func (*BuildArtifactQueryRequest) MarshalJSON ¶
func (m *BuildArtifactQueryRequest) MarshalJSON() ([]byte, error)
BuildArtifactQueryRequest implement json.Marshaler.
func (*BuildArtifactQueryRequest) ProtoMessage ¶
func (*BuildArtifactQueryRequest) ProtoMessage()
func (*BuildArtifactQueryRequest) ProtoReflect ¶
func (x *BuildArtifactQueryRequest) ProtoReflect() protoreflect.Message
func (*BuildArtifactQueryRequest) Reset ¶
func (x *BuildArtifactQueryRequest) Reset()
func (*BuildArtifactQueryRequest) String ¶
func (x *BuildArtifactQueryRequest) String() string
func (*BuildArtifactQueryRequest) UnmarshalJSON ¶
func (m *BuildArtifactQueryRequest) UnmarshalJSON(b []byte) error
BuildArtifactQueryRequest implement json.Marshaler.
func (*BuildArtifactQueryRequest) UnmarshalURLValues ¶
func (m *BuildArtifactQueryRequest) UnmarshalURLValues(prefix string, values url.Values) error
BuildArtifactQueryRequest implement urlenc.URLValuesUnmarshaler.
func (*BuildArtifactQueryRequest) Validate ¶
func (this *BuildArtifactQueryRequest) Validate() error
type BuildArtifactQueryResponse ¶
type BuildArtifactQueryResponse struct { Data *BuildArtifact `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BuildArtifactQueryResponse) Descriptor
deprecated
func (*BuildArtifactQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildArtifactQueryResponse.ProtoReflect.Descriptor instead.
func (*BuildArtifactQueryResponse) GetData ¶
func (x *BuildArtifactQueryResponse) GetData() *BuildArtifact
func (*BuildArtifactQueryResponse) MarshalJSON ¶
func (m *BuildArtifactQueryResponse) MarshalJSON() ([]byte, error)
BuildArtifactQueryResponse implement json.Marshaler.
func (*BuildArtifactQueryResponse) ProtoMessage ¶
func (*BuildArtifactQueryResponse) ProtoMessage()
func (*BuildArtifactQueryResponse) ProtoReflect ¶
func (x *BuildArtifactQueryResponse) ProtoReflect() protoreflect.Message
func (*BuildArtifactQueryResponse) Reset ¶
func (x *BuildArtifactQueryResponse) Reset()
func (*BuildArtifactQueryResponse) String ¶
func (x *BuildArtifactQueryResponse) String() string
func (*BuildArtifactQueryResponse) UnmarshalJSON ¶
func (m *BuildArtifactQueryResponse) UnmarshalJSON(b []byte) error
BuildArtifactQueryResponse implement json.Marshaler.
func (*BuildArtifactQueryResponse) UnmarshalURLValues ¶
func (m *BuildArtifactQueryResponse) UnmarshalURLValues(prefix string, values url.Values) error
BuildArtifactQueryResponse implement urlenc.URLValuesUnmarshaler.
func (*BuildArtifactQueryResponse) Validate ¶
func (this *BuildArtifactQueryResponse) Validate() error
type BuildArtifactRegisterRequest ¶
type BuildArtifactRegisterRequest struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` IdentityText string `protobuf:"bytes,2,opt,name=identityText,proto3" json:"identityText,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` ClusterName string `protobuf:"bytes,5,opt,name=clusterName,proto3" json:"clusterName,omitempty"` PipelineID uint64 `protobuf:"varint,6,opt,name=pipelineID,proto3" json:"pipelineID,omitempty"` // contains filtered or unexported fields }
func (*BuildArtifactRegisterRequest) Descriptor
deprecated
func (*BuildArtifactRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildArtifactRegisterRequest.ProtoReflect.Descriptor instead.
func (*BuildArtifactRegisterRequest) GetClusterName ¶
func (x *BuildArtifactRegisterRequest) GetClusterName() string
func (*BuildArtifactRegisterRequest) GetContent ¶
func (x *BuildArtifactRegisterRequest) GetContent() string
func (*BuildArtifactRegisterRequest) GetIdentityText ¶
func (x *BuildArtifactRegisterRequest) GetIdentityText() string
func (*BuildArtifactRegisterRequest) GetPipelineID ¶
func (x *BuildArtifactRegisterRequest) GetPipelineID() uint64
func (*BuildArtifactRegisterRequest) GetSha ¶
func (x *BuildArtifactRegisterRequest) GetSha() string
func (*BuildArtifactRegisterRequest) GetType ¶
func (x *BuildArtifactRegisterRequest) GetType() string
func (*BuildArtifactRegisterRequest) MarshalJSON ¶
func (m *BuildArtifactRegisterRequest) MarshalJSON() ([]byte, error)
BuildArtifactRegisterRequest implement json.Marshaler.
func (*BuildArtifactRegisterRequest) ProtoMessage ¶
func (*BuildArtifactRegisterRequest) ProtoMessage()
func (*BuildArtifactRegisterRequest) ProtoReflect ¶
func (x *BuildArtifactRegisterRequest) ProtoReflect() protoreflect.Message
func (*BuildArtifactRegisterRequest) Reset ¶
func (x *BuildArtifactRegisterRequest) Reset()
func (*BuildArtifactRegisterRequest) String ¶
func (x *BuildArtifactRegisterRequest) String() string
func (*BuildArtifactRegisterRequest) UnmarshalJSON ¶
func (m *BuildArtifactRegisterRequest) UnmarshalJSON(b []byte) error
BuildArtifactRegisterRequest implement json.Marshaler.
func (*BuildArtifactRegisterRequest) UnmarshalURLValues ¶
func (m *BuildArtifactRegisterRequest) UnmarshalURLValues(prefix string, values url.Values) error
BuildArtifactRegisterRequest implement urlenc.URLValuesUnmarshaler.
func (*BuildArtifactRegisterRequest) Validate ¶
func (this *BuildArtifactRegisterRequest) Validate() error
type BuildArtifactRegisterResponse ¶
type BuildArtifactRegisterResponse struct { Data *BuildArtifact `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BuildArtifactRegisterResponse) Descriptor
deprecated
func (*BuildArtifactRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildArtifactRegisterResponse.ProtoReflect.Descriptor instead.
func (*BuildArtifactRegisterResponse) GetData ¶
func (x *BuildArtifactRegisterResponse) GetData() *BuildArtifact
func (*BuildArtifactRegisterResponse) MarshalJSON ¶
func (m *BuildArtifactRegisterResponse) MarshalJSON() ([]byte, error)
BuildArtifactRegisterResponse implement json.Marshaler.
func (*BuildArtifactRegisterResponse) ProtoMessage ¶
func (*BuildArtifactRegisterResponse) ProtoMessage()
func (*BuildArtifactRegisterResponse) ProtoReflect ¶
func (x *BuildArtifactRegisterResponse) ProtoReflect() protoreflect.Message
func (*BuildArtifactRegisterResponse) Reset ¶
func (x *BuildArtifactRegisterResponse) Reset()
func (*BuildArtifactRegisterResponse) String ¶
func (x *BuildArtifactRegisterResponse) String() string
func (*BuildArtifactRegisterResponse) UnmarshalJSON ¶
func (m *BuildArtifactRegisterResponse) UnmarshalJSON(b []byte) error
BuildArtifactRegisterResponse implement json.Marshaler.
func (*BuildArtifactRegisterResponse) UnmarshalURLValues ¶
func (m *BuildArtifactRegisterResponse) UnmarshalURLValues(prefix string, values url.Values) error
BuildArtifactRegisterResponse implement urlenc.URLValuesUnmarshaler.
func (*BuildArtifactRegisterResponse) Validate ¶
func (this *BuildArtifactRegisterResponse) Validate() error
type BuildCacheReportRequest ¶
type BuildCacheReportRequest struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ClusterName string `protobuf:"bytes,3,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*BuildCacheReportRequest) Descriptor
deprecated
func (*BuildCacheReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildCacheReportRequest.ProtoReflect.Descriptor instead.
func (*BuildCacheReportRequest) GetAction ¶
func (x *BuildCacheReportRequest) GetAction() string
func (*BuildCacheReportRequest) GetClusterName ¶
func (x *BuildCacheReportRequest) GetClusterName() string
func (*BuildCacheReportRequest) GetName ¶
func (x *BuildCacheReportRequest) GetName() string
func (*BuildCacheReportRequest) MarshalJSON ¶
func (m *BuildCacheReportRequest) MarshalJSON() ([]byte, error)
BuildCacheReportRequest implement json.Marshaler.
func (*BuildCacheReportRequest) ProtoMessage ¶
func (*BuildCacheReportRequest) ProtoMessage()
func (*BuildCacheReportRequest) ProtoReflect ¶
func (x *BuildCacheReportRequest) ProtoReflect() protoreflect.Message
func (*BuildCacheReportRequest) Reset ¶
func (x *BuildCacheReportRequest) Reset()
func (*BuildCacheReportRequest) String ¶
func (x *BuildCacheReportRequest) String() string
func (*BuildCacheReportRequest) UnmarshalJSON ¶
func (m *BuildCacheReportRequest) UnmarshalJSON(b []byte) error
BuildCacheReportRequest implement json.Marshaler.
func (*BuildCacheReportRequest) UnmarshalURLValues ¶
func (m *BuildCacheReportRequest) UnmarshalURLValues(prefix string, values url.Values) error
BuildCacheReportRequest implement urlenc.URLValuesUnmarshaler.
func (*BuildCacheReportRequest) Validate ¶
func (this *BuildCacheReportRequest) Validate() error
type BuildCacheReportResponse ¶
type BuildCacheReportResponse struct {
// contains filtered or unexported fields
}
func (*BuildCacheReportResponse) Descriptor
deprecated
func (*BuildCacheReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildCacheReportResponse.ProtoReflect.Descriptor instead.
func (*BuildCacheReportResponse) MarshalJSON ¶
func (m *BuildCacheReportResponse) MarshalJSON() ([]byte, error)
BuildCacheReportResponse implement json.Marshaler.
func (*BuildCacheReportResponse) ProtoMessage ¶
func (*BuildCacheReportResponse) ProtoMessage()
func (*BuildCacheReportResponse) ProtoReflect ¶
func (x *BuildCacheReportResponse) ProtoReflect() protoreflect.Message
func (*BuildCacheReportResponse) Reset ¶
func (x *BuildCacheReportResponse) Reset()
func (*BuildCacheReportResponse) String ¶
func (x *BuildCacheReportResponse) String() string
func (*BuildCacheReportResponse) UnmarshalJSON ¶
func (m *BuildCacheReportResponse) UnmarshalJSON(b []byte) error
BuildCacheReportResponse implement json.Marshaler.
func (*BuildCacheReportResponse) UnmarshalURLValues ¶
func (m *BuildCacheReportResponse) UnmarshalURLValues(prefix string, values url.Values) error
BuildCacheReportResponse implement urlenc.URLValuesUnmarshaler.
func (*BuildCacheReportResponse) Validate ¶
func (this *BuildCacheReportResponse) Validate() error
type BuildServiceClient ¶
type BuildServiceClient interface { QueryBuildArtifact(ctx context.Context, in *BuildArtifactQueryRequest, opts ...grpc.CallOption) (*BuildArtifactQueryResponse, error) RegisterBuildArtifact(ctx context.Context, in *BuildArtifactRegisterRequest, opts ...grpc.CallOption) (*BuildArtifactRegisterResponse, error) ReportBuildCache(ctx context.Context, in *BuildCacheReportRequest, opts ...grpc.CallOption) (*BuildCacheReportResponse, error) }
BuildServiceClient is the client API for BuildService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBuildServiceClient ¶
func NewBuildServiceClient(cc grpc1.ClientConnInterface) BuildServiceClient
type BuildServiceHandler ¶
type BuildServiceHandler interface { // POST /api/build-artifacts/{sha} QueryBuildArtifact(context.Context, *BuildArtifactQueryRequest) (*BuildArtifactQueryResponse, error) // POST /api/build-artifacts RegisterBuildArtifact(context.Context, *BuildArtifactRegisterRequest) (*BuildArtifactRegisterResponse, error) // POST /api/build-caches ReportBuildCache(context.Context, *BuildCacheReportRequest) (*BuildCacheReportResponse, error) }
BuildServiceHandler is the server API for BuildService service.
type BuildServiceServer ¶
type BuildServiceServer interface { QueryBuildArtifact(context.Context, *BuildArtifactQueryRequest) (*BuildArtifactQueryResponse, error) RegisterBuildArtifact(context.Context, *BuildArtifactRegisterRequest) (*BuildArtifactRegisterResponse, error) ReportBuildCache(context.Context, *BuildCacheReportRequest) (*BuildCacheReportResponse, error) }
BuildServiceServer is the server API for BuildService service. All implementations should embed UnimplementedBuildServiceServer for forward compatibility
type UnimplementedBuildServiceServer ¶
type UnimplementedBuildServiceServer struct { }
UnimplementedBuildServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedBuildServiceServer) QueryBuildArtifact ¶
func (*UnimplementedBuildServiceServer) QueryBuildArtifact(context.Context, *BuildArtifactQueryRequest) (*BuildArtifactQueryResponse, error)
func (*UnimplementedBuildServiceServer) RegisterBuildArtifact ¶
func (*UnimplementedBuildServiceServer) RegisterBuildArtifact(context.Context, *BuildArtifactRegisterRequest) (*BuildArtifactRegisterResponse, error)
func (*UnimplementedBuildServiceServer) ReportBuildCache ¶
func (*UnimplementedBuildServiceServer) ReportBuildCache(context.Context, *BuildCacheReportRequest) (*BuildCacheReportResponse, error)