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.