internal

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL