Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForDeployment ¶
func WaitForDeployment(t *testing.T, kubeclient kubernetes.Interface, namespace, name string, replicas int, retryInterval, timeout time.Duration) error
WaitForDeployment checks to see if a given deployment has a certain number of available replicas after a specified amount of time If the deployment does not have the required number of replicas after 5 * retries seconds, the function returns an error This can be used in multiple ways, like verifying that a required resource is ready before trying to use it, or to test failure handling, like simulated in SimulatePodFail.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.