mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 05:02:05 +00:00
* feat: host daemon api scaffold * fix: use sparse writes * fix: unix socket length (<108 bytes)
20 lines
345 B
Go
20 lines
345 B
Go
package host
|
|
|
|
type MachineID string
|
|
|
|
type MachinePhase string
|
|
|
|
type VolumeID string
|
|
|
|
type VolumeKind string
|
|
|
|
const (
|
|
MachinePhaseRunning MachinePhase = "running"
|
|
MachinePhaseStopped MachinePhase = "stopped"
|
|
MachinePhaseFailed MachinePhase = "failed"
|
|
)
|
|
|
|
const (
|
|
VolumeKindSystem VolumeKind = "system"
|
|
VolumeKindUser VolumeKind = "user"
|
|
)
|