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 (c *Config) StartConfigServer() error
- func (s *Config) SysAccount(ctx context.Context, req *api.SysAccountRequest) (*api.SysAccountResponse, 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) StartConfigServer ¶
StartConfigServer starts the config grpc server
func (*Config) SysAccount ¶ added in v0.5.0
func (s *Config) SysAccount(ctx context.Context, req *api.SysAccountRequest) (*api.SysAccountResponse, error)
Click to show internal directories.
Click to hide internal directories.