legacy

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package legacy contains a backend implementation that can be used with the legacy remote state clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(m map[string]func() backend.Backend)

Init updates the backend/init package map of initializers to support all the remote state types.

If a type is already in the map, it will not be added. This will allow us to slowly convert the legacy types to first-class backends.

Types

type Backend

type Backend struct {
	// Type is the type of remote state client to support
	Type string
	// contains filtered or unexported fields
}

Backend is an implementation of backend.Backend for legacy remote state clients.

func (*Backend) Configure

func (b *Backend) Configure(c *terraform.ResourceConfig) error

func (*Backend) DeleteState

func (b *Backend) DeleteState(string) error

func (*Backend) Input

func (*Backend) State

func (b *Backend) State(name string) (state.State, error)

func (*Backend) States

func (b *Backend) States() ([]string, error)

func (*Backend) Validate

func (b *Backend) Validate(*terraform.ResourceConfig) ([]string, []error)

Jump to

Keyboard shortcuts

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