mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 03:00:42 +00:00
27 lines
513 B
Go
27 lines
513 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
contracthost "github.com/getcompanion-ai/computer-host/contract"
|
|
)
|
|
|
|
type MachineRecord struct {
|
|
ID contracthost.MachineID
|
|
Phase contracthost.MachinePhase
|
|
RuntimeHost string
|
|
Error string
|
|
CreatedAt time.Time
|
|
StartedAt *time.Time
|
|
}
|
|
|
|
type StoragePool string
|
|
|
|
type VolumeRecord struct {
|
|
ID contracthost.VolumeID
|
|
MachineID contracthost.MachineID
|
|
Kind contracthost.VolumeKind
|
|
Pool StoragePool
|
|
Path string
|
|
CreatedAt time.Time
|
|
}
|