Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeClient ¶ added in v0.5.6
func GetKubeClient() (*kubernetes.Clientset, error)
func GetNamespaces ¶
func GetNamespaces(clientset *kubernetes.Clientset) ([]string, error)
func MustGetNamespaces ¶
func MustGetNamespaces(clientset *kubernetes.Clientset) ([]string, error)
MustGetNamespaces returns a list of all namespaces in a cluster - or panics. If a clientset is passed, it will use that, otherwise it creates one. In the event of any error it will panic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.