Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespaces ¶
func GetNamespaces(clientset *kubernetes.Clientset) ([]string, error)
func GetPodNamespace ¶
func GetPodNamespace(clientset *kubernetes.Clientset, podName string) (string, error)
func MustGetNamespaces ¶
func MustGetNamespaces(clientset *kubernetes.Clientset) []string
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.