Documentation ¶
Index ¶
- func MakeVM() *jsonnet.VM
- func NewVM(param string, importer jsonnet.Importer) *jsonnet.VM
- func Read(fs afero.Fs, filePath, tla string, importer jsonnet.Importer, dest any) error
- func ReadToNode(fs afero.Fs, filePath string) (ast.Node, error)
- func SetNativeFunctions(vm *jsonnet.VM)
- func ValidateJSONSchema(name string) *jsonnet.NativeFunction
- type FileImporter
- type ModuleImporter
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetNativeFunctions ¶
func SetNativeFunctions(vm *jsonnet.VM)
func ValidateJSONSchema ¶ added in v0.3.0
func ValidateJSONSchema(name string) *jsonnet.NativeFunction
Types ¶
type FileImporter ¶
type FileImporter = jsonnet.FileImporter
type ModuleImporter ¶ added in v0.3.0
type ModuleImporter struct {
// contains filtered or unexported fields
}
func NewImporter ¶
func NewImporter(ctx context.Context, logE *logrus.Entry, param *module.ParamInstall, importer jsonnet.Importer, installer *module.Installer) *ModuleImporter
Click to show internal directories.
Click to hide internal directories.