runtime

package
v0.0.0-...-8396750 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Stdout       io.Writer
	DeploymentID uuid.UUID
	Engine       string
	Blob         []byte
	Cache        wazero.CompilationCache
}

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, args Args) (*Runtime, error)

func (*Runtime) Close

func (r *Runtime) Close() error

func (*Runtime) Invoke

func (r *Runtime) Invoke(stdin io.Reader, env map[string]string, args ...string) error

Jump to

Keyboard shortcuts

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