Created
February 8, 2018 08:28
-
-
Save sbose78/2dc06d74ca2ca1b7817a2575a25e5689 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func deleteNamespace(t *testing.T, clientset *kubernetes.Clientset, namespace string) { | |
if err := clientset.CoreV1().Namespaces().Delete(namespace, &metav1.DeleteOptions{}); err != nil { | |
t.Logf("error deleting namespace %q: %v", namespace, err) | |
} | |
t.Logf("successfully deleted namespace: %q", namespace) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment