terraform

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 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 PlanResult added in v0.5.0

type PlanResult struct {
	Adds     int
	Changes  int
	Destroys int
}

func (PlanResult) NoChanges added in v0.5.0

func (r PlanResult) NoChanges() bool

type Terraform

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

func NewTerraform

func NewTerraform(execPath, dir string, vars, varFiles []string) *Terraform

func (*Terraform) Apply

func (t *Terraform) Apply(ctx context.Context, w io.Writer) error

func (*Terraform) Init added in v0.5.0

func (t *Terraform) Init(ctx context.Context, w io.Writer) error

func (*Terraform) Plan added in v0.5.0

func (t *Terraform) Plan(ctx context.Context, w io.Writer) (PlanResult, error)

func (*Terraform) SelectWorkspace added in v0.5.0

func (t *Terraform) SelectWorkspace(ctx context.Context, workspace string) error

func (*Terraform) Version added in v0.5.0

func (t *Terraform) Version(ctx context.Context) (string, error)

Jump to

Keyboard shortcuts

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