kubeconfig

package
v0.0.0-...-a2c64ce Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// RetryAttempts specifies the amount of retries are allowed when getting a file from a server.
	RetryAttempts = 150
	// RetrySleepSeconds specifies the time to sleep after a failed attempt to get a file form a server.
	RetrySleepSeconds = 5
)
View Source
const (
	// ClusterAnnotationKubeconfigLocalFile is a cluster API annotation that allows to
	// specify the local file where to store the kubeconfig get from the cluster
	ClusterAnnotationKubeconfigLocalFile = "cluster.alpha.kubicorn.io/kubeconfig-local-file"
)

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(existing *cluster.Cluster) error

func GetKubeConfigPath

func GetKubeConfigPath(c *cluster.Cluster) string

func RetryGetConfig

func RetryGetConfig(existing *cluster.Cluster) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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