e2e

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEnvironment

type TestEnvironment struct {
	Clients     *testutils.K8sClients
	Namespace   *corev1.Namespace
	Cleaner     *clusters.Cleaner
	Environment environments.Environment
}

TestEnvironment represents a testing environment (K8s cluster) for running isolated e2e test.

func CreateEnvironment

func CreateEnvironment(t *testing.T, ctx context.Context) TestEnvironment

CreateEnvironment creates a new independent testing environment for running isolated e2e test. When running with Helm, the caller is responsible for cleaning up the environment.

Jump to

Keyboard shortcuts

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