computer-host/contract/types.go
Hari e2f9e54970 host daemon (#2)
* feat: host daemon api scaffold

* fix: use sparse writes

* fix: unix socket length (<108 bytes)
2026-04-08 11:23:19 -04:00

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"
)