test

package
v2.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCI added in v2.1.1

func IsCI() bool

IsCI indicates whether or not the tests are running in a CI environment.

func IsCalicoCNIDisabled

func IsCalicoCNIDisabled() bool

IsCalicoCNIDisabled returns true if the Calico CNI plugin is disabled in the test environment.

func IsCertManagerDisabled

func IsCertManagerDisabled() bool

IsCertManagerDisabled returns true if the Cert-Manager is disabled in the test environment.

func IsInstallingCRDsDisabled

func IsInstallingCRDsDisabled() bool

IsInstallingCRDsDisabled returns true if installing CRDs is disabled in the test environment.

func IsMetalLBDisabled

func IsMetalLBDisabled() bool

IsMetalLBDisabled returns true if the MetalLB is disabled in the test environment.

func IsTelepresenceDisabled

func IsTelepresenceDisabled() bool

IsTelepresenceDisabled returns true if the telepresence is disabled in the test environment.

func IsWebhookEnabled

func IsWebhookEnabled() bool

IsWebhookEnabled returns true if the webhook is enabled in the test environment.

func KeepTestCluster added in v2.1.1

func KeepTestCluster() bool

KeepTestCluster indicates whether the caller wants the cluster created by the test suite to persist after the test for inspection. This has no effect when an existing cluster is provided, as cleanup is not performed for existing clusters.

func KonnectAccessToken

func KonnectAccessToken() string

KonnectAccessToken returns the Konnect access token for the test environment.

func KonnectServerURL

func KonnectServerURL() string

KonnectServerURL returns the Konnect server URL for the test environment.

func SkipCleanup added in v2.1.1

func SkipCleanup() bool

SkipCleanup indicates whether or not the test environment should skip cleanup, either because it's running in a CI environment or because the user has explicitly requested to keep the test cluster.

Types

This section is empty.

Directories

Path Synopsis
crdsvalidation
kcfg
Package kcfg (Kubernetes configuration) is a single source of truth for common Kubernetes configuration used by tests - CRDs, RBAC, namespaces, etc.
Package kcfg (Kubernetes configuration) is a single source of truth for common Kubernetes configuration used by tests - CRDs, RBAC, namespaces, etc.
mocks

Jump to

Keyboard shortcuts

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