0f7a65e59b
- The `Version` field was not used for any purpose, other than a debug log - The `X-Docker-Registry-Version` header was part of the registry v1 spec, however, as we're not using the `Version` field, we don't need the header for anything. - The `X-Docker-Registry-Config` header was only set by the mock registry; there's no code consuming it, so we don't need to mock it (even if an actual v1 registry / search API would return it). It's also worth noting that we never call the `_ping` endpoint when using Docker Hub's search API, and Docker Hub does not even implement the `_ping` endpoint; curl -fsSL https://index.docker.io/_ping | head -n 4 <!DOCTYPE html> <html lang="en"> <head> <title>Docker</title> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
resumable | ||
auth.go | ||
auth_test.go | ||
config.go | ||
config_test.go | ||
config_unix.go | ||
config_windows.go | ||
errors.go | ||
registry.go | ||
registry_mock_test.go | ||
registry_test.go | ||
search.go | ||
search_endpoint_v1.go | ||
search_endpoint_v1_test.go | ||
search_session.go | ||
search_test.go | ||
service.go | ||
service_v2.go | ||
types.go |