cloudvendors

package
v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package cloudvendors provides the variables to define on which cloud vendor the e2e test is running

Index

Constants

This section is empty.

Variables

View Source
var AKS = TestEnvVendor("aks")

AKS azure cloud cluster

View Source
var EKS = TestEnvVendor("eks")

EKS amazon elastic cloud cluster

View Source
var GKE = TestEnvVendor("gke")

GKE google cloud cluster

View Source
var LOCAL = TestEnvVendor("local")

LOCAL kind cluster running locally

View Source
var OCP = TestEnvVendor("ocp")

OCP openshift cloud cluster

Functions

This section is empty.

Types

type EnvProfile

type EnvProfile interface {
	CanMovePVCAcrossNodes() bool
	IsLeaderElectionEnabled() bool
	CanRunAppArmor() bool
	UsesNodeDiskSpace() bool
}

EnvProfile represents the capabilities of different cloud environments for testing

func GetEnvProfile

func GetEnvProfile(te TestEnvVendor) EnvProfile

GetEnvProfile returns a cloud environment's capabilities envProfile

type TestEnvVendor

type TestEnvVendor string

TestEnvVendor is the type of cloud vendor the e2e test is running on

func TestCloudVendor

func TestCloudVendor() (*TestEnvVendor, error)

TestCloudVendor creates the environment for testing

Jump to

Keyboard shortcuts

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