testconsts

package
v0.3.2-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package testconsts contains all the consts used by the E2E tests.

Index

Constants

View Source
const (
	NamespaceEnvVar        = "NAMESPACE"
	ClusterNumberVarKey    = "CLUSTER_NUMBER"
	KubeconfigDirVarName   = "KUBECONFIGDIR"
	OverlappingCIDRsEnvVar = "POD_CIDR_OVERLAPPING"
)

Environment variable.

View Source
const (

	// ProviderKey indicates the cluster provider.
	ProviderKey = "provider"
	// RegionKey indicates the cluster region.
	RegionKey = "region"

	// ProviderAzure -> provider=Azure.
	ProviderAzure = "Azure"
	// ProviderAWS -> provider=AWS.
	ProviderAWS = "AWS"
	// ProviderGKE -> provider=GKE.
	ProviderGKE = "GKE"
	// RegionA -> region=A.
	RegionA = "A"
	// RegionB -> region=B.
	RegionB = "B"
	// RegionC -> region=C.
	RegionC = "C"
	// RegionD -> region=D.
	RegionD = "D"

	// LiqoTestingLabelKey is a label that has to be attached to test namespaces to simplify garbage collection.
	LiqoTestingLabelKey = "liqo.io/testing-namespace"
	// LiqoTestingLabelValue is the value of the LiqoTestingLabelKey.
	LiqoTestingLabelValue = "true"
)

Variables

View Source
var LiqoTestNamespaceLabels = map[string]string{
	LiqoTestingLabelKey:      LiqoTestingLabelValue,
	consts.EnablingLiqoLabel: consts.EnablingLiqoLabelValue,
}

LiqoTestNamespaceLabels is a set of labels that has to be attached to test namespaces to simplify garbage collection.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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