loader

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	Logger    *logger.Logger
	Templates map[string]*ast.File
	Files     map[string][]byte
	State     *state.TFState
	TFVars    []*ast.File
}

func NewLoader

func NewLoader(debug bool) *Loader

func (*Loader) Dump added in v0.3.0

func (l *Loader) Dump() (map[string]*ast.File, map[string][]byte, *state.TFState, []*ast.File)

func (*Loader) LoadAllTemplate added in v0.3.0

func (l *Loader) LoadAllTemplate(dir string) error

func (*Loader) LoadModuleFile

func (l *Loader) LoadModuleFile(moduleKey string, source string) error

func (*Loader) LoadState added in v0.3.0

func (l *Loader) LoadState()

func (*Loader) LoadTFVars added in v0.3.1

func (l *Loader) LoadTFVars(varfile []string)

func (*Loader) LoadTemplate added in v0.3.0

func (l *Loader) LoadTemplate(filename string) error

type LoaderIF added in v0.2.1

type LoaderIF interface {
	LoadTemplate(filename string) error
	LoadModuleFile(moduleKey string, source string) error
	LoadAllTemplate(dir string) error
	Dump() (map[string]*ast.File, map[string][]byte, *state.TFState, []*ast.File)
	LoadState()
	LoadTFVars([]string)
}

Jump to

Keyboard shortcuts

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