0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/test/mocks
peusebiu 168d21da1e
fix(storage): deleting manifests with identical digests (#951)
Suppose we push two identical manifests (sharing same digest) but with
different tags, then deleting by digest should throw an error otherwise
we end up deleting all image tags (with gc) or dangling references
(without gc)

This behaviour is controlled via Authorization, added a new policy
action named detectManifestsCollision which enables this behaviour

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>

Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-11-18 09:35:28 -08:00
..
cve_mock.go Include image vulnerability information in ImageSummary (#798) 2022-09-28 11:39:54 -07:00
image_store_mock.go fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
lint_mock.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
oci_mock.go refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00
storage_driver_mock.go Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00