harbor/src/lib/cache
Chenyu Zhang 1a1ce634cc
Fix the process of cache layer (#17010)
fix: fix cache layer issues (#16995,#16997,#16996,#17038)

1. Load config and initialize cache layer in jobservice(for GC)
2. Cache artifact by digest the key should contains repository name
3. Repository cache cleanup error when update
4. Skip save cache when request ctx in transaction

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-07-06 16:11:53 +08:00
..
memory Fix the process of cache layer (#17010) 2022-07-06 16:11:53 +08:00
redis Fix the process of cache layer (#17010) 2022-07-06 16:11:53 +08:00
cache.go feat: add cache layer for artifact (#16739) 2022-04-25 18:01:45 +08:00
cache_test.go refactor: import go-redis to core as replacement of redigo 2022-03-15 20:44:44 +08:00
codec.go feat: implement beego session provider 2022-03-24 10:33:21 +08:00
codec_test.go feat: add cache library and enable it in config manager (#13525) 2020-12-08 17:40:03 +08:00
context.go feat: add cache library and enable it in config manager (#13525) 2020-12-08 17:40:03 +08:00
helper.go refactor: import go-redis to core as replacement of redigo 2022-03-15 20:44:44 +08:00
helper_test.go refactor: import go-redis to core as replacement of redigo 2022-03-15 20:44:44 +08:00
options.go feat: add cache library and enable it in config manager (#13525) 2020-12-08 17:40:03 +08:00
util.go feat: add cache library and enable it in config manager (#13525) 2020-12-08 17:40:03 +08:00
util_test.go feat: add cache library and enable it in config manager (#13525) 2020-12-08 17:40:03 +08:00