namespaces

package
v0.0.0-...-a74e115 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(namespace string, prefix string, cs *testclient.ClientSet) error

Clean cleans all dangling objects from the given namespace.

func Create

func Create(namespace string, cs *testclient.ClientSet) error

Create creates a new namespace with the given name. If the namespace exists, it returns.

func Delete

func Delete(aNamespace string, cs *testclient.ClientSet) error

func IsPresent

func IsPresent(namespace string, cs *testclient.ClientSet) bool

WaitForCondition waits until the pod will have specified condition type with the expected status

func WaitForDeletion

func WaitForDeletion(cs *testclient.ClientSet, nsName string, timeout time.Duration) error

WaitForDeletion waits until the namespace will be removed from the cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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