sandboxclass

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

Index

Constants

View Source
const (
	// GVisor is the gVisor/runsc runtime (cmd/ateworker-gvisor). Default.
	GVisor = "gvisor"
	// MicroVM is the micro-VM runtime (cmd/ateworker-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 api/infra/k8s/ate/v1.

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