validate

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package validate contains code to check objects deployed by the operator as part of an E2E test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DriverDeployment

func DriverDeployment(client client.Client, k8sver version.Version, namespace string, deployment api.Deployment) error

DriverDeployment compares all objects as deployed by the operator against the expected objects for a certain deployment spec. deploymentSpec should only have those fields set which are not the defaults. The caller must ensure that the operator is done with creating objects.

func DriverDeploymentEventually

func DriverDeploymentEventually(ctx context.Context, client client.Client, k8sver version.Version, namespace string, deployment api.Deployment) error

DriverDeployment compares all objects as deployed by the operator against the expected objects for a certain deployment spec. deploymentSpec should only have those fields set which are not the defaults. This call will wait for the expected objects until the context times out.

Types

This section is empty.

Jump to

Keyboard shortcuts

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