Directories
¶
| Path | Synopsis |
|---|---|
|
Terraform
|
|
|
validate
Package validate mirrors Terraform locals.tf node-arch derivation and the homogeneous-cluster precondition so mixed-arch tfvars fail in offline tests without a live AWS plan.
|
Package validate mirrors Terraform locals.tf node-arch derivation and the homogeneous-cluster precondition so mixed-arch tfvars fail in offline tests without a live AWS plan. |
|
cmd
|
|
|
sandboxd
command
|
|
|
toolboxd
command
|
|
|
toolboxd/sessions
Package sessions implements long-running command sessions inside a sandbox container: PTY or pipes, in-memory replay buffer, fan-out to multiple attached clients, and asciinema recording.
|
Package sessions implements long-running command sessions inside a sandbox container: PTY or pipes, in-memory replay buffer, fan-out to multiple attached clients, and asciinema recording. |
|
integration-tests
|
|
|
catalogue
Package catalogue holds shared helpers for the investor benchmark catalogue artifact: cross-process atomic JSON merge (soak loops) and Pushgateway push.
|
Package catalogue holds shared helpers for the investor benchmark catalogue artifact: cross-process atomic JSON merge (soak loops) and Pushgateway push. |
|
catalogue/cmd/gen
command
Command gen renders reports/<scenario>-catalogue.md from catalogue JSON.
|
Command gen renders reports/<scenario>-catalogue.md from catalogue JSON. |
|
report
command
Command gen turns `go test -json` output into the use-case coverage report: a per-scenario JSON + Markdown file and an aggregate matrix.
|
Command gen turns `go test -json` output into the use-case coverage report: a per-scenario JSON + Markdown file and an aggregate matrix. |
|
suite/harness
Package harness holds the scenario/capability model, the use-case registry, and the thin SDK client wrapper shared by every integration test.
|
Package harness holds the scenario/capability model, the use-case registry, and the thin SDK client wrapper shared by every integration test. |
|
internal
|
|
|
cluster
Package cluster implements Phase-1 cluster mode for sandboxd.
|
Package cluster implements Phase-1 cluster mode for sandboxd. |
|
network/cni
Package cni wraps the bridge+host-local CNI plugin for containerd sandboxes.
|
Package cni wraps the bridge+host-local CNI plugin for containerd sandboxes. |
|
network/netns
Package netns manages the per-host pool of prepaid network namespaces for the containerd engine.
|
Package netns manages the per-host pool of prepaid network namespaces for the containerd engine. |
|
network/tap
Package tap manages the per-host pool of (TAP-device, host-IP, guest-IP, /30-CIDR, vsock-CID) slots that Firecracker microVMs claim at create time.
|
Package tap manages the per-host pool of (TAP-device, host-IP, guest-IP, /30-CIDR, vsock-CID) slots that Firecracker microVMs claim at create time. |
|
pool/containerdpool
Package containerdpool is the warm-container pool for containerd sandboxes.
|
Package containerdpool is the warm-container pool for containerd sandboxes. |
|
pool/dockerpool
Package dockerpool is the in-memory warm-container pool for Docker sandboxes.
|
Package dockerpool is the in-memory warm-container pool for Docker sandboxes. |
|
pool/isolate
Package isolate is the blank-workerd warm pool for the V8-isolate runtime (plans/isolate-runtime.md §4 Phase 3).
|
Package isolate is the blank-workerd warm pool for the V8-isolate runtime (plans/isolate-runtime.md §4 Phase 3). |
|
pool/vmm
Package vmm is the policy layer of the Firecracker warm-VMM pool described in plans/snapshot-clone-fast-boot.md Phase 4.
|
Package vmm is the policy layer of the Firecracker warm-VMM pool described in plans/snapshot-clone-fast-boot.md Phase 4. |
|
pool/wasm
Package wasm is the in-memory warm-worker pool for WASM sandboxes (Phase 5).
|
Package wasm is the in-memory warm-worker pool for WASM sandboxes (Phase 5). |
|
runtime
Package runtime defines the abstraction the service layer uses to drive a sandbox container, regardless of which OCI runtime executes it.
|
Package runtime defines the abstraction the service layer uses to drive a sandbox container, regardless of which OCI runtime executes it. |
|
runtime/firecracker
Package firecracker is the native Firecracker runtime driver.
|
Package firecracker is the native Firecracker runtime driver. |
|
runtime/isolate
Package isolate is the V8-isolate (Workers-model) runtime driver — the fifth implementation of internal/runtime.Runtime, after pkg/docker (docker + gvisor), internal/runtime/firecracker, and internal/runtime/wasm (plans/isolate-runtime.md).
|
Package isolate is the V8-isolate (Workers-model) runtime driver — the fifth implementation of internal/runtime.Runtime, after pkg/docker (docker + gvisor), internal/runtime/firecracker, and internal/runtime/wasm (plans/isolate-runtime.md). |
|
runtime/wasm
Package wasm is the WASM/WASI runtime driver — the third implementation of internal/runtime.Runtime (after pkg/docker and internal/runtime/firecracker).
|
Package wasm is the WASM/WASI runtime driver — the third implementation of internal/runtime.Runtime (after pkg/docker and internal/runtime/firecracker). |
|
runtime/wasm/statekv
Package statekv implements the host KV capability for durable WASM sandboxes (plans/wasm-runtime.md §4.6).
|
Package statekv implements the host KV capability for durable WASM sandboxes (plans/wasm-runtime.md §4.6). |
|
runtime/wasm/toolhost
Package toolhost implements the host-side toolbox for WASM sandboxes (plans/wasm-runtime.md §3).
|
Package toolhost implements the host-side toolbox for WASM sandboxes (plans/wasm-runtime.md §3). |
|
pkg
|
|
|
api
Package api wires the top-level HTTP server.
|
Package api wires the top-level HTTP server. |
|
api/apihttp
Package apihttp holds HTTP helpers shared by every version of the public API (pkg/api/v1, ...).
|
Package apihttp holds HTTP helpers shared by every version of the public API (pkg/api/v1, ...). |
|
api/ingressproxy
Package ingressproxy implements the loopback HTTP listener that fronts wake-aware Caddy port routes.
|
Package ingressproxy implements the loopback HTTP listener that fronts wake-aware Caddy port routes. |
|
api/v1
Package v1 implements the v1 HTTP API for the sandbox daemon.
|
Package v1 implements the v1 HTTP API for the sandbox daemon. |
|
capacity
Package capacity implements admission control for sandbox creation.
|
Package capacity implements admission control for sandbox creation. |
|
clonegen
Package clonegen publishes a monotonic "clone generation" token readers can poll to detect that a sandbox was resumed from a snapshot — i.e.
|
Package clonegen publishes a monotonic "clone generation" token readers can poll to detect that a sandbox was resumed from a snapshot — i.e. |
|
controlplane
Package controlplane is the neutral seam between sandboxd and an optional managed control plane.
|
Package controlplane is the neutral seam between sandboxd and an optional managed control plane. |
|
createtiming
Package createtiming carries a per-request create-latency recorder on the request context so runtime drivers can attribute where a sandbox create spent its time, and the API handler can surface that attribution as Server-Timing response entries.
|
Package createtiming carries a per-request create-latency recorder on the request context so runtime drivers can attribute where a sandbox create spent its time, and the API handler can surface that attribution as Server-Timing response entries. |
|
daemon
Package daemon holds the full sandboxd boot sequence as a single reusable entrypoint, Run.
|
Package daemon holds the full sandboxd boot sequence as a single reusable entrypoint, Run. |
|
docker/netstats
Package netstats reads per-sandbox network byte counters from /proc/<pid>/net/dev.
|
Package netstats reads per-sandbox network byte counters from /proc/<pid>/net/dev. |
|
firecracker
Package firecracker is a thin Go wrapper around the Firecracker VMM's HTTP-over-Unix-socket REST API.
|
Package firecracker is a thin Go wrapper around the Firecracker VMM's HTTP-over-Unix-socket REST API. |
|
isolate
Package isolate is the workerd engine wrapper for the V8-isolate runtime (plans/isolate-runtime.md §7, the analog of pkg/wasm for WASM).
|
Package isolate is the workerd engine wrapper for the V8-isolate runtime (plans/isolate-runtime.md §7, the analog of pkg/wasm for WASM). |
|
jsbundle
Package jsbundle resolves and stores the JS/TS bundles that back runtime=isolate sandboxes (plans/isolate-runtime.md §7, the analog of pkg/wasmmod for .wasm modules).
|
Package jsbundle resolves and stores the JS/TS bundles that back runtime=isolate sandboxes (plans/isolate-runtime.md §7, the analog of pkg/wasmmod for .wasm modules). |
|
mounts
Package mounts owns the host-side lifecycle of per-sandbox external-storage mounts.
|
Package mounts owns the host-side lifecycle of per-sandbox external-storage mounts. |
|
mounts/adapters
Package adapters describes how to invoke external mount tools on the host for each supported storage protocol.
|
Package adapters describes how to invoke external mount tools on the host for each supported storage protocol. |
|
oci
Package oci builds an ext4 root filesystem image from an OCI container reference.
|
Package oci builds an ext4 root filesystem image from an OCI container reference. |
|
readyproto
Package readyproto defines the newline-delimited JSON handshake toolboxd sends to sandboxd when a Docker sandbox's agent is ready to serve.
|
Package readyproto defines the newline-delimited JSON handshake toolboxd sends to sandboxd when a Docker sandbox's agent is ready to serve. |
|
volumes
Package volumes translates a named, tenant-scoped platform volume into a concrete mount the existing pkg/mounts pipeline already knows how to realize.
|
Package volumes translates a named, tenant-scoped platform volume into a concrete mount the existing pkg/mounts pipeline already knows how to realize. |
|
wasm
Snapshot artifact layout and validation per plans/wasm-runtime.md §4.8.1.
|
Snapshot artifact layout and validation per plans/wasm-runtime.md §4.8.1. |
|
wasm/worker
Package worker implements the WASM worker-subprocess pool (plans/wasm-runtime.md §2.1).
|
Package worker implements the WASM worker-subprocess pool (plans/wasm-runtime.md §2.1). |
|
wasmmod
Package wasmmod — AOCR push for §4.8.1 WASM snapshot artifacts (D2).
|
Package wasmmod — AOCR push for §4.8.1 WASM snapshot artifacts (D2). |
|
scripts
|
|
|
load
command
ingress_churn is a release-gate load harness for the AerolVM cluster data-plane ingress.
|
ingress_churn is a release-gate load harness for the AerolVM cluster data-plane ingress. |
|
sdk
|
|
|
go/internal/apiclient/v1
Package v1 holds wire-version-1 constants for the Go SDK.
|
Package v1 holds wire-version-1 constants for the Go SDK. |
Click to show internal directories.
Click to hide internal directories.