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
Click to show internal directories.
Click to hide internal directories.