backend

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: MPL-2.0 Imports: 1 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	// State returns the current state.
	//
	// If the named state doesn't exist it will be created.
	State(name string) (state.State, error)

	// DeleteState removes the named state if it exists.
	//
	// DeleteState does not prevent deleting a state that is in use.
	DeleteState(name string) error

	// PersistState persist the given state.
	PersistState(state state.State) error

	// States returns a list of configured named states.
	States() ([]string, error)

	// StateTerraformConfig returns the path and object that
	// represents a terraform backend configuration
	StateTerraformConfig(name string) (string, interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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