0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/storage
peusebiu 6222dae1f0
feat(scheduler): gracefully shutdown (#1951)
wait for workers to finish before exiting

should fix tests reporting they couldn't remove rootDir because it's being
written by tasks

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-11-24 00:40:10 -08:00
..
cache refactor(log): replace panics with log fatal or log panic functions (#1723) 2023-11-24 00:38:36 -08:00
common feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
constants feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
gc feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
imagestore feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
local feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
s3 feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
types feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
cache.go refactor(log): replace panics with log fatal or log panic functions (#1723) 2023-11-24 00:38:36 -08:00
cache_benchmark_test.go fix: tests refactoring (#1950) 2023-10-26 11:20:39 +03:00
cache_test.go refactor(log): replace panics with log fatal or log panic functions (#1723) 2023-11-24 00:38:36 -08:00
README.md refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
scrub.go feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
scrub_test.go feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00
storage.go refactor(log): replace panics with log fatal or log panic functions (#1723) 2023-11-24 00:38:36 -08:00
storage_controller.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
storage_test.go feat(scheduler): gracefully shutdown (#1951) 2023-11-24 00:40:10 -08:00

zot currently supports two types of underlying filesystems:

  1. local - a locally mounted filesystem

  2. remote - a remote filesystem such as AWS S3

The cache database can be configured independently of storage. Right now, zot supports the following database implementations:

  1. BoltDB - local storage. Set the "cloudCache" field in the config file to false. Example: examples/config-boltdb.json