Documentation ¶
Index ¶
- Constants
- func CircleSHA() string
- func ClusterID() string
- func CommonDomain() string
- func GithubToken() string
- func KeepResources() bool
- func RegistryPullSecret() string
- func TestDir() string
- func TestHash() string
- func TestedVersion() string
- func VaultToken() string
- func VersionBundleVersion() string
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 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 TestedVersion ¶
func TestedVersion() string
func VaultToken ¶
func VaultToken() string
func VersionBundleVersion ¶
func VersionBundleVersion() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.