Documentation ¶
Index ¶
- func CheckKubeAccess(kubeConfig []byte) error
- func GetAwsAuthEnv() []string
- func PullKubeConfig(clusterName, doRegion string, timeout time.Duration) ([]byte, error)
- func PullKubeConfigOnce(clusterName, doRegion string) ([]byte, error)
- func PushKubeConfig(clusterName, doRegion string, kubeConfig []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKubeAccess ¶
CheckKubeAccess check connection to kubernetes with kubeConfig.
func GetAwsAuthEnv ¶
func GetAwsAuthEnv() []string
GetAwsAuthEnv return array with aws auth environments, get there fom do auth env. Needed for s3cmd.
func PullKubeConfig ¶
PullKubeConfig retry pull kube config every 5 sec until timeout.
func PullKubeConfigOnce ¶
PullKubeConfigOnce download kubeconfig from s3 and return it.
func PushKubeConfig ¶
PushKubeConfig upload kube config to s3.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.