load

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationCompile

func AuthorizationCompile(name string, src string) (*starlark.Program, error)

AuthorizationCompile compiles the authorization scriptlet.

func AuthorizationProgram

func AuthorizationProgram() (*starlark.Program, *starlark.Thread, error)

AuthorizationProgram returns the precompiled authorization scriptlet program.

func AuthorizationSet

func AuthorizationSet(src string) error

AuthorizationSet compiles the authorization scriptlet into memory for use with AuthorizationRun. If empty src is provided the current program is deleted.

func AuthorizationValidate

func AuthorizationValidate(src string) error

AuthorizationValidate validates the authorization scriptlet.

func InstancePlacementCompile

func InstancePlacementCompile(name string, src string) (*starlark.Program, error)

InstancePlacementCompile compiles the instance placement scriptlet.

func InstancePlacementProgram

func InstancePlacementProgram() (*starlark.Program, *starlark.Thread, error)

InstancePlacementProgram returns the precompiled instance placement scriptlet program.

func InstancePlacementSet

func InstancePlacementSet(src string) error

InstancePlacementSet compiles the instance placement scriptlet into memory for use with InstancePlacementRun. If empty src is provided the current program is deleted.

func InstancePlacementValidate

func InstancePlacementValidate(src string) error

InstancePlacementValidate validates the instance placement scriptlet.

func QEMUCompile

func QEMUCompile(name string, src string) (*starlark.Program, error)

QEMUCompile compiles the QEMU scriptlet.

func QEMUProgram

func QEMUProgram(instance string) (*starlark.Program, *starlark.Thread, error)

QEMUProgram returns the precompiled QEMU scriptlet program.

func QEMUSet

func QEMUSet(src string, instance string) error

QEMUSet compiles the QEMU scriptlet into memory for use with QEMURun. If empty src is provided the current program is deleted.

func QEMUValidate

func QEMUValidate(src string) error

QEMUValidate validates the QEMU scriptlet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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