harbor/job/imgout/parm.go
2016-04-20 14:24:17 +08:00

14 lines
296 B
Go

package imgout
type ImgOutParm struct {
Secret string `json:"secret"`
Image string `json:"image"`
Targets []*RegistryInfo `json:"targets"`
}
type RegistryInfo struct {
URL string `json:"url"`
Username string `json:"username"`
Password string `json:"password"`
}