env

package
v8.1.0-fix+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvVarCommonDomain = "COMMON_DOMAIN"
	EnvVarVaultToken   = "VAULT_TOKEN"
)
View Source
const (
	EnvVarCircleCI             = "CIRCLECI"
	EnvVarCircleSHA            = "CIRCLE_SHA1"
	EnvVarGithubBotToken       = "GITHUB_BOT_TOKEN"
	EnvVarKeepResources        = "KEEP_RESOURCES"
	EnvVarRegistryPullSecret   = "REGISTRY_PULL_SECRET"
	EnvVarTestedVersion        = "TESTED_VERSION"
	EnvVarTestDir              = "TEST_DIR"
	EnvVarVersionBundleVersion = "VERSION_BUNDLE_VERSION"

	// IDChars represents the character set used to generate cluster IDs.
	// (does not contain 1 and l, to avoid confusion)
	IDChars = "023456789abcdefghijkmnopqrstuvwxyz"
	// IDLength represents the number of characters used to create a cluster ID.
	IDLength = 3
)

Variables

This section is empty.

Functions

func CircleSHA

func CircleSHA() string

func ClusterID

func ClusterID() string

ClusterID returns a cluster ID unique to a run integration test. It might look like ci-w3e95.

ci is a static identifier stating a CI run of the aws-operator.
w is a version reference which can also be c for the current version.
3 is the first character of the Git SHA.
e95 is a randomly generated alphanumeric string.

func CommonDomain

func CommonDomain() string

func GithubToken

func GithubToken() string

func KeepResources

func KeepResources() bool

func RegistryPullSecret

func RegistryPullSecret() string

func TestDir

func TestDir() string

func TestHash

func TestHash() string

func TestedVersion

func TestedVersion() string

func VaultToken

func VaultToken() string

func VersionBundleVersion

func VersionBundleVersion() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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