0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/api
peusebiu 5494a1b8d6
fix(storage): do not open/download blobs when validating manifests (#1566)
when pushing manifests, zot will validate blobs (layers + config blob) are
present in repo, currently it opens(in case of filesystem storage) or download(
in case of cloud storage) each blob.

fixed that by adding a new method ImageStore.CheckBlobPresence() on storage
to check blobs presence without checking the cache like ImageStore.CheckBlob() method does.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-07-06 10:33:36 -07:00
..
config fix: changing default numWorkers, making it customizable and refactoring scheduler (#1563) 2023-07-04 11:03:29 +03:00
constants feat(routes): move the cors handler from /v2 to only where it's needed (#1457) 2023-05-19 21:22:51 -07:00
errors refactor: move helper functions under common, in usage specific named files (#1540) 2023-06-22 14:29:45 +03:00
authn.go refactor: move helper functions under common, in usage specific named files (#1540) 2023-06-22 14:29:45 +03:00
authz.go refactor: split AuthZ mdw in 2 different parts, each for a specific purpose (#1542) 2023-07-05 09:37:52 -07:00
controller.go feat: upload certificates and public keys for verifying signatures (#1485) 2023-07-06 14:57:59 +03:00
controller_test.go fix(storage): do not open/download blobs when validating manifests (#1566) 2023-07-06 10:33:36 -07:00
ldap.go feat(groups)!: added "groups" mechanism for authZ (#1123) 2023-03-08 11:47:15 -08:00
routes.go refactor: split AuthZ mdw in 2 different parts, each for a specific purpose (#1542) 2023-07-05 09:37:52 -07:00
routes_test.go ci(disk usage): disk related fixes and improvements (#1524) 2023-06-15 15:07:28 -07:00
session.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00