Documentation
¶
Index ¶
- Variables
- func GatewayClientFromConfig(ctx context.Context, config *v1beta1.SupportAgentConfig, ...) (clients.GatewayClient, error)
- func LoadKeyring(pwdFunc keystore.PromptFunc) (keyring.Keyring, error)
- func MustLoadConfig(configFile string, lg logger.ExtendedSugaredLogger) *v1beta1.SupportAgentConfig
- func PersistConfig(configFile string, config *v1beta1.SupportAgentConfig, data []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoConfig = errors.New("no config data provided")
)
Functions ¶
func GatewayClientFromConfig ¶
func GatewayClientFromConfig( ctx context.Context, config *v1beta1.SupportAgentConfig, pwdFunc keystore.PromptFunc, ) (clients.GatewayClient, error)
func LoadKeyring ¶
func LoadKeyring(pwdFunc keystore.PromptFunc) (keyring.Keyring, error)
func MustLoadConfig ¶
func MustLoadConfig(configFile string, lg logger.ExtendedSugaredLogger) *v1beta1.SupportAgentConfig
func PersistConfig ¶
func PersistConfig( configFile string, config *v1beta1.SupportAgentConfig, data []byte, storePwdFunc keystore.PromptFunc, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.