Documentation ¶
Overview ¶
Wraps some of the initialization details for the k8s clientset
Index ¶
Constants ¶
View Source
const UseInCluster = "use-in-cluster"
Variables ¶
This section is empty.
Functions ¶
func GetClientSet ¶
func GetClientSet(kubeConfig *rest.Config) (*kubernetes.Clientset, error)
Based on the application configuration, retrieve the k8s clientset
func GetKubeConfig ¶
func GetKubeConfig(appConfig *config.Application) (*rest.Config, error)
Types ¶
type Client ¶
type Client struct {
Clientset kubernetes.Interface
}
Click to show internal directories.
Click to hide internal directories.