Documentation
¶
Index ¶
- func Create(k8sClient client.Client, namespace *corev1.Namespace) error
- func CreateIfNotAvailable(k8sClient client.Client, name string) error
- func CreateWithMap(k8sClient client.Client, cfg map[string]interface{}) error
- func Delete(k8sClient client.Client, namespace *corev1.Namespace) error
- func DeleteAndWait(k8sClient client.Client, namespace *corev1.Namespace) error
- func DeleteOfAll(k8sClient client.Client, namespace *corev1.Namespace, ...) error
- func Get(k8sClient client.Client, name string) (*corev1.Namespace, error)
- func List(k8sClient client.Client, opts []client.ListOption) (*corev1.NamespaceList, error)
- func WaitForDeletion(k8sClient client.Client, namespaces []string, tc openshiftTY.TimeoutConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAndWait ¶ added in v1.1.0
func DeleteOfAll ¶
func List ¶
func List(k8sClient client.Client, opts []client.ListOption) (*corev1.NamespaceList, error)
func WaitForDeletion ¶ added in v1.1.0
func WaitForDeletion(k8sClient client.Client, namespaces []string, tc openshiftTY.TimeoutConfig) error
wait for namespaces deletion
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.