0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/cli
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
..
cmdflags refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
cli.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
client.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
client_elevated_test.go refactor: Cleanup/simplify testcases in /pkg/cli (#1103) 2023-01-16 21:52:50 -08:00
client_test.go test(refactor): refactor tests that use zot-test to use smaller images (#1690) 2023-08-18 11:46:11 +03:00
client_utils_test.go refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
config_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
config_cmd_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
config_reloader.go feat: signal handling (#1651) 2023-07-25 10:39:13 -07:00
config_reloader_test.go fix(test): TestConfigReloader, wait for trivy db download (#1543) 2023-07-06 14:17:49 +03:00
cve_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
cve_cmd_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
cves_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
cves_sub_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
discover.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
extensions_test.go feat(mgmt): mgmt extention no longer depends on UI being enabled (#1728) 2023-08-26 13:32:41 -07:00
gql_queries.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
gql_queries_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
image_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
image_cmd_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
images_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
images_sub_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
minimal.go build(tags): remove redundant build tag ui_base (#857) 2022-10-10 15:05:55 +03:00
repos_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
repos_sub_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
repos_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
root.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
root_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
search_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
search_cmd_referrers_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
search_cmd_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
search_functions.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
search_functions_test.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
search_sub_cmd.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
searcher.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
service.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
stress_test.go refactor: Cleanup/simplify testcases in /pkg/cli (#1103) 2023-01-16 21:52:50 -08:00