terra

package
v0.0.0-...-5ce7a85 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tfstate

type Tfstate struct {
	Path  string
	State *terraform.State
}

Holds a terraform state and its source.

func (*Tfstate) Load

func (t *Tfstate) Load(filename string) error

ReadStateFile will load the Terraform state from a file and assign it to the Platformer state. If the file is empty or fail to read it, and the current state is nil, it will assign a new empty state

func (*Tfstate) Traverse

func (t *Tfstate) Traverse() error

state is nil, it will assign a new empty state

Jump to

Keyboard shortcuts

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