e2e

package
v1.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package e2e provides methods to test CAPH provider integration e2e.

Index

Constants

View Source
const (
	RedactLogScriptPath = "REDACT_LOG_SCRIPT"
	KubernetesVersion   = "KUBERNETES_VERSION"
	CCMPath             = "CCM"
	CCMResources        = "CCM_RESOURCES"
	CCMNetworkPath      = "CCM_NETWORK"
	CCMNetworkResources = "CCM_RESOURCES_NETWORK"
)

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 CaphClusterDeploymentSpec

func CaphClusterDeploymentSpec(ctx context.Context, inputGetter func() CaphClusterDeploymentSpecInput)

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

func ConformanceSpec

func ConformanceSpec(ctx context.Context, inputGetter func() ConformanceSpecInput)

ConformanceSpec 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 CaphClusterDeploymentSpecInput

type CaphClusterDeploymentSpecInput struct {
	E2EConfig             *clusterctl.E2EConfig
	ClusterctlConfigPath  string
	BootstrapClusterProxy framework.ClusterProxy
	ArtifactFolder        string
	SkipCleanup           bool
	Flavor                string
}

CaphClusterDeploymentSpecInput is the input for CaphClusterDeploymentSpec.

type ConformanceSpecInput

type ConformanceSpecInput struct {
	E2EConfig              *clusterctl.E2EConfig
	ClusterctlConfigPath   string
	BootstrapClusterProxy  framework.ClusterProxy
	KubetestConfigFilePath string
	ArtifactFolder         string
	SkipCleanup            bool
	Flavor                 string
}

ConformanceSpecInput is the input for ConformanceSpec.

Jump to

Keyboard shortcuts

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