terraformcli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terraform

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

func New

func New(fs afero.Fs, path string, version string, arch string) (*Terraform, error)

New constructs a new Terraform struct and returns it

func (*Terraform) Apply

func (t *Terraform) Apply(path string, varFiles []string, stateFile string) error

func (*Terraform) BinaryPath

func (b *Terraform) BinaryPath() string

BinaryPath returns the path of the terraform binary

func (*Terraform) Destroy

func (t *Terraform) Destroy(path string, varFiles []string, stateFile string) error

func (*Terraform) Init

func (t *Terraform) Init(path string) error

Jump to

Keyboard shortcuts

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