2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 02:07:18 +08:00
Files
panel/internal/http/request/container_volume.go
2024-12-29 01:41:19 +08:00

15 lines
434 B
Go

package request
import "github.com/TheTNB/panel/pkg/types"
type ContainerVolumeID struct {
ID string `json:"id" form:"id" validate:"required"`
}
type ContainerVolumeCreate struct {
Name string `form:"name" json:"name" validate:"required"`
Driver string `form:"driver" json:"driver" validate:"required|in:local"`
Labels []types.KV `form:"labels" json:"labels"`
Options []types.KV `form:"options" json:"options"`
}