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
xfer
errors.go
pull.go Add Unit test to daemon.SearchRegistryForImages… 2016-05-24 11:07:11 +02:00
pull_v1.go
pull_v2.go
pull_v2_test.go
pull_v2_unix.go
pull_v2_windows.go
push.go Add Unit test to daemon.SearchRegistryForImages… 2016-05-24 11:07:11 +02:00
push_v1.go
push_v2.go
registry.go
registry_unit_test.go