Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvaluateFile ¶
EvaluateFile opens the file, reads it into memory and evaluates it afterwards (`Evaluate()`)
func TransitiveImports ¶
TransitiveImports returns all recursive imports of an environment
Types ¶
type ExtendedImporter ¶ added in v0.6.0
type ExtendedImporter struct {
// contains filtered or unexported fields
}
ExtendedImporter wraps jsonnet.FileImporter to add additional functionality: - `import "file.yaml"` - `import "tk"`
func NewExtendedImporter ¶ added in v0.6.0
func NewExtendedImporter(jpath []string) *ExtendedImporter
NewExtendedImporter returns a new instance of ExtendedImporter with the correct jpaths set up
type Modifier ¶ added in v0.7.0
Modifiers allow to set optional paramters on the Jsonnet VM. See jsonnet.With* for this.
func WithExtCode ¶ added in v0.7.0
WithExtCode allows to make the supplied snippet available to Jsonnet as an ext var
Click to show internal directories.
Click to hide internal directories.