Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCoordinatorServer(s grpc.ServiceRegistrar, srv CoordinatorServer)
- type ClearResultsRequest
- func (*ClearResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClearResultsRequest) GetBuilder() string
- func (x *ClearResultsRequest) GetHash() string
- func (*ClearResultsRequest) ProtoMessage()
- func (x *ClearResultsRequest) ProtoReflect() protoreflect.Message
- func (x *ClearResultsRequest) Reset()
- func (x *ClearResultsRequest) String() string
- type ClearResultsResponse
- type CoordinatorClient
- type CoordinatorServer
- type UnimplementedCoordinatorServer
- type UnsafeCoordinatorServer
Constants ¶
const (
Coordinator_ClearResults_FullMethodName = "/protos.Coordinator/ClearResults"
)
Variables ¶
var Coordinator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protos.Coordinator", HandlerType: (*CoordinatorServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ClearResults", Handler: _Coordinator_ClearResults_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cmd/coordinator/protos/coordinator.proto", }
Coordinator_ServiceDesc is the grpc.ServiceDesc for Coordinator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cmd_coordinator_protos_coordinator_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoordinatorServer ¶
func RegisterCoordinatorServer(s grpc.ServiceRegistrar, srv CoordinatorServer)
Types ¶
type ClearResultsRequest ¶
type ClearResultsRequest struct { // builder is the builder to clear results. Builder string `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` // hash is the commit hash to clear results. Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
ClearResultsRequest specifies the data needed to clear a result.
func (*ClearResultsRequest) Descriptor
deprecated
func (*ClearResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearResultsRequest.ProtoReflect.Descriptor instead.
func (*ClearResultsRequest) GetBuilder ¶
func (x *ClearResultsRequest) GetBuilder() string
func (*ClearResultsRequest) GetHash ¶
func (x *ClearResultsRequest) GetHash() string
func (*ClearResultsRequest) ProtoMessage ¶
func (*ClearResultsRequest) ProtoMessage()
func (*ClearResultsRequest) ProtoReflect ¶
func (x *ClearResultsRequest) ProtoReflect() protoreflect.Message
func (*ClearResultsRequest) Reset ¶
func (x *ClearResultsRequest) Reset()
func (*ClearResultsRequest) String ¶
func (x *ClearResultsRequest) String() string
type ClearResultsResponse ¶
type ClearResultsResponse struct {
// contains filtered or unexported fields
}
func (*ClearResultsResponse) Descriptor
deprecated
func (*ClearResultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClearResultsResponse.ProtoReflect.Descriptor instead.
func (*ClearResultsResponse) ProtoMessage ¶
func (*ClearResultsResponse) ProtoMessage()
func (*ClearResultsResponse) ProtoReflect ¶
func (x *ClearResultsResponse) ProtoReflect() protoreflect.Message
func (*ClearResultsResponse) Reset ¶
func (x *ClearResultsResponse) Reset()
func (*ClearResultsResponse) String ¶
func (x *ClearResultsResponse) String() string
type CoordinatorClient ¶
type CoordinatorClient interface { // ClearResults clears build failures from the coordinator to force them to rebuild. ClearResults(ctx context.Context, in *ClearResultsRequest, opts ...grpc.CallOption) (*ClearResultsResponse, error) }
CoordinatorClient is the client API for Coordinator 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 NewCoordinatorClient ¶
func NewCoordinatorClient(cc grpc.ClientConnInterface) CoordinatorClient
type CoordinatorServer ¶
type CoordinatorServer interface { // ClearResults clears build failures from the coordinator to force them to rebuild. ClearResults(context.Context, *ClearResultsRequest) (*ClearResultsResponse, error) // contains filtered or unexported methods }
CoordinatorServer is the server API for Coordinator service. All implementations must embed UnimplementedCoordinatorServer for forward compatibility.
type UnimplementedCoordinatorServer ¶
type UnimplementedCoordinatorServer struct{}
UnimplementedCoordinatorServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCoordinatorServer) ClearResults ¶
func (UnimplementedCoordinatorServer) ClearResults(context.Context, *ClearResultsRequest) (*ClearResultsResponse, error)
type UnsafeCoordinatorServer ¶
type UnsafeCoordinatorServer interface {
// contains filtered or unexported methods
}
UnsafeCoordinatorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoordinatorServer will result in compilation errors.