moby--moby/distribution
Vincent Demeester 636c276f67
Add Unit test to daemon.SearchRegistryForImages…
… and refactor a little bit some daemon on the way.

- Move `SearchRegistryForImages` to a new file (`daemon/search.go`) as
  `daemon.go` is getting pretty big.
- `registry.Service` is now an interface (allowing us to decouple it a
  little bit and thus unit test easily).
- Add some unit test for `SearchRegistryForImages`.
- Use UniqueExactMatch for search filters
- And use empty restore id for now in client.ContainerStart.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-24 11:07:11 +02:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Safer file io for configuration files 2016-04-21 11:31:15 -07:00
xfer Remove mountedLayer Mount and Unmount 2016-05-23 16:52:58 -07:00
errors.go distribution: errors: do not retry on too many requests from registry 2016-05-04 18:57:55 +02:00
pull.go Add Unit test to daemon.SearchRegistryForImages… 2016-05-24 11:07:11 +02:00
pull_v1.go Merge pull request #21676 from aaronlehmann/tmpfile-close 2016-03-31 11:49:37 +02:00
pull_v2.go Vendor distribution to correct config blob media type in schema2 manifest 2016-04-11 17:29:17 -07:00
pull_v2_test.go Windows CI Unit Test: Distribution turn off failing tests 2016-02-28 20:02:51 -08:00
pull_v2_unix.go Add distribution package 2015-11-24 09:40:24 -08:00
pull_v2_windows.go Windows: Support non-base-layered images 2016-04-07 17:52:26 -07:00
push.go Add Unit test to daemon.SearchRegistryForImages… 2016-05-24 11:07:11 +02:00
push_v1.go Pass upstream client's user agent through to registry on operations beyond pulls 2016-03-21 14:31:47 -07:00
push_v2.go Vendor distribution to correct config blob media type in schema2 manifest 2016-04-11 17:29:17 -07:00
registry.go Respect ALL_PROXY during registry operations 2016-04-25 15:08:30 -04:00
registry_unit_test.go Change APIEndpoint to contain the URL in a parsed format 2016-02-17 17:48:15 -08:00