Documentation
¶
Overview ¶
Package powervs contains Power Virtual Servers-specific Terraform-variable logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TFVars ¶
func TFVars(sources TFVarsSources) ([]byte, error)
TFVars generates Power VS-specific Terraform variables launching the cluster.
Types ¶
type TFVarsSources ¶
type TFVarsSources struct {
MasterConfigs []*machinev1.PowerVSMachineProviderConfig
APIKey string
SSHKey string
Region string
Zone string
ImageBucketName string
ImageBucketFileName string
NetworkName string
PowerVSResourceGroup string
CloudConnectionName string
CISInstanceCRN string
DNSInstanceCRN string
VPCRegion string
VPCZone string
VPCName string
VPCSubnetName string
VPCPermitted bool
VPCGatewayName string
VPCGatewayAttached bool
PublishStrategy types.PublishingStrategy
EnableSNAT bool
}
TFVarsSources contains the parameters to be converted into Terraform variables
Click to show internal directories.
Click to hide internal directories.