init

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MPL-2.0 Imports: 17 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) backend.InitFn

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

func Init added in v0.11.8

func Init(services *disco.Disco)

Init initializes the backends map with all our hardcoded backends.

func Set

func Set(name string, f backend.InitFn)

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