Documentation ¶
Index ¶
- func ExtractSecretKeyFromConfigMapBinding(configMap *corev1.ConfigMap) (*crypto.SecretKey, error)
- func ExtractSecretKeyFromSecret(slvSecret *corev1.Secret) (*crypto.SecretKey, error)
- func GetClusterInfo() (name, address, user string, err error)
- func GetCurrentNamespace() string
- func GetKubeClientConfig() (*rest.Config, error)
- func GetPublicKeyFromK8s(namespace string, pq bool) (string, error)
- func GetSecretKeyFor(clientset *kubernetes.Clientset, namespace string) (secretKey *crypto.SecretKey, err error)
- func IsNamespacedMode() bool
- func SecretKey() (secretKey *crypto.SecretKey, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSecretKeyFromConfigMapBinding ¶ added in v0.5.4
func ExtractSecretKeyFromSecret ¶ added in v0.5.4
func GetClusterInfo ¶
func GetCurrentNamespace ¶
func GetCurrentNamespace() string
func GetKubeClientConfig ¶
func GetSecretKeyFor ¶ added in v0.5.4
func IsNamespacedMode ¶ added in v0.5.4
func IsNamespacedMode() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.