kubeutils

package
v0.5.7 Latest Latest
Warning

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

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

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.

Jump to

Keyboard shortcuts

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