types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidMachineType = errors.New("invalid machine type")

Functions

This section is empty.

Types

type Type

type Type string
const (
	Unsupported Type = "unsupported"
	// Risor engine: https://github.com/risor-io/risor
	Risor Type = "risor"
	// Starlark engine: https://github.com/google/starlark-go
	Starlark Type = "starlark"
	// Extism WASM engine: https://extism.org/
	Extism Type = "extism"
)

func GetMachineTypeFromPath

func GetMachineTypeFromPath(path string) (Type, error)

func GetMachineTypeFromString

func GetMachineTypeFromString(machineType string) (Type, error)

func (Type) String

func (t Type) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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