providers

package
v0.0.0-...-ff7c0be Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AliCloud is the provider for creating resources in the alibaba cloud.
	//AliCloud = provider("alicloud")
	// AWS is the provider for creating resources in AWS.
	AWS = provider("aws")
	// AzureRM is the provider for creating resources in the Azure clouds.
	AzureRM = provider("azurerm")
	// AzureStack is the provider for creating resources in Azure Stack.
	AzureStack = provider("azurestack")
)

Functions

func UnpackTerraformBinary

func UnpackTerraformBinary(dir string) error

UnpackTerraformBinary unpacks the terraform binary from the embedded data so that it can be run to create the infrastructure for the cluster.

Types

type Provider

type Provider struct {
	// Name of the provider.
	Name string
	// Source of the provider.
	Source string
}

Provider is a terraform provider.

func (Provider) Extract

func (p Provider) Extract(dir string) error

Extract extracts the provider from the embedded data into the specified directory.

Jump to

Keyboard shortcuts

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