Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseYAMLDocuments ¶
ParseYAMLDocuments parses the contents of the reader into an array of objects, one for each non-nil document in the input.
func Register ¶
func Register(vm *jsonnet.VM)
Register adds qbec's native jsonnet functions to the provided VM
func RenderYAMLDocuments ¶
RenderYAMLDocuments renders the supplied data as a series of YAML documents if the input is an array or a single document when it is not. Nils are excluded from output. If the caller wants an array to be rendered as a single document, they need to wrap it in an array first. Note that this function is not a drop-in replacement for data that requires ghodss/yaml to be rendered correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.