luci: go.chromium.org/luci/buildbucket/appengine/rpc Index | Files

package rpc

import "go.chromium.org/luci/buildbucket/appengine/rpc"

Package rpc contains rpc service implementation.

TODO(crbug/1090540): remove after verification is done.

Index

Package Files

builders.go builds.go cancel_build.go common.go doc.go get_build.go get_builder.go list_builders.go schedule_build.go search_builds.go search_builds_verification.go update_build.go

Constants

const (
    TagNew tagValidationMode = iota
    TagAppend
)

func NewBuilders Uses

func NewBuilders() pb.BuildersServer

NewBuilders returns a new pb.BuildersServer.

func NewBuilds Uses

func NewBuilds() pb.BuildsServer

NewBuilds returns a new pb.BuildsServer.

type Builders Uses

type Builders struct{}

Builders implements pb.BuildersServer.

func (*Builders) GetBuilder Uses

func (*Builders) GetBuilder(ctx context.Context, req *pb.GetBuilderRequest) (*pb.BuilderItem, error)

GetBuilder handles a request to retrieve a builder. Implements pb.BuildersServer.

func (*Builders) ListBuilders Uses

func (*Builders) ListBuilders(ctx context.Context, req *pb.ListBuildersRequest) (*pb.ListBuildersResponse, error)

ListBuilders handles a request to retrieve builders. Implements pb.BuildersServer.

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 29 packages (graph) and is imported by 1 packages. Updated 2020-10-28. Refresh now. Tools for package owners.