Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeclient ¶
func GetKubeclient(config *rest.Config) *kubernetes.Clientset
GetKubeclient returns a k8s clientset from the kubeconfig, if nil fallback to client from inCluster config.
func GetKubeconfig ¶
GetKubeconfig builds config from the kubeconfig path, if nil fallback to inCluster config.
func GetUsrHomeDir ¶
func GetUsrHomeDir() string
GetUsrHomeDir returns the current user's Home Directory
func InitializeLogger ¶
func InitializeLogger()
InitializeLogger sets and configures logger options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.