luci: Index | Files

package rpc

import ""

Package rpc contains rpc service implementation.


Package Files

builds.go cancel_build.go doc.go get_build.go search_builds.go

func New Uses

func New() pb.BuildsServer

New returns a new pb.BuildsServer.

type Builds Uses

type Builds struct {

Builds implements pb.BuildsServer.

func (*Builds) Batch Uses

func (*Builds) Batch(ctx context.Context, req *pb.BatchRequest) (*pb.BatchResponse, error)

Batch handles a batch request. Implements pb.BuildsServer.

func (*Builds) CancelBuild Uses

func (*Builds) CancelBuild(ctx context.Context, req *pb.CancelBuildRequest) (*pb.Build, error)

CancelBuild handles a request to cancel a build. Implements pb.BuildsServer.

func (*Builds) GetBuild Uses

func (*Builds) GetBuild(ctx context.Context, req *pb.GetBuildRequest) (*pb.Build, error)

GetBuild handles a request to retrieve a build. Implements pb.BuildsServer.

func (*Builds) ScheduleBuild Uses

func (*Builds) ScheduleBuild(ctx context.Context, req *pb.ScheduleBuildRequest) (*pb.Build, error)

ScheduleBuild handles a request to schedule a build. Implements pb.BuildsServer.

func (*Builds) SearchBuilds Uses

func (*Builds) SearchBuilds(ctx context.Context, req *pb.SearchBuildsRequest) (*pb.SearchBuildsResponse, error)

SearchBuilds handles a request to search for builds. Implements pb.BuildsServer.

func (*Builds) UpdateBuild Uses

func (*Builds) UpdateBuild(ctx context.Context, req *pb.UpdateBuildRequest) (*pb.Build, error)

UpdateBuild handles a request to update a build. Implements pb.UpdateBuild.

Package rpc imports 15 packages (graph). Updated 2020-05-30. Refresh now. Tools for package owners.