env

package
v4.0.0-2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAzureLocation             = "westeurope"
	DefaultCommonDomainResourceGroup = "root_dns_zone_rg"

	EnvVarAzureAZs  = "AZURE_AZS"
	EnvVarAzureCIDR = "AZURE_CIDR"

	EnvVarAzureClientID       = "AZURE_CLIENTID"
	EnvVarAzureClientSecret   = "AZURE_CLIENTSECRET" // #nosec
	EnvVarAzureLocation       = "AZURE_LOCATION"
	EnvVarAzureSubscriptionID = "AZURE_SUBSCRIPTIONID"
	EnvVarAzureTenantID       = "AZURE_TENANTID"

	EnvVarCommonDomainResourceGroup = "COMMON_DOMAIN_RESOURCE_GROUP"
	EnvVarBastionPublicSSHKey       = "BASTION_PUBLIC_SSH_KEY"

	EnvVarCircleBuildNumber = "CIRCLE_BUILD_NUM"
)
View Source
const (
	DefaultCommonDomain = "godsmack.westeurope.azure.gigantic.io"

	EnvVarCommonDomain = "COMMON_DOMAIN"
	EnvVarVaultToken   = "VAULT_TOKEN"
)
View Source
const (
	DefaultTestedVersion = "wip"

	EnvVarCircleSHA               = "CIRCLE_SHA1" // #nosec
	EnvVarKeepResources           = "KEEP_RESOURCES"
	EnvVarRegistryPullSecret      = "REGISTRY_PULL_SECRET" // #nosec
	EnvVarOperatorHelmTarballPath = "OPERATOR_HELM_TARBALL_PATH"
	EnvVarTestedVersion           = "TESTED_VERSION"
	EnvVarTestDir                 = "TEST_DIR"
	EnvVarVersionBundleVersion    = "VERSION_BUNDLE_VERSION"
)
View Source
const (
	EnvVarIgnitionDebugEnabled    = "IGNITION_DEBUG_ENABLED"
	EnvVarIgnitionDebugLogsPrefix = "IGNITION_DEBUG_LOGS_PREFIX"
	EnvVarIgnitionDebugLogsToken  = "IGNITION_DEBUG_LOGS_TOKEN" // #nosec
)

Variables

This section is empty.

Functions

func AzureAvailabilityZones

func AzureAvailabilityZones() []int

func AzureCIDR

func AzureCIDR() string

func AzureCalicoSubnetCIDR

func AzureCalicoSubnetCIDR() string

func AzureClientID

func AzureClientID() string

func AzureClientSecret

func AzureClientSecret() string

func AzureLocation

func AzureLocation() string

func AzureMasterSubnetCIDR

func AzureMasterSubnetCIDR() string

func AzureSubscriptionID

func AzureSubscriptionID() string

func AzureTenantID

func AzureTenantID() string

func AzureWorkerSubnetCIDR

func AzureWorkerSubnetCIDR() string

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-wip-3cc75-5e958.

ci is a static identifier stating a CI run of the azure-operator.
wip is a version reference which can also be cur for the current version.
3cc75 is the Git SHA.
5e958 is a hash of the integration test dir, if any.

func CommonDomain

func CommonDomain() string

func CommonDomainResourceGroup

func CommonDomainResourceGroup() string

func IgnitionDebugEnabled

func IgnitionDebugEnabled() bool

func IgnitionDebugLogsPrefix

func IgnitionDebugLogsPrefix() string

func IgnitionDebugLogsToken

func IgnitionDebugLogsToken() string

func KeepResources

func KeepResources() string

func OperatorHelmTarballPath

func OperatorHelmTarballPath() string

func RegistryPullSecret

func RegistryPullSecret() string

func SSHPublicKey

func SSHPublicKey() 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