Skip to content

Commit

Permalink
storage type
Browse files Browse the repository at this point in the history
  • Loading branch information
sp-yduck committed Jul 28, 2023
1 parent 9ca5ed5 commit 18c6a8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/storage_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ type StorageContent struct {
VMID int
VolID string `josn:"volid,omitempty"`
}

type StorageVolume struct {
Format string `json:",omitempty"`
Path string `json:",omitempty"`
Size int `json:",omitempty"`
Used int `json:",omitempty"`
}

0 comments on commit 18c6a8d

Please sign in to comment.