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

package rpc

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

Package rpc contains RPC server implementations.

Index

Package Files

common.go config.go doc.go instances.go projects.go

func NewConfigurationServer Uses

func NewConfigurationServer() config.ConfigurationServer

NewConfigurationServer returns a new configuration server.

func NewInstancesServer Uses

func NewInstancesServer() instances.InstancesServer

NewInstancesServer returns a new instances server.

func NewProjectsServer Uses

func NewProjectsServer() projects.ProjectsServer

NewProjectsServer returns a new projects server.

type Config Uses

type Config struct {
}

Config implements config.ConfigurationServer.

func (*Config) Delete Uses

func (*Config) Delete(c context.Context, req *config.DeleteRequest) (*empty.Empty, error)

Delete handles a request to delete a config. For app-internal use only.

func (*Config) Ensure Uses

func (*Config) Ensure(c context.Context, req *config.EnsureRequest) (*config.Config, error)

Ensure handles a request to create or update a config. For app-internal use only.

func (*Config) Get Uses

func (*Config) Get(c context.Context, req *config.GetRequest) (*config.Config, error)

Get handles a request to get a config.

func (*Config) List Uses

func (*Config) List(c context.Context, req *config.ListRequest) (*config.ListResponse, error)

List handles a request to list all configs.

type Instances Uses

type Instances struct {
}

Instances implements instances.InstancesServer.

func (*Instances) Delete Uses

func (*Instances) Delete(c context.Context, req *instances.DeleteRequest) (*empty.Empty, error)

Delete handles a request to delete an instance asynchronously.

func (*Instances) Get Uses

func (*Instances) Get(c context.Context, req *instances.GetRequest) (*instances.Instance, error)

Get handles a request to get an existing instance.

func (*Instances) List Uses

func (*Instances) List(c context.Context, req *instances.ListRequest) (*instances.ListResponse, error)

List handles a request to list instances.

type Projects Uses

type Projects struct {
}

Projects implements projects.ProjectsServer.

func (*Projects) Delete Uses

func (*Projects) Delete(c context.Context, req *projects.DeleteRequest) (*empty.Empty, error)

Delete handles a request to delete a project.

func (*Projects) Ensure Uses

func (*Projects) Ensure(c context.Context, req *projects.EnsureRequest) (*projects.Config, error)

Ensure handles a request to create or update a project.

func (*Projects) Get Uses

func (*Projects) Get(c context.Context, req *projects.GetRequest) (*projects.Config, error)

Get handles a request to get a project.

func (*Projects) List Uses

func (*Projects) List(c context.Context, req *projects.ListRequest) (*projects.ListResponse, error)

List handles a request to list all projects.

Directories

PathSynopsis
memoryPackage memory contains a RPC servers backed by in-memory storage.

Package rpc imports 19 packages (graph) and is imported by 3 packages. Updated 2019-07-20. Refresh now. Tools for package owners.