1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/internal/dcontext
Cory Snider d0f5aa670b Move context package internal
Our context package predates the establishment of current best practices
regarding context usage and it shows. It encourages bad practices such
as using contexts to propagate non-request-scoped values like the
application version and using string-typed keys for context values. Move
the package internal to remove it from the API surface of
distribution/v3@v3.0.0 so we are free to iterate on it without being
constrained by compatibility.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-10-27 10:58:37 -04:00
..
context.go Move context package internal 2023-10-27 10:58:37 -04:00
doc.go Move context package internal 2023-10-27 10:58:37 -04:00
http_test.go Move context package internal 2023-10-27 10:58:37 -04:00
http.go Move context package internal 2023-10-27 10:58:37 -04:00
logger.go Move context package internal 2023-10-27 10:58:37 -04:00
trace_test.go Move context package internal 2023-10-27 10:58:37 -04:00
trace.go Move context package internal 2023-10-27 10:58:37 -04:00
util.go Move context package internal 2023-10-27 10:58:37 -04:00
version_test.go Move context package internal 2023-10-27 10:58:37 -04:00
version.go Move context package internal 2023-10-27 10:58:37 -04:00