1Panel/backend/app/dto/docker.go

16 lines
421 B
Go
Raw Normal View History

2022-11-14 19:19:42 +08:00
package dto
type DaemonJsonUpdateByFile struct {
Path string `json:"path" validate:"required"`
File string `json:"file"`
}
type DaemonJsonConf struct {
Status string `json:"status"`
Mirrors []string `json:"registryMirrors"`
Registries []string `json:"insecureRegistries"`
Bip string `json:"bip"`
LiveRestore bool `json:"liveRestore"`
CgroupDriver string `json:"cgroupDriver"`
}