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> |
||
|---|---|---|
| .. | ||
| auth | ||
| transport | ||
| blob_writer.go | ||
| blob_writer_test.go | ||
| errors.go | ||
| repository.go | ||
| repository_test.go | ||