distribution/registry
Manish Tomar 8fe4ca4038 Option to configure proxy cache TTL
Currently when registry is run as proxy it tries to cleanup unused blobs
from its cache after 7 days which is hard-coded. This PR makes that
value configurable.

Co-authored-by: Shiming Zhang <wzshiming@foxmail.com>
Co-authored-by: Manish Tomar <manish.tomar@docker.com>
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2023-04-20 13:03:39 +08:00
..
api Fuzzing: Rewrite existing fuzzers to native go fuzzers 2022-11-12 17:30:10 +00:00
auth replace strings.Split(N) for strings.Cut() or alternatives 2022-11-10 22:38:12 +01:00
client Merge pull request #3788 from thaJeztah/deprecate_ReadSeekCloser 2022-11-18 08:53:15 +00:00
handlers Log username on successful requests 2023-01-30 09:32:39 -08:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware format code with gofumpt 2022-11-03 22:48:20 +01:00
proxy Option to configure proxy cache TTL 2023-04-20 13:03:39 +08:00
storage Merge pull request #3763 from distribution/multipart-upload-empty-files 2023-03-27 10:18:44 +01:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Merge pull request #3772 from thaJeztah/registry_logging_simplify 2022-11-08 09:17:20 +01:00
registry_test.go replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
root.go format code with gofumpt 2022-11-03 22:48:20 +01:00