azure

package
v1.4.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 2

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL