Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Externals ¶
type Externals struct { Variables UserVariables // variables specified on command line LibPaths []string // library paths in filesystem for the file importer DataSources []string // data sources defined on the command line }
Externals is the desired configuration of the Jsonnet VM as specified by the user.
func (Externals) ToVariableSet ¶
func (c Externals) ToVariableSet() vm.VariableSet
ToVariableSet adapts the supplied set of user variables to a VM variable set.
func (Externals) WithLibPaths ¶
WithLibPaths returns a config with additional library paths.
Click to show internal directories.
Click to hide internal directories.