kubeutils

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL