Versions in this module Expand all Collapse all v7 v7.0.0 May 1, 2026 Changes in this version + func Compile(programName string, src string, preDeclared []string) (*starlark.Program, error) + func Optional(name string) scriptletFunction + func Required(name string) scriptletFunction + func StarlarkMarshal(input any) (starlark.Value, error) + func StarlarkUnmarshal(input starlark.Value) (any, error) + func Validate(compiler func(string, string) (*starlark.Program, error), programName string, ...) error + type Declaration = map[scriptletFunction][]string + type Loader struct + func NewLoader() *Loader + func (l *Loader) Program(name string, programName string) (*starlark.Program, *starlark.Thread, error) + func (l *Loader) Set(compiler func(string, string) (*starlark.Program, error), programName string, ...) error Other modules containing this package github.com/lxc/incus/v6