9f9a7f230b
Storage drivers can implement a method called URLFor which can return a direct url for a given path. The functionality allows the registry to direct clients to download content directly from the backend storage. This is commonly used with s3 and cloudfront. Under certain conditions, such as when the registry is not local to the backend, these redirects can hurt performance and waste incoming bandwidth on pulls. This feature addition allows one to disable this feature, if required. Signed-off-by: Stephen J Day <stephen.day@docker.com> Conflicts: configuration/configuration.go registry/handlers/app.go registry/storage/catalog_test.go registry/storage/manifeststore_test.go registry/storage/registry.go |
||
---|---|---|
.. | ||
bridge.go | ||
bridge_test.go | ||
endpoint.go | ||
event.go | ||
event_test.go | ||
http.go | ||
http_test.go | ||
listener.go | ||
listener_test.go | ||
metrics.go | ||
sinks.go | ||
sinks_test.go |