Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_NAMESPACE_NAME = "default" DEFAULT_AUTH_INFO = "default" DEFAULT_CLUSTER_NAME = "default-cluster" DEFAULT_CONTEXT_NAME = "default-context" CLIENT_CONFIG_KIND = "Config" CLIENT_CONFIG_API_VERSION = "v1" TEMPORARY_FILE_DIR = "/tmp" KUBE_CONFIG_FILE_NAME = "config" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeConnection ¶
func ConnectToCluster ¶
func ConnectToCluster(clusterConfig config.ClusterConfig, authByToken bool) *KubeConnection
Click to show internal directories.
Click to hide internal directories.