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 ¶
func (g *GerritIntegrationServer) GetCLRunInfo(ctx context.Context, req *apiv0pb.GetCLRunInfoRequest) (resp *apiv0pb.GetCLRunInfoResponse, err error)
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.
Click to show internal directories.
Click to hide internal directories.