pkg/

directory
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: BSD-3-Clause

Directories

Path Synopsis
Package bundler turns a pod.Container into an OCI runtime bundle on disk — the directory + config.json the OCI runtime (runc/crun) consumes.
Package bundler turns a pod.Container into an OCI runtime bundle on disk — the directory + config.json the OCI runtime (runc/crun) consumes.
Package cubefs mounts a CubeFS volume inside the guest by driving the CubeFS FUSE client (cfs-client) — CubeFS being the platform's RWX share backend (a CNCF distributed POSIX + S3 filesystem, since it replaced the SFTP server).
Package cubefs mounts a CubeFS volume inside the guest by driving the CubeFS FUSE client (cfs-client) — CubeFS being the platform's RWX share backend (a CNCF distributed POSIX + S3 filesystem, since it replaced the SFTP server).
firewall_linux.go is the kernel-touching reconciler that converges a nftables table named "weft-fw" to a [pod.Firewall] desired state.
firewall_linux.go is the kernel-touching reconciler that converges a nftables table named "weft-fw" to a [pod.Firewall] desired state.
Package pod defines the in-VM PodSpec — what the guest init is told to run.
Package pod defines the in-VM PodSpec — what the guest init is told to run.
Package runtime is the abstraction over the OCI runtime binary (crun, runc, youki) that weft-init exec's to create containers.
Package runtime is the abstraction over the OCI runtime binary (crun, runc, youki) that weft-init exec's to create containers.
crun
Package crun implements runtime.Runtime by exec'ing the `crun` binary.
Package crun implements runtime.Runtime by exec'ing the `crun` binary.
Package supervisor owns the two PID-1 responsibilities of weft-init: (1) reaping every orphaned child the kernel reparents to us, and (2) supervising the user-declared containers — start, watch, restart per policy, stop cleanly.
Package supervisor owns the two PID-1 responsibilities of weft-init: (1) reaping every orphaned child the kernel reparents to us, and (2) supervising the user-declared containers — start, watch, restart per policy, stop cleanly.
Package transport opens the guest↔host channel weft-init uses to stream pod status, container events, log chunks, and to receive control requests (stop, exec, restart) from weft-agent on the hypervisor host.
Package transport opens the guest↔host channel weft-init uses to stream pod status, container events, log chunks, and to receive control requests (stop, exec, restart) from weft-agent on the hypervisor host.

Jump to

Keyboard shortcuts

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