@yq.bzl//yq:yq.bzl
Public API for calling yq
Functions & Macros
yqInvoke yq with an expression on a set of input files.
yq is capable of parsing and outputting to other formats. See their docs for more examples.
Parameters
*name | Name of the rule |
*srcs | List of input file labels |
expression | yq expression (https://mikefarah.gitbook.io/yq/commands/evaluate). Defaults to the identity Be careful to write the filter so that it handles unstamped builds, as in the example above. Default: "." |
args | Additional args to pass to yq. Note that you do not need to pass eval or eval-all as this Default: [] |
outs | Name of the output files. Defaults to a single output with the name plus a ".yaml" extension, or Default: None |
kwargs | Other common named parameters such as |