import "golang.org/x/build/cmd/coordinator/protos"
Copyright 2020 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
func RegisterCoordinatorServer(s *grpc.Server, srv CoordinatorServer)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ClearResultsRequest specifies the data needed to clear a result.
func (*ClearResultsRequest) Descriptor() ([]byte, []int)
func (m *ClearResultsRequest) GetBuilder() string
func (m *ClearResultsRequest) GetHash() string
func (*ClearResultsRequest) ProtoMessage()
func (m *ClearResultsRequest) Reset()
func (m *ClearResultsRequest) String() string
func (m *ClearResultsRequest) XXX_DiscardUnknown()
func (m *ClearResultsRequest) XXX_Merge(src proto.Message)
func (m *ClearResultsRequest) XXX_Size() int
func (m *ClearResultsRequest) XXX_Unmarshal(b []byte) error
type ClearResultsResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClearResultsResponse) Descriptor() ([]byte, []int)
func (*ClearResultsResponse) ProtoMessage()
func (m *ClearResultsResponse) Reset()
func (m *ClearResultsResponse) String() string
func (m *ClearResultsResponse) XXX_DiscardUnknown()
func (m *ClearResultsResponse) XXX_Merge(src proto.Message)
func (m *ClearResultsResponse) XXX_Size() int
func (m *ClearResultsResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCoordinatorClient(cc grpc.ClientConnInterface) CoordinatorClient
type CoordinatorServer interface { // ClearResults clears build failures from the coordinator to force them to rebuild. ClearResults(context.Context, *ClearResultsRequest) (*ClearResultsResponse, error) }
CoordinatorServer is the server API for Coordinator service.
type UnimplementedCoordinatorServer struct { }
UnimplementedCoordinatorServer can be embedded to have forward compatible implementations.
func (*UnimplementedCoordinatorServer) ClearResults(ctx context.Context, req *ClearResultsRequest) (*ClearResultsResponse, error)
Package protos imports 7 packages (graph) and is imported by 3 packages. Updated 2021-01-22. Refresh now. Tools for package owners.