Directories
¶
| Path | Synopsis |
|---|---|
|
guest
|
|
|
internal/guestagent
Package guestagent implements the SandboxContext service inside the guest microVM.
|
Package guestagent implements the SandboxContext service inside the guest microVM. |
|
internal/httpd
Package httpd implements the minimal HTTP/1.1 server vminitd needs to serve Connect RPCs over vsock.
|
Package httpd implements the minimal HTTP/1.1 server vminitd needs to serve Connect RPCs over vsock. |
|
internal/rootpath
Package rootpath resolves paths against a container rootfs the way a chroot would, through the kernel (openat2 RESOLVE_IN_ROOT).
|
Package rootpath resolves paths against a container rootfs the way a chroot would, through the kernel (openat2 RESOLVE_IN_ROOT). |
|
internal/vmexec
Package vmexec is the ossein guest container runtime — the Go port of Apple's vmexec.
|
Package vmexec is the ossein guest container runtime — the Go port of Apple's vmexec. |
|
vminitd
command
Command vminitd is the ossein guest binary: one static linux/arm64 executable that is PID 1 inside the microVM.
|
Command vminitd is the ossein guest binary: one static linux/arm64 executable that is PID 1 inside the microVM. |
|
hack
|
|
|
bench
command
Command bench is the ossein guest microbenchmark suite: one static linux/arm64 binary that runs a single benchmark selected by --type, so the whole suite is a single artifact to cross-build and mount into a container.
|
Command bench is the ossein guest microbenchmark suite: one static linux/arm64 binary that runs a single benchmark selected by --type, so the whole suite is a single artifact to cross-build and mount into a container. |
|
build-initfs
command
Command build-initfs assembles the guest initfs as an UNCOMPRESSED newc cpio archive — the kernel unpacks it as the initramfs root, in RAM, with no block device involved.
|
Command build-initfs assembles the guest initfs as an UNCOMPRESSED newc cpio archive — the kernel unpacks it as the initramfs root, in RAM, with no block device involved. |
|
vsockpeer
command
Command vsockpeer is the GUEST half of the vsock proxy throughput bench (hack/vsockbench).
|
Command vsockpeer is the GUEST half of the vsock proxy throughput bench (hack/vsockbench). |
|
internal
|
|
|
cli
Package cli holds the conventions every ossein command-line binary follows — the process logger, the --log-level vocabulary, the exit-status convention, the spelling of "the whole host" on --cpus and --memory — so that ossein and its docker-shaped front (cmd/ossein-docker) behave as one product without either importing the other's main package.
|
Package cli holds the conventions every ossein command-line binary follows — the process logger, the --log-level vocabulary, the exit-status convention, the spelling of "the whole host" on --cpus and --memory — so that ossein and its docker-shaped front (cmd/ossein-docker) behave as one product without either importing the other's main package. |
|
protocol
Package protocol holds the constants the ossein HOST and the ossein GUEST must agree on exactly.
|
Package protocol holds the constants the ossein HOST and the ossein GUEST must agree on exactly. |
|
rootfsblob
Package rootfsblob holds the rootfs blob's self-describing format contract: the byte patterns the HOST writes into the cached blob and the GUEST reads back to decide how to materialize it.
|
Package rootfsblob holds the rootfs blob's self-describing format contract: the byte patterns the HOST writes into the cached blob and the GUEST reads back to decide how to materialize it. |
|
pkg
|
|
|
guest
Package guest is the typed client for the ossein guest agent — the PID-1 init inside the microVM (guest/vminitd + guest/internal/guestagent) — over its Connect-on-vsock control channel.
|
Package guest is the typed client for the ossein guest agent — the PID-1 init inside the microVM (guest/vminitd + guest/internal/guestagent) — over its Connect-on-vsock control channel. |
|
guestartifacts
Package guestartifacts serves the guest boot artifacts (the Linux kernel and the vminitd initfs) that ossein hands to Virtualization.framework.
|
Package guestartifacts serves the guest boot artifacts (the Linux kernel and the vminitd initfs) that ossein hands to Virtualization.framework. |
|
image
Package image resolves OCI images and serves their flattened rootfs, backed by primordium's content-addressable store (concurrency-safe, GC'd).
|
Package image resolves OCI images and serves their flattened rootfs, backed by primordium's content-addressable store (concurrency-safe, GC'd). |
|
image/flatten
Package flatten squashes an OCI image's layer stack into one plain tar stream.
|
Package flatten squashes an OCI image's layer stack into one plain tar stream. |
|
ocispec
Package ocispec turns run parameters into the OCI runtime spec that vminitd executes (via vmexec) inside the microVM.
|
Package ocispec turns run parameters into the OCI runtime spec that vminitd executes (via vmexec) inside the microVM. |
|
third_party
|
|
Click to show internal directories.
Click to hide internal directories.