Skip to content

Commit 18c6a8d

Browse files
committed
storage type
1 parent 9ca5ed5 commit 18c6a8d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/storage_type.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,10 @@ type StorageContent struct {
4747
VMID int
4848
VolID string `josn:"volid,omitempty"`
4949
}
50+
51+
type StorageVolume struct {
52+
Format string `json:",omitempty"`
53+
Path string `json:",omitempty"`
54+
Size int `json:",omitempty"`
55+
Used int `json:",omitempty"`
56+
}

0 commit comments

Comments
 (0)