mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 09:01:12 +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
|
|
@ -1,9 +1,5 @@
|
|||
package host
|
||||
|
||||
type ArtifactID string
|
||||
|
||||
type ArtifactVersion string
|
||||
|
||||
type MachineID string
|
||||
|
||||
type MachinePhase string
|
||||
|
|
@ -13,12 +9,9 @@ type VolumeID string
|
|||
type VolumeKind string
|
||||
|
||||
const (
|
||||
MachinePhasePending MachinePhase = "pending"
|
||||
MachinePhaseRunning MachinePhase = "running"
|
||||
MachinePhaseStopping MachinePhase = "stopping"
|
||||
MachinePhaseStopped MachinePhase = "stopped"
|
||||
MachinePhaseFailed MachinePhase = "failed"
|
||||
MachinePhaseDeleting MachinePhase = "deleting"
|
||||
MachinePhaseRunning MachinePhase = "running"
|
||||
MachinePhaseStopped MachinePhase = "stopped"
|
||||
MachinePhaseFailed MachinePhase = "failed"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue