Documentation ¶
Index ¶
- func ConfigMap(ns, name, data string, labels map[string]string) kubev1.ConfigMap
- func CreateConfigMap(cm kubev1.ConfigMap) error
- func CreateNs(ns string) error
- func DeleteNs(ns string) error
- func DeleteSuperglooPods(kube kubernetes.Interface, superglooNamespace string)
- func KubeClient() (kubernetes.Interface, error)
- func MustCreateConfigMap(cm kubev1.ConfigMap)
- func MustCreateNs(ns string)
- func MustDeleteNs(ns string)
- func MustKubeClient() kubernetes.Interface
- func TeardownClusterResourcesWithPrefix(kube kubernetes.Interface, prefix string)
- func TeardownSuperGloo(kube kubernetes.Interface)
- func WaitForNamespaceTeardown(ns string)
- func WaitForServicesInNamespaceTeardown(ns string)
- func WaitUntilPodsRunning(timeout time.Duration, namespace string, podPrefixes ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigMap ¶
func DeleteSuperglooPods ¶
func DeleteSuperglooPods(kube kubernetes.Interface, superglooNamespace string)
remove supergloo controller pod(s)
func KubeClient ¶
func KubeClient() (kubernetes.Interface, error)
func MustCreateConfigMap ¶
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 WaitForServicesInNamespaceTeardown ¶
func WaitForServicesInNamespaceTeardown(ns string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.