Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
+kubebuilder:object:generate=true +groupName=mitos.run
|
+kubebuilder:object:generate=true +groupName=mitos.run |
|
bench
|
|
|
facade
command
Command facade-bench is the reproducible harness behind the facade pause/resume latency comparison (issue #19; see BENCHMARKS.md "Facade vs upstream reference: resume latency").
|
Command facade-bench is the reproducible harness behind the facade pause/resume latency comparison (issue #19; see BENCHMARKS.md "Facade vs upstream reference: resume latency"). |
|
cmd
|
|
|
bench
command
Command bench measures the sandbox fork and exec data path directly against the real KVM-backed engine.
|
Command bench measures the sandbox fork and exec data path directly against the real KVM-backed engine. |
|
cas-verify
command
Command cas-verify is a small operational and CI helper for the content-addressed snapshot store (internal/cas).
|
Command cas-verify is a small operational and CI helper for the content-addressed snapshot store (internal/cas). |
|
controller
command
|
|
|
crypt-smoke
command
Command crypt-smoke is a small CI helper that drives the REAL internal/storecrypt Manager (with the production DefaultRunner, so the actual cryptsetup code path is exercised, not just raw cryptsetup) to prove encryption at rest, decrypt/restore through the mount, and crypto-shred.
|
Command crypt-smoke is a small CI helper that drives the REAL internal/storecrypt Manager (with the production DefaultRunner, so the actual cryptsetup code path is exercised, not just raw cryptsetup) to prove encryption at rest, decrypt/restore through the mount, and crypto-shred. |
|
dns-stub
command
Command dns-stub is a deterministic stub DNS resolver for the KVM CI name-egress proof.
|
Command dns-stub is a deterministic stub DNS resolver for the KVM CI name-egress proof. |
|
facade
command
Command facade runs the agents.x-k8s.io conformance facade controller (issue #19).
|
Command facade runs the agents.x-k8s.io conformance facade controller (issue #19). |
|
forkd
command
|
|
|
husk-probe
command
Command husk-probe is the load-bearing proof that husk pods share memory.
|
Command husk-probe is the load-bearing proof that husk pods share memory. |
|
husk-stub
command
Command husk-stub is the single-VM husk process: it brings up a DORMANT Firecracker VMM at start, then listens on a control Unix socket and ACTIVATES the VM in place by loading a snapshot when an activate request arrives.
|
Command husk-stub is the single-VM husk process: it brings up a DORMANT Firecracker VMM at start, then listens on a control Unix socket and ACTIVATES the VM in place by loading a snapshot when an activate request arrives. |
|
kubectl-sandbox
command
Command kubectl-sandbox is a kubectl plugin that lists mitos.run sandbox objects.
|
Command kubectl-sandbox is a kubectl plugin that lists mitos.run sandbox objects. |
|
kvm-device-plugin
command
Command kvm-device-plugin is a Kubernetes device plugin that advertises the KVM device (mitos.run/kvm) to the kubelet and injects /dev/kvm (and /dev/net/tun) into containers that request it.
|
Command kvm-device-plugin is a Kubernetes device plugin that advertises the KVM device (mitos.run/kvm) to the kubelet and injects /dev/kvm (and /dev/net/tun) into containers that request it. |
|
mitos
command
Command mitos is the command-line interface for snapshot-fork sandboxes.
|
Command mitos is the command-line interface for snapshot-fork sandboxes. |
|
mitos-mcp
command
Command mitos-mcp exposes the mitos sandbox lifecycle (create, exec, file IO, fork, terminate) as Model Context Protocol tools over a stdio JSON-RPC transport.
|
Command mitos-mcp exposes the mitos sandbox lifecycle (create, exec, file IO, fork, terminate) as Model Context Protocol tools over a stdio JSON-RPC transport. |
|
net-smoke
command
Command net-smoke drives the REAL internal/network Linux Manager against a live nft + iproute2 on the KVM CI runner.
|
Command net-smoke drives the REAL internal/network Linux Manager against a live nft + iproute2 on the KVM CI runner. |
|
pull-smoke
command
Command pull-smoke proves the build-once-distribute path end to end on ONE machine using TWO engines and TWO data dirs: node A builds a template into its content-addressed store and serves that store over TLS gated by a peer token (exactly the surface forkd mounts under /cas), and node B's engine.PullTemplate pulls the snapshot from A over a real HTTPS connection, materializes it, verifies it (manifest digest + snapshot compatibility), writes the verified marker, and then forks a sandbox from the PULLED template and execs an assertion inside it.
|
Command pull-smoke proves the build-once-distribute path end to end on ONE machine using TWO engines and TWO data dirs: node A builds a template into its content-addressed store and serves that store over TLS gated by a peer token (exactly the surface forkd mounts under /cas), and node B's engine.PullTemplate pulls the snapshot from A over a real HTTPS connection, materializes it, verifies it (manifest digest + snapshot compatibility), writes the verified marker, and then forks a sandbox from the PULLED template and execs an assertion inside it. |
|
rendezvous-server
command
Command rendezvous-server is the minimal authenticated git-http rendezvous server: the external remote a workspace {git} output pushes per-attempt branches to.
|
Command rendezvous-server is the minimal authenticated git-http rendezvous server: the external remote a workspace {git} output pushes per-attempt branches to. |
|
sandbox-server
command
|
|
|
test-agent
command
|
|
|
tmpl-smoke
command
Command tmpl-smoke drives the real KVM-backed fork engine end to end to prove the image-to-rootfs pipeline: it builds a Firecracker template FROM AN OCI IMAGE (pull -> flatten -> inject agent -> ext4 -> boot -> run init in the VM -> snapshot), forks a sandbox from that template, and execs assertions over the guest agent that prove BOTH the init command ran (a file it wrote exists with the expected content) AND the image filesystem is present (an image-specific binary resolves).
|
Command tmpl-smoke drives the real KVM-backed fork engine end to end to prove the image-to-rootfs pipeline: it builds a Firecracker template FROM AN OCI IMAGE (pull -> flatten -> inject agent -> ext4 -> boot -> run init in the VM -> snapshot), forks a sandbox from that template, and execs assertions over the guest agent that prove BOTH the init command ran (a file it wrote exists with the expected content) AND the image filesystem is present (an image-specific binary resolves). |
|
vol-smoke
command
|
|
|
ws-smoke
command
Command ws-smoke drives the bulk workspace hydrate/dehydrate data path against real guest VMs over vsock, for the KVM integration phase.
|
Command ws-smoke drives the bulk workspace hydrate/dehydrate data path against real guest VMs over vsock, for the KVM integration phase. |
|
guest
|
|
|
agent
command
|
|
|
internal
|
|
|
admission
Package admission holds the controller's validating admission webhooks.
|
Package admission holds the controller's validating admission webhooks. |
|
agentcli
Package agentcli implements the mitos command-line interface: a thin, dependency-free command tree over a Backend that drives the sandbox lifecycle (create, exec, file IO, fork, terminate, list).
|
Package agentcli implements the mitos command-line interface: a thin, dependency-free command tree over a Backend that drives the sandbox lifecycle (create, exec, file IO, fork, terminate, list). |
|
apierr
Package apierr defines the LLM-legible error envelope returned by the forkd sandbox API and the standalone sandbox-server.
|
Package apierr defines the LLM-legible error envelope returned by the forkd sandbox API and the standalone sandbox-server. |
|
benchstat
Package benchstat provides pure latency statistics for the bench driver: nearest-rank percentile summarization, a human-readable table, and a JSON-serializable result view.
|
Package benchstat provides pure latency statistics for the bench driver: nearest-rank percentile summarization, a human-readable table, and a JSON-serializable result view. |
|
cas
Package cas implements a content-addressed store for VM memory and disk snapshots.
|
Package cas implements a content-addressed store for VM memory and disk snapshots. |
|
cli/sandboxtable
Package sandboxtable renders SandboxClaim and SandboxFork lists as aligned kubectl-style tables.
|
Package sandboxtable renders SandboxClaim and SandboxFork lists as aligned kubectl-style tables. |
|
deviceplugin
Package deviceplugin implements a Kubernetes device plugin that advertises the KVM device (mitos.run/kvm) to the kubelet and injects /dev/kvm (and /dev/net/tun) into containers that request it.
|
Package deviceplugin implements a Kubernetes device plugin that advertises the KVM device (mitos.run/kvm) to the kubelet and injects /dev/kvm (and /dev/net/tun) into containers that request it. |
|
dnsproxy
Package dnsproxy implements a controlled DNS resolver for sandbox egress.
|
Package dnsproxy implements a controlled DNS resolver for sandbox egress. |
|
eventfeed
Package eventfeed builds the workspace revision change feed: CloudEvents 1.0 envelopes describing workspace and sandbox lifecycle events, delivered to an opt-in operator webhook sink and (always) mirrored as Kubernetes Events on the source object.
|
Package eventfeed builds the workspace revision change feed: CloudEvents 1.0 envelopes describing workspace and sandbox lifecycle events, delivered to an opt-in operator webhook sink and (always) mirrored as Kubernetes Events on the source object. |
|
facade
Package facade implements the agents.x-k8s.io conformance facade (issue #19).
|
Package facade implements the agents.x-k8s.io conformance facade (issue #19). |
|
guestenv
Package guestenv builds the environment for guest exec sessions.
|
Package guestenv builds the environment for guest exec sessions. |
|
guestnet
Package guestnet configures the guest VM's single NIC after a snapshot restore using rtnetlink syscalls directly, with no dependency on an `ip` binary in the rootfs.
|
Package guestnet configures the guest VM's single NIC after a snapshot restore using rtnetlink syscalls directly, with no dependency on an `ip` binary in the rootfs. |
|
husk
Package husk implements the husk-pod stub: a single-VM process that brings up a DORMANT Firecracker VMM at prepare time and ACTIVATES it in place by loading a snapshot when an activate request arrives over a control socket.
|
Package husk implements the husk-pod stub: a single-VM process that brings up a DORMANT Firecracker VMM at prepare time and ACTIVATES it in place by loading a snapshot when an activate request arrives over a control socket. |
|
huskprobe
Package huskprobe holds the pure measurement math behind the husk-probe command (cmd/husk-probe).
|
Package huskprobe holds the pure measurement math behind the husk-probe command (cmd/husk-probe). |
|
kms
Package kms provides envelope encryption for the at-rest data-encryption key (DEK).
|
Package kms provides envelope encryption for the at-rest data-encryption key (DEK). |
|
mcp
Package mcp implements a Model Context Protocol (MCP) server that exposes the sandbox lifecycle (create, exec, file IO, fork, terminate) as MCP tools over a JSON-RPC 2.0 stdio transport.
|
Package mcp implements a Model Context Protocol (MCP) server that exposes the sandbox lifecycle (create, exec, file IO, fork, terminate) as MCP tools over a JSON-RPC 2.0 stdio transport. |
|
metering
Package metering aggregates per-sandbox resource samples into a node report that accounts for copy-on-write (CoW) sharing across forks of the same template.
|
Package metering aggregates per-sandbox resource samples into a node report that accounts for copy-on-write (CoW) sharing across forks of the same template. |
|
netconf
Package netconf holds pure, platform-independent helpers for sandbox network configuration: per-sandbox network identity allocation, nftables ruleset rendering, and command argument builders.
|
Package netconf holds pure, platform-independent helpers for sandbox network configuration: per-sandbox network identity allocation, nftables ruleset rendering, and command argument builders. |
|
network
Package network applies and tears down per-sandbox host networking: a tap device, its host IP, and a per-tap nftables egress ruleset.
|
Package network applies and tears down per-sandbox host networking: a tap device, its host IP, and a per-tap nftables egress ruleset. |
|
observability
Package observability wires OpenTelemetry tracing for the control plane.
|
Package observability wires OpenTelemetry tracing for the control plane. |
|
ociroot
Package ociroot pulls OCI images and flattens them into a directory tree and an ext4 rootfs image suitable for booting inside a microVM.
|
Package ociroot pulls OCI images and flattens them into a directory tree and an ext4 rootfs image suitable for booting inside a microVM. |
|
pki
Package pki provides the internal certificate authority for the control plane: the controller and forkd authenticate each other with mTLS using exactly two leaf identities issued by this CA.
|
Package pki provides the internal certificate authority for the control plane: the controller and forkd authenticate each other with mTLS using exactly two leaf identities issued by this CA. |
|
rendezvous
Package rendezvous is a minimal authenticated git-http rendezvous server: the real external remote the {git} workspace output pushes per-attempt branches to.
|
Package rendezvous is a minimal authenticated git-http rendezvous server: the real external remote the {git} workspace output pushes per-attempt branches to. |
|
snapcompat
Package snapcompat defines the snapshot compatibility contract: whether a snapshot captured in one environment can be safely restored in another.
|
Package snapcompat defines the snapshot compatibility contract: whether a snapshot captured in one environment can be safely restored in another. |
|
storecrypt
Package storecrypt manages per-scope LUKS containers that hold template snapshots encrypted at rest.
|
Package storecrypt manages per-scope LUKS containers that hold template snapshots encrypted at rest. |
|
volume
Package volume prepares per-sandbox block-device backing files on a forkd node.
|
Package volume prepares per-sandbox block-device backing files on a forkd node. |
|
workspace
Package workspace holds the host-side hydrate/dehydrate helpers that move a sandbox's /workspace tree between a running guest and the content-addressed store (internal/cas).
|
Package workspace holds the host-side hydrate/dehydrate helpers that move a sandbox's /workspace tree between a running guest and the content-addressed store (internal/cas). |
|
proto
|
|
Click to show internal directories.
Click to hide internal directories.