init

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package init contains the list of backends that can be initialized and basic helper functions for initializing those backends.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend(name string) func() backend.Backend

Backend returns the initialization factory for the given backend, or nil if none exists.

func Set

func Set(name string, f func() backend.Backend)

Set sets a new backend in the list of backends. If f is nil then the backend will be removed from the map. If this backend already exists then it will be overwritten.

This method sets this backend globally and care should be taken to do this only before Terraform is executing to prevent odd behavior of backends changing mid-execution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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