Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TFVars ¶
func TFVars(sources TFVarsSources) ([]byte, error)
TFVars generates AlibabaCloud-specific Terraform variables launching the cluster.
Types ¶
type Auth ¶
type Auth struct { AccessKey string `json:"ali_access_key"` SecretKey string `json:"ali_secret_key"` }
Auth is the collection of credentials that will be used by terrform.
type TFVarsSources ¶
type TFVarsSources struct { Auth Auth VpcID string VSwitchIDs []string PrivateZoneID string ResourceGroupID string BaseDomain string NatGatewayZoneID string MasterConfigs []*machinev1.AlibabaCloudMachineProviderConfig WorkerConfigs []*machinev1.AlibabaCloudMachineProviderConfig IgnitionBucket string IgnitionPresignedURL string Publish types.PublishingStrategy AdditionalTrustBundle string Architecture types.Architecture Proxy *types.Proxy }
TFVarsSources contains the parameters to be converted into Terraform variables
Click to show internal directories.
Click to hide internal directories.