constants

package
v1.2.44-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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 (
	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 (
	DefaultInstanceType = "m5.xlarge"
)

instance type

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"

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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