Documentation ¶
Overview ¶
Package memory contains a RPC servers backed by in-memory storage.
Index ¶
- type Config
- func (srv *Config) Delete(c context.Context, req *config.DeleteRequest) (*emptypb.Empty, error)
- func (srv *Config) Ensure(c context.Context, req *config.EnsureRequest) (*config.Config, error)
- func (srv *Config) Get(c context.Context, req *config.GetRequest) (*config.Config, error)
- func (srv *Config) List(c context.Context, req *config.ListRequest) (*config.ListResponse, error)
- func (srv *Config) Update(c context.Context, req *config.UpdateRequest) (*config.Config, error)
- type Projects
- func (srv *Projects) Delete(c context.Context, req *projects.DeleteRequest) (*emptypb.Empty, error)
- func (srv *Projects) Ensure(c context.Context, req *projects.EnsureRequest) (*projects.Config, error)
- func (srv *Projects) Get(c context.Context, req *projects.GetRequest) (*projects.Config, error)
- func (srv *Projects) List(c context.Context, req *projects.ListRequest) (*projects.ListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config implements config.ConfigurationServer.
type Projects ¶
type Projects struct {
// contains filtered or unexported fields
}
Projects implements projects.ProjectsServer.
func (*Projects) Ensure ¶
func (srv *Projects) Ensure(c context.Context, req *projects.EnsureRequest) (*projects.Config, error)
Ensure handles a request to create or update a project.
Click to show internal directories.
Click to hide internal directories.