Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NSKubernetesClient ¶
type NSKubernetesClient struct {
// contains filtered or unexported fields
}
NSKubernetesClient wraps a Kubernetes Client for a given namespace.
func SetupNamespace ¶
func SetupNamespace(t *testing.T) (*v1.Namespace, *NSKubernetesClient, func())
SetupNamespace creates a Kubernetes namespace to run a test.
func (*NSKubernetesClient) GetDeployment ¶
func (k *NSKubernetesClient) GetDeployment(depName string) *appsv1.Deployment
GetDeployment gets a deployment by name.
func (*NSKubernetesClient) WaitForDeploymentsToStabilize ¶
func (k *NSKubernetesClient) WaitForDeploymentsToStabilize(depNames ...string)
WaitForDeploymentsToStabilize waits for a list of deployments to become stable.
func (*NSKubernetesClient) WaitForPodsReady ¶
func (k *NSKubernetesClient) WaitForPodsReady(podNames ...string)
WaitForPodsReady waits for a list of pods to become ready.
Click to show internal directories.
Click to hide internal directories.