1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry
Cory Snider 868faeec67 registry: unexport auth-related context utilities
The specifics of how the authorization for a request is propagated
through the registry app are private implementation details. Hide those
details from outsiders so they can be changed as needed without fear of
breaking third-party code. Move the utilities for attaching a request's
authorization status to its context and retrieving it from the context
into the registry/handlers package as unexported symbols.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-10-27 10:58:37 -04:00
..
api registry/api/errcode: split Register to internal / exported 2023-09-04 18:03:00 +02:00
auth registry: unexport auth-related context utilities 2023-10-27 10:58:37 -04:00
handlers registry: unexport auth-related context utilities 2023-10-27 10:58:37 -04:00
listener Improve socket-activation message 2023-09-20 10:31:02 -07:00
middleware Merge pull request #2752 from davidswu/registry-driver-middleware 2023-06-21 10:06:13 -07:00
proxy Move context package internal 2023-10-27 10:58:37 -04:00
storage Extract request utilities into its own package 2023-10-27 10:58:37 -04:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry_test.go Move context package internal 2023-10-27 10:58:37 -04:00
registry.go Move context package internal 2023-10-27 10:58:37 -04:00
root.go Move context package internal 2023-10-27 10:58:37 -04:00