harbor/job/replication/parm.go

14 lines
301 B
Go
Raw Normal View History

2016-05-18 12:17:40 +02:00
package replication
2016-04-20 08:24:17 +02:00
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"`
}