protos

package
v0.0.0-...-870f2d0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCoordinatorServer

func RegisterCoordinatorServer(s *grpc.Server, 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ClearResultsRequest specifies the data needed to clear a result.

func (*ClearResultsRequest) Descriptor

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

func (*ClearResultsRequest) GetBuilder

func (m *ClearResultsRequest) GetBuilder() string

func (*ClearResultsRequest) GetHash

func (m *ClearResultsRequest) GetHash() string

func (*ClearResultsRequest) ProtoMessage

func (*ClearResultsRequest) ProtoMessage()

func (*ClearResultsRequest) Reset

func (m *ClearResultsRequest) Reset()

func (*ClearResultsRequest) String

func (m *ClearResultsRequest) String() string

func (*ClearResultsRequest) XXX_DiscardUnknown

func (m *ClearResultsRequest) XXX_DiscardUnknown()

func (*ClearResultsRequest) XXX_Marshal

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

func (*ClearResultsRequest) XXX_Merge

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

func (*ClearResultsRequest) XXX_Size

func (m *ClearResultsRequest) XXX_Size() int

func (*ClearResultsRequest) XXX_Unmarshal

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

type ClearResultsResponse

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

func (*ClearResultsResponse) Descriptor

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

func (*ClearResultsResponse) ProtoMessage

func (*ClearResultsResponse) ProtoMessage()

func (*ClearResultsResponse) Reset

func (m *ClearResultsResponse) Reset()

func (*ClearResultsResponse) String

func (m *ClearResultsResponse) String() string

func (*ClearResultsResponse) XXX_DiscardUnknown

func (m *ClearResultsResponse) XXX_DiscardUnknown()

func (*ClearResultsResponse) XXX_Marshal

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

func (*ClearResultsResponse) XXX_Merge

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

func (*ClearResultsResponse) XXX_Size

func (m *ClearResultsResponse) XXX_Size() int

func (*ClearResultsResponse) XXX_Unmarshal

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

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://godoc.org/google.golang.org/grpc#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)
}

CoordinatorServer is the server API for Coordinator service.

type UnimplementedCoordinatorServer

type UnimplementedCoordinatorServer struct {
}

UnimplementedCoordinatorServer can be embedded to have forward compatible implementations.

func (*UnimplementedCoordinatorServer) ClearResults

Jump to

Keyboard shortcuts

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