Back to godoc.org
github.com/hashicorp/hcl2

Directory github.com/hashicorp/hcl2

v0.0.0-...-fb75b32
Latest Go to latest

The latest major version is .

Published: Oct 2, 2019 | License: MPL-2.0 | Module: github.com/hashicorp/hcl2
Path Synopsis
cmd/hcldec
cmd/hclfmt
cmd/hclspecsuite
ext/dynblock
ext/include Package include implements a HCL extension that allows inclusion of one HCL body into another using blocks of type "include", with the following structure: include { path = "./foo.hcl" } The processing of the given path is delegated to the calling application, allowing it to decide how to interpret the path and which syntaxes to support for referenced files.
ext/transform Package transform is a helper package for writing extensions that work by applying transforms to bodies.
ext/typeexpr Package typeexpr extends HCL with a convention for describing HCL types within configuration files.
ext/userfunc Package userfunc implements a HCL extension that allows user-defined functions in HCL configuration.
extras/grammar
gohcl Package gohcl allows decoding HCL configurations into Go data structures.
hcl
hcl/hclsyntax Package hclsyntax contains the parser, AST, etc for HCL's native language, as opposed to the JSON variant.
hcl/hclsyntax/fuzz/config
hcl/hclsyntax/fuzz/expr
hcl/hclsyntax/fuzz/template
hcl/hclsyntax/fuzz/traversal
hcl/integrationtest Package integrationtest is an internal package that contains some tests that attempt to exercise many HCL features together in realistic scenarios.
hcl/json Package json is the JSON parser for HCL.
hcl/json/fuzz/config
hcldec Package hcldec provides a higher-level API for unpacking the content of HCL bodies, implemented in terms of the low-level "Content" API exposed by the bodies themselves.
hcled Package hcled provides functionality intended to help an application that embeds HCL to deliver relevant information to a text editor or IDE for navigating around and analyzing configuration files.
hclpack Package hclpack provides a straightforward representation of HCL block/body structure that can be easily serialized and deserialized for compact transmission (e.g.
hclparse
hcltest Package hcltest contains utilities that aim to make it more convenient to write tests for code that interacts with the HCL API.
hclwrite Package hclwrite deals with the problem of generating HCL configuration and of making specific surgical changes to existing HCL configurations.