0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/api
Catalin-George Hofnar 4170d2adbc
refactor(cache): rewrote/refactored cachedb functionality to use interface (#667)
Moved boltdb to a driver implementation for such interface
Added CreateCacheDatabaseDriver in controller
Fixed default directory creation (boltDB will only create the file, not the dir
Added coverage tests
Added example config for boltdb
Re-added caching on subpaths, rewrote CreateCacheDatabaseDriver
Fix tests
Made cacheDriver argument mandatory for NewImageStore, added more validation, added defaults
Moved cache interface to own file, removed useRelPaths from config
Got rid of cache config, refactored
Moved cache to own package and folder
Renamed + removed cache factory to backend, replaced CloudCache to RemoteCache
Moved storage constants back to storage package
moved cache interface and factory to storage package, changed remoteCache defaulting

Signed-off-by: Catalin Hofnar <catalin.hofnar@gmail.com>
2022-11-02 15:53:08 -07:00
..
config refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
constants chore: rename search route prefix (#887) 2022-10-18 20:46:06 -07:00
authn.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
authz.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
controller.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
controller_test.go refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
errors.go Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00
errors_test.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
ldap.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
regexp.go Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00
routes.go refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00
routes_test.go refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00
session.go chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00