protos

package
v0.0.0-...-bf50695 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

README

Run "go generate" in the module top-level directory to update. You need a protoc binary (see https://github.com/golang/protobuf#installation).

Documentation

Index

Constants

View Source
const (
	Coordinator_ClearResults_FullMethodName = "/protos.Coordinator/ClearResults"
)

Variables

View Source
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)

View Source
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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL