internal

package
v0.0.0-...-a79603b Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TerraformVarNameUser maps to terraform internal var representation.
	TerraformVarNameUser = "TF_VAR_USER"
	// TerraformVarNamePassword maps to terraform internal var representation.
	TerraformVarNamePassword = "TF_VAR_PASSWORD"
	// TerraformVarNameOrg maps to terraform internal var representation.
	TerraformVarNameOrg = "TF_VAR_ORG"
	// TerraformVarNameVdc maps to terraform internal var representation.
	TerraformVarNameVdc = "TF_VAR_VDC"
	// TerraformVarNameAuthType maps to terraform internal var representation.
	TerraformVarNameAuthType = "TF_VAR_AUTHTYPE"
	// TerraformVarNameURL maps to terraform internal var representation.
	TerraformVarNameURL = "TF_VAR_URL"
)

Variables

This section is empty.

Functions

func NewTerraformer

func NewTerraformer(
	logger logr.Logger,
	restConfig *rest.Config,
	purpose string,
	infra *extensionsv1alpha1.Infrastructure,
) (terraformer.Terraformer, error)

NewTerraformer initializes a new Terraformer.

func NewTerraformerWithAuth

func NewTerraformerWithAuth(
	logger logr.Logger,
	restConfig *rest.Config,
	purpose string,
	infra *extensionsv1alpha1.Infrastructure,
	credentials *vcd.Credentials,
) (terraformer.Terraformer, error)

NewTerraformerWithAuth initializes a new Terraformer that has the credentials.

func TerraformerEnvVars

func TerraformerEnvVars(secretRef corev1.SecretReference, credentials *vcd.Credentials) []corev1.EnvVar

TerraformerEnvVars computes the Terraformer environment variables from the given secret reference.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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