Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package api publishes the vm-manager API contract.
|
Package api publishes the vm-manager API contract. |
|
Package cmd holds the vm-manager CLI.
|
Package cmd holds the vm-manager CLI. |
|
internal
|
|
|
api
Package api exposes the domain services twice from one process: REST/JSON under /api/v1 for the portal and cluster-manager, and MCP tools for muster.
|
Package api exposes the domain services twice from one process: REST/JSON under /api/v1 for the portal and cluster-manager, and MCP tools for muster. |
|
apierr
Package apierr holds the sentinel errors every domain package wraps so the API layer can map them to one HTTP status and one stable error code for REST and MCP alike (internal/api statusFor).
|
Package apierr holds the sentinel errors every domain package wraps so the API layer can map them to one HTTP status and one stable error code for REST and MCP alike (internal/api statusFor). |
|
host
Package host reports what the KVM host offers vm-manager: kernel and hardware, the devices and tools the QEMU runtime needs, the firmware the images boot with, and the systemd services the provisioner talks to.
|
Package host reports what the KVM host offers vm-manager: kernel and hardware, the devices and tools the QEMU runtime needs, the firmware the images boot with, and the systemd services the provisioner talks to. |
|
identity
Package identity carries the authenticated caller through a request: who the OAuth layer validated (subject, email, groups).
|
Package identity carries the authenticated caller through a request: who the OAuth layer validated (subject, email, groups). |
|
runtime/proc
Package proc starts and supervises the long-running host processes the VM runtime is made of: QEMU (internal/runtime/qemu) and swtpm (internal/tpm).
|
Package proc starts and supervises the long-running host processes the VM runtime is made of: QEMU (internal/runtime/qemu) and swtpm (internal/tpm). |
|
runtime/qemu
Package qemu is the process-level VM runtime: it turns a Spec into the qemu-system-x86_64 argument list, starts and supervises the process, and gives the caller the three channels back into a running VM: QMP, the serial console log and the AF_VSOCK READY notification.
|
Package qemu is the process-level VM runtime: it turns a Spec into the qemu-system-x86_64 argument list, starts and supervises the process, and gives the caller the three channels back into a running VM: QMP, the serial console log and the AF_VSOCK READY notification. |
|
server
Package server assembles the single HTTP listener: health endpoints, the REST API, and the MCP streamable-HTTP endpoint (optionally behind OAuth).
|
Package server assembles the single HTTP listener: health endpoints, the REST API, and the MCP streamable-HTTP endpoint (optionally behind OAuth). |
|
tpm
Package tpm runs the software TPM behind each VM.
|
Package tpm runs the software TPM behind each VM. |
Click to show internal directories.
Click to hide internal directories.