Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClusterDescriptionComputeDesired = "Compute (desired)" ClusterDescriptionComputeAutoscaled = "Compute (autoscaled)" )
View Source
const ( MaxRolePrefixLength = 32 MaxOIDCConfigPrefixLength = 15 )
role and OIDC config
View Source
const ( DefaultNamePrefix = "rosacli-ci" DefaultNameLength = 15 )
profile
View Source
const ( DefaultVPCCIDRValue = "10.0.0.0/16" DeleteProtectionEnabled = "Enabled" DeleteProtectionDisabled = "Disabled" )
cluster configuration
View Source
const ( Ready = "ready" Installing = "installing" Waiting = "waiting" Pending = "pending" Error = "error" Uninstalling = "uninstalling" Validating = "validating" )
cluster status
View Source
const ( Scheduled = "scheduled" Started = "started" Delayed = "delayed" )
cluster upgrade status
View Source
const ( DefaultInstanceType = "m5.xlarge" CommonAWSRegion = "us-west-2" R5XLarge = "r5.xlarge" M5XLarge = "m5.xlarge" M52XLarge = "m5.2xlarge" M6gXLarge = "m6g.xlarge" )
instance type
View Source
const ( AMD = "amd64" ARM = "arm64" )
cpu architecture
View Source
const ( // NodePoolCheckTimeout The timeout may depend on the resource NodePoolCheckTimeout = 30 * time.Minute NodePoolCheckPoll = 10 * time.Second )
timeout for hcp node pool
View Source
const ( MinClassicDiskSize = 128 MinHCPDiskSize = 75 MaxDiskSize = 16384 )
disk size
View Source
const ( Yes = "Yes" No = "No" YStreamPreviousVersion = "y-1" TrueString = "true" )
View Source
const ( DefaultEc2MetadataHttpTokens = "optional" RequiredEc2MetadataHttpTokens = "required" OptionalEc2MetadataHttpTokens = "optional" )
Ec2MetadataHttpTokens for hcp cluster
View Source
const ( StageURL = "https://console.dev.redhat.com/openshift/details/s/" ProductionURL = "https://console.redhat.com/openshift/details/s/" StageEnv = "https://api.stage.openshift.com" ProductionEnv = "https://api.openshift.com" )
View Source
const ( BillingAccount = "301721915996" ChangedBillingAccount = "361660083367" )
View Source
const (
// DiskSizeErrRangeMsg in order to solve lint issue
DiskSizeErrRangeMsg = "Invalid root disk size: %d GiB. Must be between %d GiB and %d GiB"
)
disk size invalid message
View Source
const (
HostedCP = "Hosted CP"
)
cluster topology
Variables ¶
View Source
var ( VersionLatestPattern = regexp.MustCompile("latest") VersionMajorMinorPattern = regexp.MustCompile(`^[0-9]+\.[0-9]+$`) VersionRawPattern = regexp.MustCompile(`[0-9]+\.[0-9]+\.[0-9]+-?[0-9a-z\.-]*`) VersionFlexyPattern = regexp.MustCompile(`[zy]{1}-[1-3]{1}`) )
version pattern supported for the CI
View Source
var DefaultClassicWorkerPool = "worker"
View Source
var DefaultHostedWorkerPool = "workers"
View Source
var JumpAccounts = map[string]string{
"production": "710019948333",
"staging": "644306948063",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.