e2e

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package e2e provides methods to test CAPHV provider integration e2e.

Index

Constants

View Source
const (
	RedactLogScriptPath = "REDACT_LOG_SCRIPT"
	KubernetesVersion   = "KUBERNETES_VERSION"
	HivelocityRegion    = "HIVELOCITY_REGION"
	CiliumPath          = "CILIUM"
	CiliumResources     = "CILIUM_RESOURCES"
	CCMPath             = "CCM"
	CCMResources        = "CCM_RESOURCES"
)

Test suite constants for e2e config variables.

Variables

This section is empty.

Functions

func Byf

func Byf(format string, a ...interface{})

Byf implements Ginkgo's By with fmt.Sprintf.

func CaphvClusterDeploymentSpec

func CaphvClusterDeploymentSpec(ctx context.Context, inputGetter func() CaphvClusterDeploymentSpecInput)

CaphvClusterDeploymentSpec implements a test that verifies that MachineDeployment rolling updates are successful.

func HaveValidVersion

func HaveValidVersion(version string) types.GomegaMatcher

HaveValidVersion succeeds if version is a valid semver version.

Types

type CaphvClusterDeploymentSpecInput

type CaphvClusterDeploymentSpecInput struct {
	E2EConfig                *clusterctl.E2EConfig
	ClusterctlConfigPath     string
	BootstrapClusterProxy    framework.ClusterProxy
	ArtifactFolder           string
	SkipCleanup              bool
	Flavor                   string
	WorkerMachineCount       int64
	ControlPlaneMachineCount int64
}

CaphvClusterDeploymentSpecInput is the input for CaphvClusterDeploymentSpec.

Jump to

Keyboard shortcuts

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