framework

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package framework implements utils for CAPV e2e tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClusterctlLocalRepository

func CreateClusterctlLocalRepository(ctx context.Context, config *clusterctl.E2EConfig, repositoryFolder string, cniEnabled bool) (string, error)

func InitBootstrapCluster

func InitBootstrapCluster(ctx context.Context, bootstrapClusterProxy framework.ClusterProxy, config *clusterctl.E2EConfig, clusterctlConfig, artifactFolder string)

func LoadE2EConfig

func LoadE2EConfig(ctx context.Context, configPath string, configOverridesPath, testTarget, testMode string) (*clusterctl.E2EConfig, error)

func LoadImagesFunc added in v1.9.4

func LoadImagesFunc(ctx context.Context) func(clusterProxy framework.ClusterProxy)

func SetupBootstrapCluster

func SetupBootstrapCluster(ctx context.Context, config *clusterctl.E2EConfig, scheme *runtime.Scheme, useExistingCluster bool) (bootstrap.ClusterProvider, framework.ClusterProxy, error)

func TearDown

func TearDown(ctx context.Context, bootstrapClusterProvider bootstrap.ClusterProvider, bootstrapClusterProxy framework.ClusterProxy)

Types

type ProviderConfig added in v1.10.0

type ProviderConfig clusterctl.ProviderConfig

Directories

Path Synopsis
Package ip provide helpers for ip address management if a vCenter cluster.
Package ip provide helpers for ip address management if a vCenter cluster.
Package log provides utils for collecting logs from VMs.
Package log provides utils for collecting logs from VMs.
Package vcsim provide helpers for vcsim controller.
Package vcsim provide helpers for vcsim controller.
Package vmoperator contains utils to run tests with the vm-operator in standalone mode.
Package vmoperator contains utils to run tests with the vm-operator in standalone mode.

Jump to

Keyboard shortcuts

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