Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceProxySecret ¶
func ReplaceProxySecret(namespace, datafield string, newc ProxyCredentials)
func RestartProxy ¶
func RestartProxy(namespace, podname string)
Types ¶
type ProxyCredentials ¶
type ProxyCredentials struct { Users []struct { Username string `yaml:"username"` Password string `yaml:"password"` Orgid string `yaml:"orgid"` } `yaml:"users"` }
func AllProxyCredentials ¶
func AllProxyCredentials() (ProxyCredentials, error)
collects all proxy credentials
func GetProxyCredentials ¶
func GetProxyCredentials(file string) (ProxyCredentials, error)
input is a decoded yaml config file from the secret
Click to show internal directories.
Click to hide internal directories.