Documentation ¶
Index ¶
- type Config
- func (s *Config) DeleteNetwork(ctx context.Context, req *api.DeleteNetworkRequest) (*api.DeleteNetworkResponse, error)
- func (s *Config) DesiredState(ctx context.Context, req *api.DesiredStateRequest) (*api.DesiredStateResponse, error)
- func (s *Config) ServerInformation(ctx context.Context, req *api.ServerInformationRequest) (*api.ServerInformationResponse, error)
- func (c *Config) StartConfigServer() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { api.UnimplementedConfigServiceServer creds.CredsIf Port int }
Config represents the configuration for the config server
func (*Config) DeleteNetwork ¶ added in v0.4.0
func (s *Config) DeleteNetwork(ctx context.Context, req *api.DeleteNetworkRequest) (*api.DeleteNetworkResponse, error)
DeleteAccount rpc deletes the account from the credentials.
func (*Config) DesiredState ¶
func (s *Config) DesiredState(ctx context.Context, req *api.DesiredStateRequest) (*api.DesiredStateResponse, error)
DesiredState rpc constructs the desired state of the credentials
func (*Config) ServerInformation ¶ added in v0.7.0
func (s *Config) ServerInformation(ctx context.Context, req *api.ServerInformationRequest) (*api.ServerInformationResponse, error)
func (*Config) StartConfigServer ¶
StartConfigServer starts the config grpc server
Click to show internal directories.
Click to hide internal directories.