runtimes

package
v0.0.0-...-70db0ab Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvVarRuntimeName = "SQNC_RUNTIME"
)

Variables

View Source
var ErrRuntimeNotFound = errors.New("runtime not found")

Functions

func ErrIsRuntimeNotFound

func ErrIsRuntimeNotFound(err error) bool

func GetRuntime

func GetRuntime(ctx context.Context, names ...string) (runtime.Runtime, error)

func RegisterRuntime

func RegisterRuntime(name string, f NewRuntimeFunc)

Types

type NewRuntimeFunc

type NewRuntimeFunc func(context.Context) (runtime.Runtime, error)

Jump to

Keyboard shortcuts

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