integration

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, dir, command string, args ...string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL