Files
docker-cli/components/engine/daemon
Brian Goff 6dcc37964b Refcount graphdriver plugins properly
Adds 2 new methods to v2 plugin `Acquire` and `Release` which allow
refcounting directly at the plugin level instead of just the store.
Since a graphdriver is initialized exactly once, and is really managed
by a separate object, it didn't really seem right to call
`getter.Get()` to refcount graphdriver plugins.
On shutdown it was particularly weird where we'd either need to keep a
driver reference in daemon, or keep a reference to the pluggin getter in
the layer store, and even then still store extra details on if the
graphdriver is a plugin or not.

Instead the plugin proxy itself will handle calling the neccessary
refcounting methods directly on the plugin object.

Also adds a new interface in `plugingetter` to account for these new
functions which are not going to be implemented by v1 plugins.

Changes terms `plugingetter.CREATE` and `plugingetter.REMOVE` to
`ACQUIRE` and `RELEASE` respectively, which seems to be better
adjectives for what we're doing.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: f29bbd16f5d2bb82d815ea59f8ef85fe59384c89
Component: engine
2016-12-09 19:46:28 -05:00
..
2016-11-14 15:15:09 -05:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-10-28 11:06:54 -07:00
2016-10-25 06:43:54 +00:00
2016-11-22 12:49:38 +00:00
2016-11-22 12:49:38 +00:00
2016-11-16 13:38:45 -08:00
2016-11-30 10:11:42 -08:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-17 13:10:48 -05:00
2016-11-22 12:49:38 +00:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-11-08 17:41:56 -08:00
2016-11-22 12:49:38 +00:00
2016-10-27 10:34:38 -07:00
2016-10-27 10:34:38 -07:00
2016-11-18 18:32:02 -08:00
2016-09-07 11:05:58 -07:00
2016-10-06 17:12:17 -07:00
2016-09-07 11:05:58 -07:00
2016-10-20 17:06:11 +02:00
2016-06-27 10:23:37 -07:00
2016-06-27 10:23:37 -07:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-10-06 22:48:53 -03:00
2016-09-07 11:05:58 -07:00
2016-11-23 09:28:13 +08:00
2016-10-27 10:34:38 -07:00
2016-11-14 15:15:09 -05:00
2016-09-13 09:55:35 -04:00
2016-11-28 16:54:56 -08:00
2016-11-22 14:32:07 -08:00
2016-11-04 13:38:50 -07:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-16 11:56:15 -07:00
2016-09-16 11:56:15 -07:00
2016-09-21 12:36:52 +02:00
2016-09-16 11:56:15 -07:00
2016-11-22 12:49:38 +00:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-11-21 19:56:01 +08:00
2016-11-22 12:49:38 +00:00