Documentation
¶
Overview ¶
Package literalsource preserves scalar !literal values across stack merging and evaluation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProtectEncoded ¶
ProtectEncoded prevents even delimiter pairs that overlap our envelope syntax from interpreting a literal. Tokens use characters absent from the input and delimiters. Restore after each pass, before parsing the rendered YAML or choosing new delimiters.
func ProtectYAML ¶
ProtectYAML hides tagged scalar bodies before a manifest's first template pass. Its restore callback reinstates the original tagged strings only after all passes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.