Pierre Wacrenier
f7735d629b
More canonical Event construction on node event handling
...
Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
2015-01-13 01:57:29 +01:00
Andrea Luzzardi
94cf009e46
Container: Make Node public instead of exposing it through Node().
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-01-12 08:14:11 -08:00
Andrea Luzzardi
322c5476e9
Merge pull request #222 from mountkin/master
...
make use of the "pullImage" parameter of node.Create method
2015-01-07 14:06:49 +01: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
9c5896f65c
Merge pull request #218 from chanwit/check-dup-id
...
Proposal: report error when two Docker's IDs are duplicated
2015-01-06 17:58:21 -08:00
mountkin
e66a6b2793
make use of the "pullImage" parameter of node.Create method
...
Signed-off-by: mountkin <mountkin@gmail.com>
2015-01-06 17:46:37 +08:00
Chanwit Kaewkasi
93026e166a
adjust error report to be a single entry
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-06 09:08:55 +07:00
Chanwit Kaewkasi
5f6a257e0c
report error when two Docker's IDs are duplicated
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-05 23:54:37 +07:00
Victor Vieux
4350b44b56
refactor code
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-31 00:19:13 +00:00
Victor Vieux
aefe450036
add exec support
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-31 00:19:13 +00:00
Andrea Luzzardi
7effd27a0e
Events: Embed the entire Node object rather than its attributes.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-17 17:54:07 -08:00
Andrea Luzzardi
88bff68a5a
Merge pull request #167 from vieux/update_watch
...
watch take a callback
2014-12-12 17:10:38 -08:00
Victor Vieux
88849295ed
remove useless functs
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-13 00:23:52 +00:00
Victor Vieux
f2ca549f46
cleaner callback
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-12 22:49:20 +00:00
Andrea Luzzardi
db32b29a79
Cluster: Fix empty name container lookup.
...
Fixed a bug which caused Swarm to issue an error when creating more than
one container with no name.
Added tests for container lookups.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-10 18:06:02 -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
Andrea Luzzardi
2e7d972755
Cluster: Match NodeName/ContainerId as well as NodeId/ContainerId.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-03 15:10:11 -08:00
Victor Vieux
42909c9daf
update for dockerclient
2014-12-03 12:28:05 +00:00
Victor Vieux
0872d4f549
add test
2014-11-25 01:43:01 +00:00
Andrea Luzzardi
24985d2e4f
Node: API to add/remove/cleanup the internal containers state.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 16:10:49 -08:00
Andrea Luzzardi
7a07b63104
Node: Basic health checking.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 16:10:48 -08:00
Andrea Luzzardi
622eb9339e
Node: Apply a request timeout when communicating with nodes.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 16:10:48 -08:00
Victor Vieux
3e930e0e9c
add host labels
2014-11-21 23:33:18 +00:00
Victor Vieux
f502698aed
add more infos to events
2014-11-21 22:37:43 +00:00
Victor Vieux
1f74cb5809
remove races
2014-11-21 01:36:30 +00:00
Victor Vieux
80cc51c9be
fix heartbeat
2014-11-20 23:56:42 +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
8f708d778d
improve logs
2014-11-20 22:45:38 +00:00
Victor Vieux
20319a5049
use ID and names
2014-11-20 19:03:55 +00:00
Victor Vieux
e63e0f3956
add kill
2014-11-20 18:52:15 +00:00
Victor Vieux
9bf438ec64
int -> int64
2014-11-20 01:37:15 +00: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
9e8ee985fb
Merge branch 'master' of github.com:docker/libcluster
2014-11-19 01:09:23 +00:00
Victor Vieux
2905b00d07
add tests
2014-11-19 01:09:18 +00:00
Andrea Luzzardi
a40ebef79e
Rename "graphdriver" to "storagedriver".
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-18 16:32:44 -08:00
Andrea Luzzardi
8dbb9aeeb1
Removed debug log when refreshing containers after creation
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-18 16:04:13 -08:00
Victor Vieux
45220c0c32
update dockerclient
2014-11-18 23:50:44 +00:00
Victor Vieux
07383edd47
improve locks
2014-11-18 23:04:11 +00:00
Victor Vieux
0f507fb783
fix package name
2014-11-18 21:40:38 +00:00