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 b80deb9927
refactor(storage): refactor storage into a single ImageStore (#1656)
unified both local and s3 ImageStore logic into a single ImageStore
added a new driver interface for common file/dirs manipulations
to be implemented by different storage types

refactor(gc): drop umoci dependency, implemented internal gc

added retentionDelay config option that specifies
the garbage collect delay for images without tags

this will also clean manifests which are part of an index image
(multiarch) that no longer exist.

fix(dedupe): skip blobs under .sync/ directory

if startup dedupe is running while also syncing is running
ignore blobs under sync's temporary storage

fix(storage): do not allow image indexes modifications

when deleting a manifest verify that it is not part of a multiarch image
and throw a MethodNotAllowed error to the client if it is.
we don't want to modify multiarch images

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-09-01 10:54:39 -07:00
..
config refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
constants refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
errors feat: propagate detailed error msgs to client (OCI dist-spec format) (#1681) 2023-08-23 20:59:52 +03:00
authn.go feat(apikey): added route to list user api keys (#1708) 2023-08-29 09:38:38 -07:00
authn_test.go feat(apikey): added route to list user api keys (#1708) 2023-08-29 09:38:38 -07:00
authz.go fix(authn): fix several issues with authn, closes #1632 (#1633) 2023-07-19 09:27:04 -07:00
controller.go fix: remove inline GC and schedule a background task instead (#1610) 2023-08-07 12:55:19 -07:00
controller_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
ldap.go feat(groups)!: added "groups" mechanism for authZ (#1123) 2023-03-08 11:47:15 -08:00
routes.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
routes_test.go feat(apikey): added route to list user api keys (#1708) 2023-08-29 09:38:38 -07:00
session.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00