mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 02:07:18 +08:00
13 lines
391 B
Go
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"`
|
|
}
|