package
0.0.0-20191002203319-fb75b3253c80
Repository: https://github.com/hashicorp/hcl2.git
Documentation: pkg.go.dev

# Functions

FileResolver creates and returns a Resolver that interprets include paths as filesystem paths relative to the calling configuration file.
MapResolver returns a Resolver that consults the given map for preloaded bodies (the values) associated with static include paths (the keys).
Transformer builds a transformer that finds any "include" blocks in a body and produces a merged body that contains the original content plus the content of the other bodies referenced by the include blocks.

# Interfaces

A Resolver maps an include path (an arbitrary string, but usually something filepath-like) to a hcl.Body.

# Type aliases

ResolverFunc is a function type that implements Resolver.