Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKubeconfigArgs ¶ added in v0.0.8
AddKubeconfigArgs adds kubeconfig arguments to command args if configured
func GetKubeconfig ¶ added in v0.0.8
func GetKubeconfig() string
GetKubeconfig returns the global kubeconfig path in a thread-safe manner
func RegisterTools ¶ added in v0.0.8
func SetKubeconfig ¶ added in v0.0.8
func SetKubeconfig(path string)
SetKubeconfig sets the global kubeconfig path in a thread-safe manner
Types ¶
type KubeConfigManager ¶ added in v0.0.8
type KubeConfigManager struct {
// contains filtered or unexported fields
}
KubeConfigManager manages kubeconfig path with thread safety
Click to show internal directories.
Click to hide internal directories.