Documentation ¶
Overview ¶
Package kubeconfig provides kubeconfig access functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteContextFromKubeConfig ¶ added in v1.1.0
DeleteContextFromKubeConfig deletes the context,user and the cluster information from give kubeconfigPath
func GetDefaultKubeConfigFile ¶ added in v1.1.0
func GetDefaultKubeConfigFile() string
func MergeKubeConfigWithoutSwitchContext ¶
MergeKubeConfigWithoutSwitchContext merges kubeconfig without updating kubecontext
func SetCurrentContext ¶ added in v1.1.0
SetCurrentContext updates the current context of a kubeconfig file to one of the contexts in said file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.