terraform

package
v2.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

func NewCmd

func NewCmd(stderr io.Writer) Cmd

func (Cmd) Run

func (cmd Cmd) Run(stdout io.Writer, workingDirectory string, args []string) error

type Executor

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

func NewExecutor

func NewExecutor(cmd terraformCmd) Executor

func (Executor) Apply

func (e Executor) Apply(credentials, envID, projectID, zone, region, cert, key, template, prevTFState string) (string, error)

func (Executor) Destroy

func (e Executor) Destroy(credentials, envID, projectID, zone, region, template, prevTFState string) (string, error)

type Outputter

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

func NewOutputter

func NewOutputter(cmd terraformCmd) Outputter

func (Outputter) Get

func (o Outputter) Get(tfState, outputName string) (string, error)

type TerraformApplyError

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

func NewTerraformApplyError

func NewTerraformApplyError(tfState string, err error) TerraformApplyError

func (TerraformApplyError) Error

func (t TerraformApplyError) Error() string

func (TerraformApplyError) TFState

func (t TerraformApplyError) TFState() string

Jump to

Keyboard shortcuts

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