Documentation ¶
Overview ¶
Package k8s_utils ...
Package k8s_utils ...
Package k8s_utils ...
Index ¶
- func FakeCreateCM(kc KubernetesClient, clsuterInfofilepath string) error
- func FakeCreateSecret(kc KubernetesClient, fakeAuthType, secretdatafilepath string) error
- func FakeCreateSecretWithKey(kc KubernetesClient, secretName, dataName, secretdatafilepath string) error
- func GetConfigMapData(kc KubernetesClient, configMapName, dataName string) (string, error)
- func GetSecretData(kc KubernetesClient, secretName, secretKey string) (string, error)
- type KubernetesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FakeCreateCM ¶
func FakeCreateCM(kc KubernetesClient, clsuterInfofilepath string) error
FakeCreateCM ...
func FakeCreateSecret ¶
func FakeCreateSecret(kc KubernetesClient, fakeAuthType, secretdatafilepath string) error
FakeCreateSecret ...
func FakeCreateSecretWithKey ¶
func FakeCreateSecretWithKey(kc KubernetesClient, secretName, dataName, secretdatafilepath string) error
FakeCreateSecretWithKey ...
func GetConfigMapData ¶
func GetConfigMapData(kc KubernetesClient, configMapName, dataName string) (string, error)
GetConfigMapData ...
func GetSecretData ¶
func GetSecretData(kc KubernetesClient, secretName, secretKey string) (string, error)
GetSecretData ...
Types ¶
type KubernetesClient ¶
type KubernetesClient struct { Namespace string `validate:"required"` Clientset kubernetes.Interface `validate:"required"` }
KubernetesClient ...
func FakeGetk8sClientSet ¶
func FakeGetk8sClientSet() (KubernetesClient, error)
FakeGetk8sClientSet ...
Click to show internal directories.
Click to hide internal directories.