0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-27 23:01:43 -05:00
zot/pkg/storage
Ramkumar Chinchani c0f93caacb
feat(artifact): add OCI references support (#936)
Thanks @jdolitsky et al for kicking off these changes at:
https://github.com/oci-playground/zot/commits/main

Thanks @sudo-bmitch for reviewing the patch

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-11-08 00:38:16 -08:00
..
cache refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
constants feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
local feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
s3 feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
cache.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
cache_test.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
common.go feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
common_test.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
lint-interface.go image level lint: enforce manifest mandatory annotations 2022-07-27 11:48:04 +03:00
README.md refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
scrub.go refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00
scrub_test.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
storage.go feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
storage_controller.go storage: Move common code in helper functions, closes #730 (#820) 2022-09-30 10:35:16 -07:00
storage_test.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07: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