KubeDescribe implementation with verify into after-build/ scripts.

This commit is contained in:
Jay Vyas
2016-03-11 14:29:44 -05:00
parent a1fcccd8b5
commit 9a71dfe753
72 changed files with 160 additions and 121 deletions

View File

@@ -413,3 +413,9 @@ func kubectlExec(namespace string, podName, containerName string, args ...string
err := cmd.Run()
return stdout.Bytes(), stderr.Bytes(), err
}
// Wrapper function for ginkgo describe. Adds namespacing.
// TODO: Support type safe tagging as well https://github.com/kubernetes/kubernetes/pull/22401.
func KubeDescribe(text string, body func()) bool {
return Describe("[k8s.io] "+text, body)
}