Documentation ¶ Index ¶ func GetSshKeyFromSecret(defaultNamespace string, secretname string, key string) ([]byte, error) type RegCredT func GetCredentials(authenticated bool, defaultNamespace string, secretname string) (RegCredT, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetSshKeyFromSecret ¶ func GetSshKeyFromSecret(defaultNamespace string, secretname string, key string) ([]byte, error) Types ¶ type RegCredT ¶ type RegCredT struct { User string Passwd string } func GetCredentials ¶ func GetCredentials(authenticated bool, defaultNamespace string, secretname string) (RegCredT, error) Source Files ¶ View all Source files gosecret.go Click to show internal directories. Click to hide internal directories.