init commit

This commit is contained in:
2025-04-09 15:52:24 +08:00
parent d1c5fb1162
commit a5b87653a3
31 changed files with 718 additions and 24 deletions
+9 -14
View File
@@ -1,18 +1,13 @@
package model
import "time"
type VolumesJson struct {
Volumes []struct {
CreatedAt time.Time `json:"CreatedAt"`
Driver string `json:"Driver"`
Labels struct {
} `json:"Labels"`
Mountpoint string `json:"Mountpoint"`
Name string `json:"Name"`
Options struct {
} `json:"Options"`
Scope string `json:"Scope"`
} `json:"Volumes"`
Warnings []interface{} `json:"Warnings"`
Volumes []Volume `json:"volumes"`
}
type Volume struct {
Driver string `json:"driver"`
Labels struct {
} `json:"labels"`
Mountpoint string `json:"mountpoint"`
Name string `json:"name"`
Scope string `json:"scope"`
}