testutils

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSuperglooPods

func DeleteSuperglooPods(kube kubernetes.Interface, superglooNamespace string)

remove supergloo controller pod(s)

func MustApiExtsClient

func MustApiExtsClient() apiexts.Interface

func MustKubeClient

func MustKubeClient() kubernetes.Interface

func RegisterCrdsLockingSuite added in v0.3.14

func RegisterCrdsLockingSuite() struct{}

call with a var _ = RegisterCrdsLockingSuite will fail tests if there's alraedy a BeforeSuite/AfterSuite

func TeardownSuperGloo

func TeardownSuperGloo(kube kubernetes.Interface)

func TeardownWithPrefix

func TeardownWithPrefix(kube kubernetes.Interface, prefix string)

func WaitForNamespaceTeardown

func WaitForNamespaceTeardown(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