You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use jrsonnet for generating Kubernetes manifests in a cargo project. The ideal workflow is to be able to run cargo run --bin generate-manifests to compile jsonnet files to YAML or JSON. Here generate-manifests would be a binary effectively doing
Currently, this is only possible by installing the correct version of jrsonnet or some other jsonnet implementation in an earlier step. It would be convenient if the jrsonnet CLI interface and main function could be used as a library.
The text was updated successfully, but these errors were encountered:
This functionality is already available via the APIs which are used by jrsonnet CLI, thus you can use them already. Just take a look at what jrsonnet CLI does in its implementation after parsing input.
It's not up-to-date with this library's latest version, but I have a bare minimum here. You can ignore the external variable injection and use only the state + context + resolver pieces.
I'd like to use
jrsonnet
for generating Kubernetes manifests in a cargo project. The ideal workflow is to be able to runcargo run --bin generate-manifests
to compile jsonnet files to YAML or JSON. Heregenerate-manifests
would be a binary effectively doingCurrently, this is only possible by installing the correct version of jrsonnet or some other jsonnet implementation in an earlier step. It would be convenient if the jrsonnet CLI interface and main function could be used as a library.
The text was updated successfully, but these errors were encountered: