build: golang.org/x/build/cmd/coordinator/protos Index | Files

package protos

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.

Index

Package Files

coordinator.pb.go protos.go

func RegisterCoordinatorServer Uses

func RegisterCoordinatorServer(s *grpc.Server, srv CoordinatorServer)

type ClearResultsRequest Uses

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 Uses

func (*ClearResultsRequest) Descriptor() ([]byte, []int)

func (*ClearResultsRequest) GetBuilder Uses

func (m *ClearResultsRequest) GetBuilder() string

func (*ClearResultsRequest) GetHash Uses

func (m *ClearResultsRequest) GetHash() string

func (*ClearResultsRequest) ProtoMessage Uses

func (*ClearResultsRequest) ProtoMessage()

func (*ClearResultsRequest) Reset Uses

func (m *ClearResultsRequest) Reset()

func (*ClearResultsRequest) String Uses

func (m *ClearResultsRequest) String() string

func (*ClearResultsRequest) XXX_DiscardUnknown Uses

func (m *ClearResultsRequest) XXX_DiscardUnknown()

func (*ClearResultsRequest) XXX_Marshal Uses

func (m *ClearResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearResultsRequest) XXX_Merge Uses

func (m *ClearResultsRequest) XXX_Merge(src proto.Message)

func (*ClearResultsRequest) XXX_Size Uses

func (m *ClearResultsRequest) XXX_Size() int

func (*ClearResultsRequest) XXX_Unmarshal Uses

func (m *ClearResultsRequest) XXX_Unmarshal(b []byte) error

type ClearResultsResponse Uses

type ClearResultsResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ClearResultsResponse) Descriptor Uses

func (*ClearResultsResponse) Descriptor() ([]byte, []int)

func (*ClearResultsResponse) ProtoMessage Uses

func (*ClearResultsResponse) ProtoMessage()

func (*ClearResultsResponse) Reset Uses

func (m *ClearResultsResponse) Reset()

func (*ClearResultsResponse) String Uses

func (m *ClearResultsResponse) String() string

func (*ClearResultsResponse) XXX_DiscardUnknown Uses

func (m *ClearResultsResponse) XXX_DiscardUnknown()

func (*ClearResultsResponse) XXX_Marshal Uses

func (m *ClearResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearResultsResponse) XXX_Merge Uses

func (m *ClearResultsResponse) XXX_Merge(src proto.Message)

func (*ClearResultsResponse) XXX_Size Uses

func (m *ClearResultsResponse) XXX_Size() int

func (*ClearResultsResponse) XXX_Unmarshal Uses

func (m *ClearResultsResponse) XXX_Unmarshal(b []byte) error

type CoordinatorClient Uses

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 Uses

func NewCoordinatorClient(cc grpc.ClientConnInterface) CoordinatorClient

type CoordinatorServer Uses

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 Uses

type UnimplementedCoordinatorServer struct {
}

UnimplementedCoordinatorServer can be embedded to have forward compatible implementations.

func (*UnimplementedCoordinatorServer) ClearResults Uses

func (*UnimplementedCoordinatorServer) ClearResults(ctx context.Context, req *ClearResultsRequest) (*ClearResultsResponse, error)

Package protos imports 7 packages (graph) and is imported by 3 packages. Updated 2020-07-04. Refresh now. Tools for package owners.