feat: 完成镜像仓库管理

This commit is contained in:
ssongliu
2022-10-09 16:17:15 +08:00
committed by ssongliu
parent a79ba71ef4
commit dcbf92ac12
22 changed files with 848 additions and 50 deletions

View File

@@ -0,0 +1,12 @@
package model
type ImageRepo struct {
BaseModel
Name string `gorm:"type:varchar(64);not null" json:"name"`
DownloadUrl string `gorm:"type:varchar(256)" json:"downloadUrl"`
RepoName string `gorm:"type:varchar(256)" json:"repoName"`
Username string `gorm:"type:varchar(256)" json:"username"`
Password string `gorm:"type:varchar(256)" json:"password"`
Auth bool `gorm:"type:varchar(256)" json:"auth"`
}