Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForRequiredFields

func CheckForRequiredFields(metadata *mapstructure.Metadata, requiredFields []string) error

CheckForRequiredFields checks that there exists a field for each field in requiredFields.

func GetObjectList

func GetObjectList(f *ast.File) (*ast.ObjectList, bool)

func LoadFileHcl

func LoadFileHcl(root string) (*ast.File, error)

LoadFileHcl reads a file into a Configurable object

func LoadStringHcl

func LoadStringHcl(d string) (*ast.File, error)

LoadFileHcl reads a string into a Configurable object

Types

This section is empty.

Source Files