Documentation ¶
Index ¶
- Constants
- func NewTerraformer(logger logr.Logger, restConfig *rest.Config, purpose string, ...) (terraformer.Terraformer, error)
- func NewTerraformerWithAuth(logger logr.Logger, restConfig *rest.Config, purpose string, ...) (terraformer.Terraformer, error)
- func TerraformerEnvVars(secretRef corev1.SecretReference, credentials *vcd.Credentials) []corev1.EnvVar
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.
Click to show internal directories.
Click to hide internal directories.