Documentation ¶
Overview ¶
Package util handles the utility functions during the tests.
Index ¶
Constants ¶
View Source
const ( // RetryInterval is time for test to retry. RetryInterval = time.Second * 5 // Timeout is time after which tests stops and fails. Timeout = time.Minute * 2 )
Variables ¶
This section is empty.
Functions ¶
func CreateKubernetesClient ¶
func CreateKubernetesClient(t *testing.T) *kubernetes.Clientset
CreateKubernetesClient creates a Kubernetes client to talk to the API Server.
func WaitForNamespaceToBeDeleted ¶
func WaitForNamespaceToBeDeleted(t *testing.T, client kubernetes.Interface, name string, retryInterval, timeout time.Duration)
WaitForNamespaceToBeDeleted waits for the namespace to the deleted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.