1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry/storage/cache
Richard 9c1dd69439 Manifest and layer soft deletion.
Implement the delete API by implementing soft delete for layers
and blobs by removing link files and updating the blob descriptor
cache.  Deletion is configurable - if it is disabled API calls
will return an unsupported error.

We invalidate the blob descriptor cache by changing the linkedBlobStore's
blobStatter to a blobDescriptorService and naming it blobAccessController.

Delete() is added throughout the relevant API to support this functionality.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-07-24 09:57:20 -07:00
..
memory Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
redis Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
cache.go Use "Size" field to describe blobs over "Length" 2015-07-17 17:07:11 -07:00
cachedblobdescriptorstore.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
suite.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00