flores/lib/model/volume.go
2025-04-18 17:40:44 +08:00

18 lines
329 B
Go

package model
type VolumesJson struct {
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"`
}
type CreateVolume struct {
Name string
Type string
}