load

package
v6.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationCompile added in v6.8.0

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

AuthorizationCompile compiles the authorization scriptlet.

func AuthorizationProgram added in v6.8.0

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

AuthorizationProgram returns the precompiled authorization scriptlet program.

func AuthorizationSet added in v6.8.0

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 added in v6.8.0

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 added in v6.0.2

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

QEMUCompile compiles the QEMU scriptlet.

func QEMUProgram added in v6.0.2

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

QEMUProgram returns the precompiled QEMU scriptlet program.

func QEMUSet added in v6.0.2

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 added in v6.0.2

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