Documentation ¶
Index ¶
- func NewConfigReader() *configReader
- type Input
- type Output
- type Runner
- func (r *Runner) AddToEnv(env map[string]string)
- func (r *Runner) Apply(args map[string]string) (map[string]Output, error)
- func (r *Runner) Destroy() error
- func (r *Runner) GetOutput() (map[string]Output, error)
- func (r *Runner) Init() error
- func (r *Runner) Plan(args map[string]string) error
- func (r *Runner) SetBackend(env map[string]string)
- func (r *Runner) SetEnv(env map[string]string)
- func (r *Runner) Taint(resources []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigReader ¶
func NewConfigReader() *configReader
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner( cli run.CLI, configPath string, pluginPath string, configInputs map[string]Input, ) *Runner
in: cli - a CLI instance for the running the Terraform binary in: configPath - the Terraform configuration path in: configInputs - list of input variables expected by the Terraform configuration out: an instance of a runner that can be used to execute Terraform
func (*Runner) SetBackend ¶
Click to show internal directories.
Click to hide internal directories.