kube

package
v0.0.0-...-c4d1043 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(ns, name, data string, labels map[string]string) kubev1.ConfigMap

func CreateConfigMap

func CreateConfigMap(cm kubev1.ConfigMap) error

func CreateNs

func CreateNs(ns string) error

func DeleteNs

func DeleteNs(ns string) error

func DeleteSuperglooPods

func DeleteSuperglooPods(kube kubernetes.Interface, superglooNamespace string)

remove supergloo controller pod(s)

func KubeClient

func KubeClient() (kubernetes.Interface, error)

func MustCreateConfigMap

func MustCreateConfigMap(cm kubev1.ConfigMap)

func MustCreateNs

func MustCreateNs(ns string)

func MustDeleteNs

func MustDeleteNs(ns string)

func MustKubeClient

func MustKubeClient() kubernetes.Interface

func TeardownClusterResourcesWithPrefix

func TeardownClusterResourcesWithPrefix(kube kubernetes.Interface, prefix string)

func TeardownSuperGloo

func TeardownSuperGloo(kube kubernetes.Interface)

func WaitForNamespaceTeardown

func WaitForNamespaceTeardown(ns string)

func WaitForNamespaceTeardownWithClient

func WaitForNamespaceTeardownWithClient(ns string, client kubernetes.Interface)

func WaitForServicesInNamespaceTeardown

func WaitForServicesInNamespaceTeardown(ns string)

func WaitUntilPodsRunning

func WaitUntilPodsRunning(timeout time.Duration, namespace string, podPrefixes ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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