distribution/docs
Tibor Vass 89bd48481c registry: Refactor requestfactory to use http.RoundTrippers
This patch removes the need for requestFactories and decorators
by implementing http.RoundTripper transports instead.

It refactors some challenging-to-read code.

NewSession now takes an *http.Client that can already have a
custom Transport, it will add its own auth transport by wrapping
it.

The idea is that callers of http.Client should not bother
setting custom headers for every handler but instead it should
be transparent to the callers of a same context.

This patch is needed for future refactorings of registry,
namely refactoring of the v1 client code.

Signed-off-by: Tibor Vass <tibor@docker.com>
2015-05-18 21:51:53 -04:00
..
auth.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
auth_test.go Move CLI config processing out from under registry dir 2015-04-23 10:18:38 -07:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go Fix invalid tag name 2015-05-13 14:28:52 +08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
endpoint.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
endpoint_test.go Fix some go vet errors 2015-02-02 14:53:20 -08:00
registry.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
registry_mock_test.go Merge pull request #11788 from reikani/pchoi 2015-03-26 23:55:50 -07:00
registry_test.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
service.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
session.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
session_v2.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
token.go registry: Refactor requestfactory to use http.RoundTrippers 2015-05-18 21:51:53 -04:00
types.go Remove engine.Table from docker search and fix missing field 2015-04-03 11:27:30 -07:00