• Alex Clemmer's avatar
    Add a template expander abstraction · 86c5ad02
    Alex Clemmer authored
    This commit will introduce the `template.Expander` abstraction, which is
    meant to abstract over an invocation of the Jsonnet VM. Specifically, it
    provides facilities for users to provide (e.g.) Jpaths, ext vars, and so
    on.
    
    The main justification for this change is:
    
    * We need a common way for the `pkg` and `cmd` packages to interact with
      the Jsonnet VM.
    * The `utils` package is already too much of a catch-all.
    * It's easier to think about an invocation of the Jsonnet VM when we
      additionally encapsulate the parameters we pass to it on every
      invocation in kubecfg.
    86c5ad02