1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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
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
pull_v2_unix.go
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
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