Documentation
¶
Index ¶
Constants ¶
View Source
const ( X = "x" Y = "y" Z = "z" UnderscoreConnector string = "_" DotConnector string = "." HyphenConnector string = "-" )
View Source
const ( AWSProviderDIR = "aws" AZUREProviderDIR = "azure" RHCSProviderDIR = "rhcs" )
Provider dirs' name definition
View Source
const (
DefaultAWSRegion = "us-east-2"
)
View Source
const (
DefaultVPCCIDR = "11.0.0.0/16"
)
Variables ¶
View Source
var ( TokenENVName = "RHCS_TOKEN" OCMEnv = "OCM_ENV" RhcsClusterProfileENV = "RHCS_PROFILE_ENV" ClusterTypeManifestDirEnv = "CLUSTER_ROSA_TYPE" MajorVersion = "MAJOR_VERSION_ENV" ManifestsDirENV = os.Getenv("MANIFESTS_DIR") )
View Source
var ( DefaultMajorVersion = "4.13" CharsBytes = "abcdefghijklmnopqrstuvwxyz123456789" WorkSpace = "WORKSPACE" RHCSPrefix = "rhcs" TFYAMLProfile = "tf_cluster_profile.yml" )
View Source
var ( AccountRolesDir = path.Join(configrationDir, AWSProviderDIR, "account-roles") OperatorRolesDir = path.Join(configrationDir, AWSProviderDIR, "operator-roles") AWSVPCDir = path.Join(configrationDir, AWSProviderDIR, "vpc") )
Dirs of aws provider
View Source
var ( ClusterDir = path.Join(configrationDir, RHCSProviderDIR, "clusters") IDPsDir = path.Join(configrationDir, RHCSProviderDIR, "idps") MachinePoolDir = path.Join(configrationDir, RHCSProviderDIR, "machine-pools") )
Dirs of rhcs provider
View Source
var ( ROSAClassic = path.Join(ClusterDir, "rosa-classic") OSDCCS = path.Join(ClusterDir, "osd-ccs") )
Dirs of different types of clusters
Functions ¶
func GrantClusterManifestDir ¶ added in v1.3.0
Supports abs and relatives
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.