rpc

package
v0.0.0-...-110cdec Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package rpc implements CV V0 pRPC APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GerritIntegrationServer

type GerritIntegrationServer struct {
	apiv0pb.UnimplementedGerritIntegrationServer
}

GerritIntegrationServer implements the v0 API.

func (*GerritIntegrationServer) GetCLRunInfo

GetCLRunInfo implements GerritIntegrationServer; it returns ongoing Run information related to the given CL.

type RunsServer

type RunsServer struct {
	apiv0pb.UnimplementedRunsServer
}

RunsServer implements the v0 API.

func (*RunsServer) GetRun

func (s *RunsServer) GetRun(ctx context.Context, req *apiv0pb.GetRunRequest) (resp *apiv0pb.Run, err error)

GetRun fetches information about one Run given a public Run ID.

func (*RunsServer) SearchRuns

func (s *RunsServer) SearchRuns(ctx context.Context, req *apiv0pb.SearchRunsRequest) (resp *apiv0pb.SearchRunsResponse, err error)

SearchRuns implements RunsServer; it fetches multiple Runs given search criteria.

Jump to

Keyboard shortcuts

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