distribution/registry/client
Aaron Lehmann fbdfd1ac35 Use http.NewRequestWithContext for outgoing HTTP requests
This simple change mainly affects the distribution client. By respecting
the context the caller passes in, timeouts and cancellations will work
as expected. Also, transports which rely on the context (such as tracing
transports that retrieve a span from the context) will work properly.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
2022-08-10 10:38:30 -07:00
..
auth Use http.NewRequestWithContext for outgoing HTTP requests 2022-08-10 10:38:30 -07:00
transport Use http.NewRequestWithContext() 2020-02-25 13:36:31 +01:00
blob_writer.go Use http.NewRequestWithContext for outgoing HTTP requests 2022-08-10 10:38:30 -07:00
blob_writer_test.go Use http.NewRequestWithContext for outgoing HTTP requests 2022-08-10 10:38:30 -07:00
errors.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
errors_test.go Include status code in UnexpectedHTTPResponseError 2016-03-15 09:03:56 -07:00
repository.go Use http.NewRequestWithContext for outgoing HTTP requests 2022-08-10 10:38:30 -07:00
repository_test.go Add tag delete API 2021-05-27 23:27:02 +01:00