Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStarlarkValueToInterface ¶
func ConvertStarlarkValueToInterface(v starlarkLib.Value) (any, error)
ConvertStarlarkValueToInterface converts a Starlark value to a Go any value
func ConvertToStarlarkFormat ¶
func ConvertToStarlarkFormat(inputData map[string]any) (starlarkLib.StringDict, error)
ConvertToStarlarkFormat converts a Go map into Starlark StringDict format. It wraps the input data in a "ctx" object that will be accessible within the script.
func ConvertToStarlarkValue ¶
func ConvertToStarlarkValue(v any) (starlarkLib.Value, error)
ConvertToStarlarkValue converts a Go value to a Starlark value
func StarlarkModules ¶
func StarlarkModules() starlarkLib.StringDict
StarlarkModules returns a copy of the Starlark universe with additional modules This is used by both the compiler and evaluator to ensure consistency between compilation-time checks and runtime execution
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.