terraform

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputJSON

type OutputJSON map[string]*tfjson.StateOutput

type Paths

type Paths struct {
	Logs      string
	Outputs   string
	Plan      string
	Terraform string
	WorkDir   string
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(executor execx.Executor, paths Paths) *Runner

func (*Runner) Apply

func (r *Runner) Apply(timestamp int64) error

func (*Runner) CmdPath

func (r *Runner) CmdPath() string

func (*Runner) Destroy

func (r *Runner) Destroy() error

func (*Runner) Init

func (r *Runner) Init() error

func (*Runner) Output

func (r *Runner) Output() (OutputJSON, error)

func (*Runner) Plan

func (r *Runner) Plan(timestamp int64, params ...string) ([]byte, error)

func (*Runner) State added in v0.27.0

func (r *Runner) State(params ...string) (string, error)

func (*Runner) Stop

func (r *Runner) Stop() error

func (*Runner) Version

func (r *Runner) Version() (string, error)

Jump to

Keyboard shortcuts

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