evaluator

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const HCL_LIST_VARTYPE = "list"
View Source
const HCL_MAP_VARTYPE = "map"
View Source
const HCL_STRING_VARTYPE = "string"

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator struct {
	Config hil.EvalConfig
}

func NewEvaluator

func NewEvaluator(templates map[string]*hclast.File, schema []*schema.Template, varfile []*hclast.File, c *config.Config) (*Evaluator, error)

func (*Evaluator) Eval

func (e *Evaluator) Eval(src string) (interface{}, error)

Jump to

Keyboard shortcuts

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