testutils

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespaces added in v0.3.23

func CreateNamespaces(kube kubernetes.Interface, namespaceMetadata ...metav1.ObjectMeta) error

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 RunSuperglooLocally added in v0.3.23

func RunSuperglooLocally(ctx context.Context, kube kubernetes.Interface, superglooNs, buildVersion, imageRepoPrefix string) error

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