Andrea Luzzardi
67e347fa1a
Move container name matching logic into Node.
...
- Add `Node.Container()`
- Make `Cluster.Container()` use `Node.Container()`
- Added missing locks and converted existing ones to RLock.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-02-10 13:25:37 -08:00
Pierre Wacrenier
fc58587315
fix tests that were not compiling or panicking
...
Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
2015-01-25 01:42:49 +01:00
Victor Vieux
02cc59840f
Revert "Fixes panic when ports are not specified"
...
This reverts commit a916f9cde0
.
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-24 01:42:15 +00:00
Brian Goff
a916f9cde0
Fixes panic when ports are not specified
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-01-23 15:56:14 -05:00
Victor Vieux
5564894744
add images cache
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-16 00:10:36 +00:00
Victor Vieux
f0e9fb032d
prevent undercommit for now
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:57:13 +00:00
Victor Vieux
45ea947e0e
OverCommit -> Usable
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:40:55 +00:00
Victor Vieux
d57eca7bc9
move overcommit outside of the strategies
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:33:49 +00:00
mountkin
509dcd362f
add test cases for node.Create method
...
Signed-off-by: mountkin <mountkin@gmail.com>
2015-01-07 12:43:13 +08:00
Victor Vieux
495080fc80
update tests because of dockerclient last update
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-11 01:13:47 +00:00
Victor Vieux
c6815ee1fe
add test and remove unused funcs
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-09 01:39:39 +00:00
Victor Vieux
d1d8bd5356
add a few tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-09 01:23:02 +00:00
Andrea Luzzardi
496377d998
Node: Refuse to connect to unsupported Docker engine versions.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-05 14:59:40 -08:00
Victor Vieux
1f74cb5809
remove races
2014-11-21 01:36:30 +00:00
Andrea Luzzardi
dacb3e2ef1
Fix tests for the NewNode API changes.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-20 15:56:12 -08:00
Victor Vieux
8293b09a15
fix cpus
2014-11-20 01:15:22 +00:00
Victor Vieux
ec06513f48
implement refresh of only one container
2014-11-19 22:29:34 +00:00
Victor Vieux
de2462c666
fix test
2014-11-19 01:11:36 +00:00
Victor Vieux
45220c0c32
update dockerclient
2014-11-18 23:50:44 +00:00
Victor Vieux
0f507fb783
fix package name
2014-11-18 21:40:38 +00:00