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 *openstack.Credentials) []corev1.EnvVar
Constants ¶
View Source
const ( // TerraformVarNameDomainName maps to terraform internal var representation. TerraformVarNameDomainName = "TF_VAR_DOMAIN_NAME" // TerraformVarNameProjectName maps to terraform internal var representation. TerraformVarNameProjectName = "TF_VAR_TENANT_NAME" // TerraformVarNameUserName maps to terraform internal var representation. TerraformVarNameUserName = "TF_VAR_USER_NAME" // TerraformVarNamePassword maps to terraform internal var representation. TerraformVarNamePassword = "TF_VAR_PASSWORD" // TerraformVarNameApplicationCredentialId maps to terraform internal var representation. TerraformVarNameApplicationCredentialId = "TF_VAR_APPLICATION_CREDENTIAL_ID" // TerraformVarNameApplicationCredentialName maps to terraform internal var representation. TerraformVarNameApplicationCredentialName = "TF_VAR_APPLICATION_CREDENTIAL_NAME" // TerraformVarNameApplicationCredentialSecret maps to terraform internal var representation. TerraformVarNameApplicationCredentialSecret = "TF_VAR_APPLICATION_CREDENTIAL_SECRET" )
Variables ¶
This section is empty.
Functions ¶
func NewTerraformer ¶
func NewTerraformer( logger logr.Logger, restConfig *rest.Config, purpose string, infra *extensionsv1alpha1.Infrastructure, disableProjectedTokenMount bool, ) ( terraformer.Terraformer, error, )
NewTerraformer initializes a new Terraformer.
func NewTerraformerWithAuth ¶ added in v1.4.0
func NewTerraformerWithAuth( logger logr.Logger, restConfig *rest.Config, purpose string, infra *extensionsv1alpha1.Infrastructure, credentials *openstack.Credentials, disableProjectedTokenMount bool, ) ( terraformer.Terraformer, error, )
NewTerraformerWithAuth initializes a new Terraformer that has the credentials.
func TerraformerEnvVars ¶ added in v1.13.0
func TerraformerEnvVars(secretRef corev1.SecretReference, credentials *openstack.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.