Documentation ¶
Index ¶
- Constants
- func AzureAvailabilityZones() []int
- func AzureAvailabilityZonesAsStrings() []string
- func AzureAvailabilityZonesCount() int
- func AzureCIDR() string
- func AzureCalicoSubnetCIDR() string
- func AzureClientID() string
- func AzureClientSecret() string
- func AzureLocation() string
- func AzureMasterSubnetCIDR() string
- func AzureSubscriptionID() string
- func AzureTenantID() string
- func AzureVMSize() string
- func AzureWorkerSubnetCIDR() string
- func CircleSHA() string
- func ClusterID() string
- func CommonDomain() string
- func CommonDomainResourceGroup() string
- func GetLatestOperatorRelease() string
- func GetOperatorVersion() string
- func IgnitionDebugEnabled() bool
- func IgnitionDebugLogsPrefix() string
- func IgnitionDebugLogsToken() string
- func KeepResources() string
- func LogAnalyticsSharedKey() string
- func LogAnalyticsWorkspaceID() string
- func NodePoolID() string
- func OperatorHelmTarballPath() string
- func RandomizeClusterID() bool
- func RegistryPullSecret() string
- func SSHPublicKey() string
- func TestDir() string
- func TestHash() string
- func TestedVersion() string
- func VaultToken() string
- func VersionBundleVersion() string
Constants ¶
View Source
const ( DefaultAzureLocation = "westeurope" DefaultAzureVMSize = "Standard_D4_v2" DefaultCommonDomainResourceGroup = "godsmack" EnvVarAzureAZs = "AZURE_AZS" EnvVarAzureCIDR = "AZURE_CIDR" EnvVarAzureClientID = "AZURE_CLIENTID" EnvVarAzureClientSecret = "AZURE_CLIENTSECRET" // #nosec EnvVarAzureLocation = "AZURE_LOCATION" EnvVarAzureSubscriptionID = "AZURE_SUBSCRIPTIONID" EnvVarAzureTenantID = "AZURE_TENANTID" EnvVarAzureVMSize = "AZURE_VMSIZE" EnvVarCommonDomainResourceGroup = "COMMON_DOMAIN_RESOURCE_GROUP" EnvVarBastionPublicSSHKey = "BASTION_PUBLIC_SSH_KEY" EnvVarCircleBuildNumber = "CIRCLE_BUILD_NUM" EnvVarLatestOperatorRelease = "LATEST_OPERATOR_RELEASE" )
View Source
const ( DefaultCommonDomain = "godsmack.westeurope.azure.gigantic.io" EnvVarCommonDomain = "COMMON_DOMAIN" EnvVarRegistryPullSecret = "REGISTRY_PULL_SECRET" // nolint:gosec EnvVarVaultToken = "VAULT_TOKEN" )
View Source
const ( DefaultClusterIDPrefix = "ci" DefaultRandomizeClusterID = false DefaultTestedVersion = "wip" // MaxClusterIDPrefixLength is set to 15 due to limitations for some Azure resource names (like storage account) MaxClusterIDPrefixAndTestedVersionLength = 15 EnvVarCircleSHA = "CIRCLE_SHA1" // #nosec EnvVarClusterIDPrefix = "CLUSTER_ID_PREFIX" EnvVarKeepResources = "KEEP_RESOURCES" EnvVarOperatorHelmTarballPath = "OPERATOR_HELM_TARBALL_PATH" EnvVarRandomizeClusterID = "RANDOMIZE_CLUSTER_ID" EnvVarTestedVersion = "TESTED_VERSION" EnvVarTestDir = "TEST_DIR" EnvVarVersionBundleVersion = "VERSION_BUNDLE_VERSION" EnvVarLogAnalyticsWorkspaceID = "LOG_ANALYTICS_WORKSPACE_ID" )
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 AzureAvailabilityZonesAsStrings ¶
func AzureAvailabilityZonesAsStrings() []string
func AzureAvailabilityZonesCount ¶
func AzureAvailabilityZonesCount() int
AzureAvailabilityZonesCount returns expected number of availability zones for the cluster.
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 AzureVMSize ¶
func AzureVMSize() string
func AzureWorkerSubnetCIDR ¶
func AzureWorkerSubnetCIDR() string
func ClusterID ¶
func ClusterID() string
ClusterID returns a cluster ID unique to a run e2e 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 e2e test dir, if any.
You can set CLUSTER_ID_PREFIX environment variable to replace "ci" prefix with a custom value, for example jane-wip-3cc75-5e958.
You can also set RANDOMIZE_CLUSTER_ID environment variable to true, and you will get a random cluster ID every time, for example jane-d12q5-wip, where d12q5 are randomly generated 5 characters.
You can set CLUSTER_NAME environment variable if you want a fully custom cluster ID.
func CommonDomain ¶
func CommonDomain() string
func CommonDomainResourceGroup ¶
func CommonDomainResourceGroup() string
func GetLatestOperatorRelease ¶
func GetLatestOperatorRelease() string
func GetOperatorVersion ¶
func GetOperatorVersion() string
func IgnitionDebugEnabled ¶
func IgnitionDebugEnabled() bool
func IgnitionDebugLogsPrefix ¶
func IgnitionDebugLogsPrefix() string
func IgnitionDebugLogsToken ¶
func IgnitionDebugLogsToken() string
func KeepResources ¶
func KeepResources() string
func LogAnalyticsSharedKey ¶
func LogAnalyticsSharedKey() string
func LogAnalyticsWorkspaceID ¶
func LogAnalyticsWorkspaceID() string
func NodePoolID ¶
func NodePoolID() string
func OperatorHelmTarballPath ¶
func OperatorHelmTarballPath() string
func RandomizeClusterID ¶
func RandomizeClusterID() bool
func RegistryPullSecret ¶
func RegistryPullSecret() string
func SSHPublicKey ¶
func SSHPublicKey() 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.