constants

package
v1.2.45-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 2 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 (
	DefaultInstanceType = "m5.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 (
	Yes                    = "Yes"
	No                     = "No"
	YStreamPreviousVersion = "y-1"
	TrueString             = "true"
)
View Source
const (
	DefaultEc2MetadataHttpTokens  = "optional"
	RequiredEc2MetadataHttpTokens = "required"
	OptionalEc2MetadataHttpTokens = "optional"
)

Ec2MetadataHttpTokens for hcp cluster

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