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.