Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NSKubernetesClient ¶ added in v0.25.0
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 ¶ added in v0.25.0
func (k *NSKubernetesClient) GetDeployment(depName string) *appsv1.Deployment
GetDeployment gets a deployment by name.
func (*NSKubernetesClient) WaitForDeploymentsToStabilize ¶ added in v0.25.0
func (k *NSKubernetesClient) WaitForDeploymentsToStabilize(depNames ...string)
WaitForDeploymentsToStabilize waits for a list of deployments to become stable.
func (*NSKubernetesClient) WaitForPodsReady ¶ added in v0.25.0
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.