provisioner

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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 PullKubeConfig

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

PullKubeConfig retry pull kube config every 5 sec until timeout.

func PullKubeConfigOnce

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

PullKubeConfigOnce download kubeconfig from s3 and return it.

func PushKubeConfig

func PushKubeConfig(clusterName 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