Documentation ¶
Overview ¶
Package integration contains the Addon Operator integration tests.
Index ¶
- Variables
- func LoadObjectsFromDeploymentFiles(t *testing.T) []unstructured.Unstructured
- func PrintPodStatusAndLogs(namespace string) error
- func WaitForObject(t *testing.T, timeout time.Duration, object client.Object, reason string, ...) error
- func WaitToBeGone(t *testing.T, timeout time.Duration, object client.Object) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Client pointing to the e2e test cluster. Client client.Client Config *rest.Config Scheme = runtime.NewScheme() // Typed K8s Clients CoreV1Client corev1client.CoreV1Interface // Path to the deployment configuration directory. PathConfigDeploy string // Path to the webhook deployment configuration directory. PathWebhookConfigDeploy string )
Functions ¶
func LoadObjectsFromDeploymentFiles ¶
func LoadObjectsFromDeploymentFiles(t *testing.T) []unstructured.Unstructured
Load all k8s objects from .yaml files in config/deploy. File/Object order is preserved.
func PrintPodStatusAndLogs ¶
Prints the phase of a pod together with the logs of every container.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.