terraform

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2016 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, 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)

Jump to

Keyboard shortcuts

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