consts

package
v2.12.8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExitCodeIncompatibleOptions is a POSIX compliant exit code for the test suite to
	// indicate that some combination of provided configurations were not compatible.
	ExitCodeIncompatibleOptions = 100

	// ExitCodeInvalidOptions is a POSIX compliant exit code for the test suite to indicate
	// that some of the provided runtime options were not valid and the tests could not run.
	ExitCodeInvalidOptions = 101

	// ExitCodeCantUseExistingCluster is a POSIX compliant exit code for the test suite to
	// indicate that an existing cluster provided for the tests was not usable.
	ExitCodeCantUseExistingCluster = 101

	// ExitCodeCantCreateCluster is a POSIX compliant exit code for the test suite to indicate
	// that a failure occurred when trying to create a Kubernetes cluster to run the tests.
	ExitCodeCantCreateCluster = 102

	// ExitCodeCleanupFailed is a POSIX compliant exit code for the test suite to indicate
	// that a failure occurred during cluster cleanup.
	ExitCodeCleanupFailed = 103

	// ExitCodeEnvSetupFailed is a generic exit code that can be used as a fallback for general
	// problems setting up the testing environment and/or cluster.
	ExitCodeEnvSetupFailed = 104

	// ExitCodeCentCreateLogger is a POSIX compliant exit code for the test suite to indicate
	// that a failure occurred when trying to create a logger for the test suite.
	ExitCodeCantCreateLogger = 105
)
View Source
const (
	// DefaultFeatureGates is the default feature gates setting that should be
	// provided if none are provided by the user. This generally includes features
	// that are innocuous, or otherwise don't actually get triggered unless the
	// user takes further action.
	DefaultFeatureGates = "GatewayAlpha=true"

	// ConformanceExpressionRoutesTestsFeatureGates is the set of feature gates to be used
	// when running conformance tests with expression routes enabled.
	ConformanceExpressionRoutesTestsFeatureGates = "GatewayAlpha=true,ExpressionRoutes=true"
)
View Source
const (
	// KongTestPassword is used as a password only within the context of transient integration test runs
	// and is left static to help developers debug failures in those testing environments.
	KongTestPassword = "password"

	// KongTestWorkspace is used as a workspace only within the context of transient integration test runs
	// when Kong Enterprise is enabled and a database is used (DBmode != off) and is left static to help
	// developers debug failures in those testing environments.
	KongTestWorkspace = "notdefault"

	// IngressClass indicates the ingress class name which the tests will use for supported object reconciliation.
	IngressClass = "kongtests"

	// ControllerNamespace is the Kubernetes namespace where the controller is deployed.
	ControllerNamespace = "kong"
)
View Source
const (
	GatewayAPIVersion                   = "v0.8.1"
	GatewayStandardCRDsKustomizeURL     = "github.com/kubernetes-sigs/gateway-api/config/crd/?ref=v0.8.1"
	GatewayExperimentalCRDsKustomizeURL = "github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref=v0.8.1"
	GatewayRawRepoURL                   = "https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v0.8.1"
)
View Source
const KongHelmChartVersion = "2.26.3"

KongHelmChartVersion is the version of the Kong Helm chart to use in tests.

Variables

This section is empty.

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