Documentation
¶
Index ¶
- func CreateIAMCloudFormationStack()
- func GetAccountID(ctx context.Context) string
- func NewAWSCloudProvider() cloud.CloudProvider
- func SetAWSSpecificEnvs()
- type AWS
- func (*AWS) GetSealedSecretsBackupBucketName() string
- func (a *AWS) GetVMSpecs(ctx context.Context, vmType string) *cloud.VMSpec
- func (a *AWS) SetupDisasterRecovery(ctx context.Context)
- func (*AWS) UpdateCapiClusterValuesFileWithCloudSpecificDetails(ctx context.Context, capiClusterValuesFilePath string, _updates any)
- func (*AWS) UpdateMachineTemplate(ctx context.Context, clusterClient client.Client, _updates any)
- type MachineTemplateUpdates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIAMCloudFormationStack ¶
func CreateIAMCloudFormationStack()
Creates / updates the AWS CloudFormation Stack containing necessary IAM role-policies, required by ClusterAPI and the EC2 instance of the provisioned cluster.
func GetAccountID ¶
Returns the AWS Account ID. NOTE : Picks up AWS credentials from the environment.
func NewAWSCloudProvider ¶
func NewAWSCloudProvider() cloud.CloudProvider
func SetAWSSpecificEnvs ¶
func SetAWSSpecificEnvs()
Sets AWS specific environment variables, required by the 'clusterawsadm bootstrap iam' command / core.getTemplateValues( ) / AWS SDK.
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (*AWS) GetSealedSecretsBackupBucketName ¶
func (*AWS) SetupDisasterRecovery ¶
Sets up the provisioned cluster for Disaster Recovery. NOTE : Picks up AWS credentials from the environment.
func (*AWS) UpdateCapiClusterValuesFileWithCloudSpecificDetails ¶
type MachineTemplateUpdates ¶
type MachineTemplateUpdates struct {
AMIID string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.