mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 10:05:13 +00:00
* feat: host daemon api scaffold * fix: use sparse writes * fix: unix socket length (<108 bytes)
15 lines
378 B
Go
15 lines
378 B
Go
package host
|
|
|
|
import "time"
|
|
|
|
type ArtifactRef struct {
|
|
KernelImageURL string `json:"kernel_image_url"`
|
|
RootFSURL string `json:"rootfs_url"`
|
|
}
|
|
|
|
type Volume struct {
|
|
ID VolumeID `json:"id"`
|
|
Kind VolumeKind `json:"kind"`
|
|
AttachedMachineID *MachineID `json:"attached_machine_id,omitempty"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|