Documentation ¶
Index ¶
- func Clean(namespace string, prefix string, cs *testclient.ClientSet) error
- func Create(namespace string, cs *testclient.ClientSet, labels map[string]string) error
- func Delete(aNamespace string, cs *testclient.ClientSet) error
- func IsPresent(namespace string, cs *testclient.ClientSet) bool
- func WaitForDeletion(cs *testclient.ClientSet, nsName string, timeout time.Duration) error
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 ¶
Create creates a new namespace with the given name. If the namespace exists, it returns.
func IsPresent ¶
func IsPresent(namespace string, cs *testclient.ClientSet) bool
check if the namespace is present
func WaitForDeletion ¶
WaitForDeletion waits until the namespace will be removed from the cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.