distribution/registry/proxy
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
..
scheduler format code with gofumpt 2022-11-03 22:48:20 +01:00
proxyauth.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
proxyblobstore.go Option to configure proxy cache TTL 2023-04-20 13:03:39 +08:00
proxyblobstore_test.go Option to configure proxy cache TTL 2023-04-20 13:03:39 +08:00
proxymanifeststore.go Option to configure proxy cache TTL 2023-04-20 13:03:39 +08:00
proxymanifeststore_test.go Option to configure proxy cache TTL 2023-04-20 13:03:39 +08:00
proxymetrics.go format code with gofumpt 2022-11-03 22:48:20 +01:00
proxyregistry.go Option to configure proxy cache TTL 2023-04-20 13:03:39 +08:00
proxytagservice.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
proxytagservice_test.go simplify mocks 2022-11-10 17:09:24 +01:00