[Cmii][ImageSync] - 优化处理逻辑
This commit is contained in:
@@ -19,7 +19,7 @@ const DirectPushDeployHarborHost = "36.134.71.138"
|
||||
type ImageSyncEntity struct {
|
||||
ProjectName string
|
||||
ProjectVersion string
|
||||
DirectHarborHost string
|
||||
DirectHarborHost string //此参数决定是否能够直连目标主机,如果有则代表直连,可以直接推送景象
|
||||
PushToDemoMinio bool
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ type ImageSyncResult struct {
|
||||
AllCmiiImageNameList []string
|
||||
}
|
||||
|
||||
// PullFromEntityAndSyncConditionally 根据ImageSyncEntity拉取特定的镜像,然后上传到特定的目标机器
|
||||
func (sync ImageSyncEntity) PullFromEntityAndSyncConditionally() (imageSyncResult ImageSyncResult) {
|
||||
|
||||
var realCmiiImageList []string
|
||||
|
||||
Reference in New Issue
Block a user