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

13 lines
391 B
Go

package request
type ContainerImageID struct {
ID string `json:"id" form:"id"`
}
type ContainerImagePull struct {
Name string `form:"name" json:"name" validate:"required"`
Auth bool `form:"auth" json:"auth"`
Username string `form:"username" json:"username" validate:"requiredIf=Auth,true"`
Password string `form:"password" json:"password" validate:"requiredIf=Auth,true"`
}