provisioner

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKubeAccess

func CheckKubeAccess(kubeConfig []byte) error

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

func PullKubeConfig(clusterName, doRegion string, timeout time.Duration) ([]byte, error)

PullKubeConfig retry pull kube config every 5 sec until timeout.

func PullKubeConfigOnce

func PullKubeConfigOnce(clusterName, doRegion string) ([]byte, error)

PullKubeConfigOnce download kubeconfig from s3 and return it.

func PushKubeConfig

func PushKubeConfig(clusterName, doRegion string, kubeConfig []byte) error

PushKubeConfig upload kube config to s3.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL