Rajdeep Dua
46390b005f
Added TestCase for ContainsEntry
...
Signed-off-by: Rajdeep Dua <dua_rajdeep@yahoo.com>
2015-05-26 03:29:59 -07:00
Andrea Luzzardi
08dc3c7c7b
discovery: Add the Entries.Diff helper.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-18 13:54:51 -07:00
Andrea Luzzardi
2106966d54
discovery: Watch tests for file and some other tests.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-18 13:38:14 -07:00
Andrea Luzzardi
97984881c3
discovery: New channel based API.
...
- Watch() issues updates by channel rather than by callback
- Fetch() is gone
- Watch() can be stopped at any time by closing the stop channel
- Watch() is now resilient to errors and will try over and over
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-18 13:38:13 -07:00
Ferran Rodenas
cecdd7df02
Ignore empty addresses when creating discovery entries
...
Signed-off-by: Ferran Rodenas <frodenas@gmail.com>
2015-02-24 22:10:31 -08:00
Victor Vieux
3df8bbed61
refactor createEntries
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-10 02:25:38 +00:00
Victor Vieux
ba01634743
replace discovery.Node by discovery.Entry
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-10 01:58:43 +00:00
Victor Vieux
13b96828f2
update tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-24 01:58:51 +00:00
Victor Vieux
1581dcff6c
support hostname without nodes://
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-23 10:42:20 -08:00