0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/pkg
Ramkumar Chinchani 324a517ea3 gc: add a policy to skip garbage collecting new blobs
We perform inline garbage collection of orphan blobs. However, the
dist-spec poses a problem because blobs begin their life as orphan blobs
and then a manifest is add which refers to these blobs.

We use umoci's GC() to perform garbage collection and policy support
has been added recently which can control whether a blob can be skipped
for GC.

In this patch, we use a time-based policy to skip blobs.
2020-07-06 15:52:35 -07:00
..
api gc: add a policy to skip garbage collecting new blobs 2020-07-06 15:52:35 -07:00
cli cli: add config and images command 2020-07-02 14:30:35 -04:00
compliance Upgraded build pipeline 2020-06-25 23:43:31 -07:00
log Upgraded build pipeline 2020-06-25 23:43:31 -07:00
storage gc: add a policy to skip garbage collecting new blobs 2020-07-06 15:52:35 -07:00