From 18c6a8de9861f9e5f5d6b0af6a6f7433516897ad Mon Sep 17 00:00:00 2001 From: sp-yduck Date: Fri, 28 Jul 2023 23:57:40 +0900 Subject: [PATCH] storage type --- api/storage_type.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/storage_type.go b/api/storage_type.go index b6e8c8c..d3f14be 100644 --- a/api/storage_type.go +++ b/api/storage_type.go @@ -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"` +}