integrationtests

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDynakube

func CreateDynakube(t *testing.T, ctx context.Context, clt client.Client, dk *dynakube.DynaKube)

func CreateKubernetesObject

func CreateKubernetesObject(t *testing.T, ctx context.Context, clt client.Client, object client.Object)

func CreateNamespace

func CreateNamespace(t *testing.T, ctx context.Context, clt client.Client, namespace string)

func SetupTestEnvironment

func SetupTestEnvironment(tb testing.TB, opts ...TestEnvOpt) client.Client

func SetupWebhookTestEnvironment added in v1.8.0

func SetupWebhookTestEnvironment(t *testing.T, webhookOptions envtest.WebhookInstallOptions, webhookSetup func(ctrl.Manager) error) client.Client

Types

type TestEnvOpt added in v1.8.0

type TestEnvOpt func(*envtest.Environment)

func DisableAttachControlPlaneOutput added in v1.8.0

func DisableAttachControlPlaneOutput() TestEnvOpt

Jump to

Keyboard shortcuts

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