mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 11:02:15 +00:00
feat: firecracker mmds identity
This commit is contained in:
parent
500354cd9b
commit
3eb610b703
23 changed files with 1813 additions and 263 deletions
|
|
@ -29,6 +29,7 @@ type ArtifactRecord struct {
|
|||
type MachineRecord struct {
|
||||
ID contracthost.MachineID
|
||||
Artifact contracthost.ArtifactRef
|
||||
GuestConfig *contracthost.GuestConfig
|
||||
SystemVolumeID contracthost.VolumeID
|
||||
UserVolumeIDs []contracthost.VolumeID
|
||||
RuntimeHost string
|
||||
|
|
@ -71,11 +72,21 @@ type SnapshotRecord struct {
|
|||
MemFilePath string
|
||||
StateFilePath string
|
||||
DiskPaths []string
|
||||
Artifacts []SnapshotArtifactRecord
|
||||
SourceRuntimeHost string
|
||||
SourceTapDevice string
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
type SnapshotArtifactRecord struct {
|
||||
ID string
|
||||
Kind contracthost.SnapshotArtifactKind
|
||||
Name string
|
||||
LocalPath string
|
||||
SizeBytes int64
|
||||
SHA256Hex string
|
||||
}
|
||||
|
||||
type PublishedPortRecord struct {
|
||||
ID contracthost.PublishedPortID
|
||||
MachineID contracthost.MachineID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue