yq

package
v0.0.0-...-1660908 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func YqEval

func YqEval(expression, yaml string) (string, error)

Based on the yq eval command. Simplified to just eval the expression in place. see https://github.com/mikefarah/yq/blob/master/cmd/evaluate_sequence_command.go#L138 Note: the author does not guarantee the api will be consistent (see https://github.com/mikefarah/yq/issues/1486#issuecomment-1407781876)

func YqEvalAll

func YqEvalAll(expressions []string, yaml string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL