Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RegistryCredential ¶
RegistryCredential defines a registry credential pair
type Terraform ¶
type Terraform interface { Init() error Apply() error ApplyWithPlan(planFile string) error Plan(planFile string) error Destroy() error Output() (map[string]string, error) Dir() string WithRegistry(credentials []RegistryCredential) GetModule(moduleSource, version string) error WithBackendVars(backendVars map[string]string) BackendVars() map[string]string AppendBackendVars(backendVars map[string]string) WithVars(vars map[string]string) Vars() map[string]string AppendVars(vars map[string]string) WithEnv(env map[string]string) Env() map[string]string AppendEnv(env map[string]string) ConfigFilePath() string Version() (string, error) SetStdout(stdout io.Writer) Terraform Stderr() io.Writer Stdout() io.Writer SetStderr(stderr io.Writer) Terraform SetDir(dir string) Terraform }
Terraform interface
Click to show internal directories.
Click to hide internal directories.