Documentation
¶
Index ¶
- func CSIHostpathPreSetup() func(ctx context.Context) error
- func GatewayAPIPreSetup() func(ctx context.Context) error
- func InstallCSIHostpath(kubeContext string) func(ctx context.Context) error
- func MetricsServerPreSetup() func(ctx context.Context) error
- func SnapshotPreSetup(vclusterName string) func(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSIHostpathPreSetup ¶
CSIHostpathPreSetup returns a PreSetupFunc that installs the CSI hostpath driver and snapshot infrastructure on the host cluster. Snapshot CRDs, the snapshot-controller and the driver are shared cluster-scoped infrastructure and are intentionally left installed after the suite finishes.
func GatewayAPIPreSetup ¶
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 InstallCSIHostpath ¶
InstallCSIHostpath returns a PreSetupFunc that installs the CSI hostpath driver, snapshot CRDs, snapshot-controller, StorageClass, and VolumeSnapshotClass on the host cluster. This is required for snapshot tests that use PVCs with StorageClassName "csi-hostpath-sc".
Idempotent - skips components that already exist.
func MetricsServerPreSetup ¶
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.
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. |