package
0.16.3
Repository: https://github.com/splunk/qbec.git
Documentation: pkg.go.dev

# Packages

Package datasource declares the data source interface.
Package vmutil exposes specific functions used in the native implementation of the VM for general purpose use.

# Functions

ConfigProviderFromVariables returns a simple config provider for data sources based on a static set of variables that will be defined for the VM.
CreateDataSources returns the data source implementations for the supplied URIs.
MakeCode returns a code object from the supplied string.
MakeSnippet returns a linter Snippet from the supplied filename and the code string.
New constructs a new VM based on the supplied config.
NewCodeVar returns a variable that has a code value.
NewVar returns a variable that has a string value.

# Structs

Code wraps string to distinguish it from string file names.
Config is the configuration of the VM.
Var is an opaque variable to be initialized for the jsonnet VM.
VariableSet is an immutable set of variables to be registered with a jsonnet VM.

# Interfaces

VM provides a narrow interface to the capabilities of a jsonnet VM.