Documentation
¶
Index ¶
- func AdminPassword(secretName, namespace string, k *kube.Kubernetes) (string, error)
- func CreateIdentitiesFor(usr string, pass string) ([]byte, error)
- func FindPassword(usr string, descriptor []byte) (string, error)
- func GenerateTruststore(pemFiles [][]byte, password string) ([]byte, error)
- func GetAdminCredentials() ([]byte, error)
- func GetUserCredentials() ([]byte, error)
- func UserPassword(user, secretName, namespace string, k *kube.Kubernetes) (string, error)
- type Credentials
- type Identities
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminPassword ¶
func AdminPassword(secretName, namespace string, k *kube.Kubernetes) (string, error)
func CreateIdentitiesFor ¶
CreateIdentitiesFor creates identities for a given username/password combination
func FindPassword ¶
FindPassword finds a user's password
func GenerateTruststore ¶
func GetAdminCredentials ¶
GetAdminCredentials get admin identities credentials in yaml format
func GetUserCredentials ¶
GetUserCredentials get identities credentials in yaml format
func UserPassword ¶
func UserPassword(user, secretName, namespace string, k *kube.Kubernetes) (string, error)
Types ¶
type Credentials ¶
Credentials represent individual username/password combinations
type Identities ¶
type Identities struct {
Credentials []Credentials
}
Identities represent identities that can interact with server
Click to show internal directories.
Click to hide internal directories.