Victor Vieux
e6b3b04150
do not leak dockerclient
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-03-18 13:48:09 -07:00
Victor Vieux
b4a88ad622
Add match in images.go
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-17 17:41:46 -07:00
Victor Vieux
649b6cf577
add docker rmi
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-17 17:41:46 -07:00
Victor Vieux
0e7f970d4d
use a single callback
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-06 11:22:14 -08:00
Victor Vieux
7ad8a3705f
add support for pull and rmi
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 17:09:08 -08:00
Victor Vieux
47e03120f5
remove Nodes(), add Images() and Images()
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
fa8a06685b
remove events from the cluster interface
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
6348fdd849
move discovery out of the cluster interface
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
ce98e66c63
cluster API instead of scheduler API
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
126f550317
add SchedulerOptions
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
dd537dbe74
clean cut cluster - scheduler
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
98a21bd373
initial mesos.go file full fo TODOs
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
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
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
Andrea Luzzardi
9ed597b5eb
Do not fail when destroying a container if it's not found in the store.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-01-27 12:13:58 -08: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
2e968d7800
add support for history, inspect for images and improve inspect for containers
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-22 00:49:02 +00:00
Andrea Luzzardi
562febe2f9
state: Store container ID in requested state.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-01-19 13:25:27 -08:00
Andrea Luzzardi
6410f9ad35
Store requested state persistently.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-15 23:10:50 +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
d57eca7bc9
move overcommit outside of the strategies
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:33:49 +00: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
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
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
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
1f74cb5809
remove races
2014-11-21 01:36:30 +00:00
Victor Vieux
80cc51c9be
fix heartbeat
2014-11-20 23:56:42 +00:00
Victor Vieux
0f507fb783
fix package name
2014-11-18 21:40:38 +00:00