mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-16 14:01:04 +00:00
host daemon (#2)
* feat: host daemon api scaffold * fix: use sparse writes * fix: unix socket length (<108 bytes)
This commit is contained in:
parent
4028bb5a1d
commit
e2f9e54970
21 changed files with 2111 additions and 372 deletions
|
|
@ -18,14 +18,10 @@ type MachineState struct {
|
|||
}
|
||||
|
||||
const (
|
||||
// PhaseProvisioning means host-local resources are still being prepared.
|
||||
PhaseProvisioning Phase = "provisioning"
|
||||
// PhaseRunning means the Firecracker process is live.
|
||||
PhaseRunning Phase = "running"
|
||||
// PhaseStopped means the VM is no longer running.
|
||||
PhaseStopped Phase = "stopped"
|
||||
// PhaseMissing means the machine is not known to the runtime.
|
||||
PhaseMissing Phase = "missing"
|
||||
// PhaseError means the runtime observed a terminal failure.
|
||||
PhaseError Phase = "error"
|
||||
// PhaseFailed means the runtime observed a terminal failure.
|
||||
PhaseFailed Phase = "failed"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue