Documentation
¶
Index ¶
Constants ¶
View Source
const RuntimeFirecracker = "firecracker"
View Source
const RuntimeQEMU = "qemu-kvm"
View Source
const RuntimeShellDocker = "shell-docker"
Variables ¶
This section is empty.
Functions ¶
func Capabilities ¶
func Capabilities(runtime string) worker.Descriptor
func New ¶
New preserves the command-backed constructor used by the fleet-worker config loader. Use NewNative for the shell/docker implementation.
func NewFirecracker ¶
NewFirecracker returns a compute driver whose execution is locked to the supplied VM engine and advertised as vm/firecracker.
Types ¶
type Driver ¶
type Driver struct {
Runtime string
// contains filtered or unexported fields
}
Driver owns compute method routing, request lifecycle, cancellation, and outcome construction. Execution is delegated to a backend-specific executor.
func (*Driver) Capabilities ¶
func (d *Driver) Capabilities() worker.Descriptor
Click to show internal directories.
Click to hide internal directories.