Documentation ¶
Overview ¶
Package rpc contains RPC server implementations.
Index ¶
- func NewConfigurationServer() config.ConfigurationServer
- func NewInstancesServer() instances.InstancesServer
- func NewProjectsServer() projects.ProjectsServer
- type Config
- func (*Config) Delete(c context.Context, req *config.DeleteRequest) (*empty.Empty, error)
- func (*Config) Ensure(c context.Context, req *config.EnsureRequest) (*config.Config, error)
- func (*Config) Get(c context.Context, req *config.GetRequest) (*config.Config, error)
- func (*Config) List(c context.Context, req *config.ListRequest) (*config.ListResponse, error)
- func (*Config) Update(c context.Context, req *config.UpdateRequest) (*config.Config, error)
- type Instances
- type Projects
- func (*Projects) Delete(c context.Context, req *projects.DeleteRequest) (*empty.Empty, error)
- func (*Projects) Ensure(c context.Context, req *projects.EnsureRequest) (*projects.Config, error)
- func (*Projects) Get(c context.Context, req *projects.GetRequest) (*projects.Config, error)
- func (*Projects) List(c context.Context, req *projects.ListRequest) (*projects.ListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigurationServer ¶
func NewConfigurationServer() config.ConfigurationServer
NewConfigurationServer returns a new configuration server.
func NewInstancesServer ¶
func NewInstancesServer() instances.InstancesServer
NewInstancesServer returns a new instances server.
func NewProjectsServer ¶
func NewProjectsServer() projects.ProjectsServer
NewProjectsServer returns a new projects server.
Types ¶
type Config ¶
type Config struct { }
Config implements config.ConfigurationServer.
func (*Config) Ensure ¶
Ensure handles a request to create or update a config. For app-internal use only.
type Instances ¶
type Instances struct { }
Instances implements instances.InstancesServer.
type Projects ¶
type Projects struct { }
Projects implements projects.ProjectsServer.
Click to show internal directories.
Click to hide internal directories.