sandboxclass

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package sandboxclass names the sandbox runtime families: the values a WorkerPool, a SandboxConfig, and an ActorTemplate can select. It imports nothing from Kubernetes, so any package can name a class without pulling in the ate.dev/v1alpha1 API types.

Index

Constants

View Source
const (
	// GVisor is the gVisor/runsc runtime (cmd/ateom-gvisor). Default.
	GVisor = "gvisor"
	// MicroVM is the micro-VM runtime (cmd/ateom-microvm). It needs /dev/kvm
	// and vhost devices.
	MicroVM = "microvm"
)

Variables

This section is empty.

Functions

func All

func All() []string

All returns every sandbox class. Keep it in sync with the +kubebuilder:validation:Enum markers in pkg/api/v1alpha1.

func Valid

func Valid(class string) bool

Valid reports whether class is one of All. The match is case-sensitive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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