Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TFVars ¶
func TFVars(sources TFVarsSources) ([]byte, error)
TFVars generates Azure-specific Terraform variables launching the cluster.
Types ¶
type Auth ¶
type Auth struct {
SubscriptionID string `json:"azure_subscription_id,omitempty"`
ClientID string `json:"azure_client_id,omitempty"`
ClientSecret string `json:"azure_client_secret,omitempty"`
TenantID string `json:"azure_tenant_id,omitempty"`
ClientCertificatePath string `json:"azure_certificate_path,omitempty"`
ClientCertificatePassword string `json:"azure_certificate_password,omitempty"`
}
Auth is the collection of credentials that will be used by terrform.
type TFVarsSources ¶
type TFVarsSources struct {
Auth Auth
CloudName azure.CloudEnvironment
ARMEndpoint string
ResourceGroupName string
BaseDomainResourceGroupName string
MasterConfigs []*machineapi.AzureMachineProviderSpec
WorkerConfigs []*machineapi.AzureMachineProviderSpec
ImageURL string
ImageRelease string
PreexistingNetwork bool
Publish types.PublishingStrategy
OutboundType azure.OutboundType
BootstrapIgnStub string
BootstrapIgnitionURLPlaceholder string
HyperVGeneration string
VMArchitecture types.Architecture
InfrastructureName string
}
TFVarsSources contains the parameters to be converted into Terraform variables
Click to show internal directories.
Click to hide internal directories.