pkg/

directory
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT

Directories

Path Synopsis
api
Package api wires the top-level HTTP server.
Package api wires the top-level HTTP server.
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, ...).
clusterlist
Package clusterlist aggregates sandbox list reads across cluster owners.
Package clusterlist aggregates sandbox list reads across cluster owners.
clusterroute
Package clusterroute holds the one cluster owner-forwarding wrapper every API surface shares.
Package clusterroute holds the one cluster owner-forwarding wrapper every API surface shares.
e2b
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.
remotemcp
Package remotemcp serves the AerolVM MCP tools over Streamable HTTP at /mcp on sandboxd (plans/mcp-server-and-agent-cli.md §5.7, Phase 2b).
Package remotemcp serves the AerolVM MCP tools over Streamable HTTP at /mcp on sandboxd (plans/mcp-server-and-agent-cli.md §5.7, Phase 2b).
runloop
Package runloop is a compatibility facade for the official Runloop SDKs (@runloop/api-client, runloop_api_client).
Package runloop is a compatibility facade for the official Runloop SDKs (@runloop/api-client, runloop_api_client).
v1
Package v1 implements the v1 HTTP API for the sandbox daemon.
Package v1 implements the v1 HTTP API for the sandbox daemon.
Package auditexport ships already-redacted, hash-chained audit records off-node through pluggable backends.
Package auditexport ships already-redacted, hash-chained audit records off-node through pluggable backends.
Package auditwitness supplies an off-node audit witness to the open-source build: a controlplane.Witness that writes each audit hash-chain head to an S3 bucket with Object Lock, so the node that wrote a head can never change or remove it (plans/open-audit-witness.md).
Package auditwitness supplies an off-node audit witness to the open-source build: a controlplane.Witness that writes each audit hash-chain head to an S3 bucket with Object Lock, so the node that wrote a head can never change or remove it (plans/open-audit-witness.md).
s3fake
Package s3fake is an in-memory S3 server for tests.
Package s3fake is an in-memory S3 server for tests.
Package capacity implements admission control for sandbox creation.
Package capacity implements admission control for sandbox creation.
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.
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.
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.
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.
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.
Package egresspolicy is the one grammar, matcher and enforcement toolkit for sandbox egress policy (plans/egress-domain-filtering.md §5.1, §5.6).
Package egresspolicy is the one grammar, matcher and enforcement toolkit for sandbox egress policy (plans/egress-domain-filtering.md §5.1, §5.6).
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.
Package gvisorpids caps how many tasks (processes and threads) a gVisor sandbox may run, inside the sandbox's own kernel (the runsc sentry).
Package gvisorpids caps how many tasks (processes and threads) a gVisor sandbox may run, inside the sandbox's own kernel (the runsc sentry).
Package identitywire holds the identity formats that sandboxd and the aerolvm CLI must agree on byte for byte (plans/identity-and-access.md, eng review D2): the avm_ API token format with its checksum, the names and lifetimes a token request carries, the sign-in discovery document (GET /.well-known/aerolvm-auth) the CLI and the dashboard read before they hold any credential, the team-selection header, and the answer of `whoami --explain`.
Package identitywire holds the identity formats that sandboxd and the aerolvm CLI must agree on byte for byte (plans/identity-and-access.md, eng review D2): the avm_ API token format with its checksum, the names and lifetimes a token request carries, the sign-in discovery document (GET /.well-known/aerolvm-auth) the CLI and the dashboard read before they hold any credential, the team-selection header, and the answer of `whoami --explain`.
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).
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).
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.
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.
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.
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.
Package sandboxtoken is the signed, scoped per-sandbox token (plans/agent-sandbox-feature-parity.md §5.9, A1): a credential an owner can hand to a browser or an end user that works for one sandbox only, optionally narrowed to one port, one path prefix and a set of methods, and that expires.
Package sandboxtoken is the signed, scoped per-sandbox token (plans/agent-sandbox-feature-parity.md §5.9, A1): a credential an owner can hand to a browser or an end user that works for one sandbox only, optionally narrowed to one port, one path prefix and a set of methods, and that expires.
Package toolboxhttp is the HTTP transport sandboxd uses to reach a sandbox's toolbox over the network.
Package toolboxhttp is the HTTP transport sandboxd uses to reach a sandbox's toolbox over the network.
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.
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.
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).
Package wasmmod — AOCR push for §4.8.1 WASM snapshot artifacts (D2).
Package wasmmod — AOCR push for §4.8.1 WASM snapshot artifacts (D2).

Jump to

Keyboard shortcuts

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