harbor/src/pkg/artifactrash
Wang Yan 948d45604c Revise the GC job flow,
1, set harbor to readonly
2, select the candidate artifacts from Harbor DB.
3, call registry API(--delete-untagged=false) to delete manifest bases on the results of #2
4, clean keys of redis DB of registry, clean artifact trash and untagged from DB.
5, roll back readonly.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-24 18:29:55 +08:00
..
dao Revise the GC job flow, 2020-02-24 18:29:55 +08:00
model add artifact trash manager 2020-02-19 14:52:58 +08:00
manager_test.go Revise the GC job flow, 2020-02-24 18:29:55 +08:00
manager.go Revise the GC job flow, 2020-02-24 18:29:55 +08:00