Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterID ¶
func GetClusterID() (clusterID string)
func GetInstallerRoleArn ¶
Get installer role arn from ${SHARED_DIR}/account-roles-arns
Types ¶
type Autoscaling ¶
type Autoscaling struct {
Enabled bool `json:"enabled,omitempty"`
}
type ClusterConfig ¶
type ClusterConfig struct {
DisableScpChecks bool `json:"disable_scp_checks,omitempty"`
DisableWorkloadMonitoring bool `json:"disable_workload_monitoring,omitempty"`
EnableCustomerManagedKey bool `json:"enable_customer_managed_key,omitempty"`
EtcdEncryption bool `json:"etcd_encryption,omitempty"`
Fips bool `json:"fips,omitempty"`
Hypershift bool `json:"hypershift,omitempty"`
MultiAZ bool `json:"multi_az,omitempty"`
Private bool `json:"private,omitempty"`
PrivateLink bool `json:"private_link,omitempty"`
Sts bool `json:"sts,omitempty"`
AuditLogArn string `json:"audit_log_arn,omitempty"`
AvailabilityZones string `json:"availability_zones,omitempty"`
DefaultMpLabels string `json:"default_mp_labels,omitempty"`
Ec2MetadataHttpTokens string `json:"ec2_metadata_http_tokens,omitempty"`
Name string `json:"name,omitempty"`
Region string `json:"region,omitempty"`
Tags string `json:"tags,omitempty"`
WorkerDiskSize string `json:"worker_disk_size,omitempty"`
Autoscaling Autoscaling `json:"autoscaling,omitempty"`
Aws AWS `json:"aws,omitempty"`
Encryption Encryption `json:"encryption,omitempty"`
Nodes Nodes `json:"nodes,omitempty"`
Properties Properties `json:"properties,omitempty"`
Proxy Proxy `json:"proxy,omitempty"`
Subnets Subnets `json:"subnets,omitempty"`
Version Version `json:"version,omitempty"`
}
func ParseClusterProfile ¶
func ParseClusterProfile() (*ClusterConfig, error)
type Command ¶
type Command interface {
GetFullCommand() string
GetFlagValue(flag string, flagWithVaue bool) string
AddFlags(flags ...string)
ReplaceFlagValue(flags map[string]string)
DeleteFlag(flag string, flagWithVaue bool) error
}
func RetrieveClusterCreationCommand ¶
Get the rosa command for creating cluster from ${SHARED_DIR}/create_cluster.sh
type Encryption ¶
type Properties ¶
type Properties struct {
ProvisionShardID string `json:"provision_shard_id,omitempty"`
}
type Sts ¶
type Sts struct {
RoleArn string `json:"role_arn,omitempty"`
SupportRoleArn string `json:"support_role_arn,omitempty"`
WorkerRoleArn string `json:"worker_role_arn,omitempty"`
ControlPlaneRoleArn string `json:"control_plane_role_arn,omitempty"`
OidcConfigID string `json:"oidc_config_id,omitempty"`
OperatorRolesPrefix string `json:"operator_roles_prefix,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.