mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 20:57:19 +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"`
|
|
}
|