1b9738a196
These are wrappers around the lower-level hclwrite package that are able to reverse a subset of the behavior of the Decode functions to populate an hclwrite DOM. They are not fully symmetrical with DecodeBody because that function can leave certain parts of the configuration in its opaque form for later decoding, and these encode functions don't have enough information to repack that abstract/opaque form into new source code. In practice we expect that callers using complex techniques like partial decoding will also use more complex techniques with the hclwrite API directly, since they will need to coordinate partial _encoding_ of data that has been portioned off into separate structures, which gohcl is not equipped to do itself. |
||
---|---|---|
.. | ||
decode_test.go | ||
decode.go | ||
doc.go | ||
encode_test.go | ||
encode.go | ||
schema_test.go | ||
schema.go | ||
types.go |