Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NativeFunc ¶
func NativeFunc(k Kustomize) *jsonnet.NativeFunction
NativeFunc returns a jsonnet native function that provides the same functionality as `Kustomize.Build` of this package. Kustomize yamls are required to be present on the local filesystem, at a relative location to the file that calls `kustomize.build()` / `std.native('kustomizeBuild')`. This guarantees hermeticity
Types ¶
type ExecKustomize ¶
type ExecKustomize struct{}
ExecKustomize is a Kustomize implementation powered by the `kustomize` command line utility
type JsonnetOpts ¶
type JsonnetOpts struct { // CalledFrom is the file that calls kustomizeBuild. This is used to find the // vendored Kustomize relative to this file CalledFrom string `json:"calledFrom"` // NameBuild is used to create the keys in the resulting map NameFormat string `json:"nameFormat"` }
JsonnetOpts are additional properties the consumer of the native func might pass.
Click to show internal directories.
Click to hide internal directories.