setup

package
v0.36.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatewayAPIPreSetup

func GatewayAPIPreSetup() func(ctx context.Context) error

GatewayAPIPreSetup installs the local Gateway API CRDs required by the Gateway API e2e suite on the host cluster before vCluster starts. The CRDs are intentionally left installed after the suite because they are shared cluster-scoped infrastructure.

func MetricsServerPreSetup

func MetricsServerPreSetup() func(ctx context.Context) error

MetricsServerPreSetup returns a PreSetupFunc that installs metrics-server on the host cluster using Helm. This is required for the metrics proxy integration tests (integrations.metricsServer.enabled: true), which need a real metrics-server to be running on the host before the vCluster starts.

Idempotent - skips installation if metrics-server is already present.

func SnapshotPreSetup

func SnapshotPreSetup(vclusterName string) func(ctx context.Context) error

SnapshotPreSetup returns a PreSetupFunc that installs the CSI hostpath driver and snapshot infrastructure, then creates the snapshot-data PVC in the vCluster's host namespace.

Types

This section is empty.

Directories

Path Synopsis
Package lazyvcluster wraps e2e-framework's vcluster.Create with YAML template rendering and the shared DefaultVClusterOptions bag.
Package lazyvcluster wraps e2e-framework's vcluster.Create with YAML template rendering and the shared DefaultVClusterOptions bag.

Jump to

Keyboard shortcuts

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