moby/plugin
Anusha Ragunathan 1b41b7a4f4 Net dial to the plugin socket during enable.
When a plugin fails to start, we still incorrectly mark it as enabled.
This change verifies that we can dial to the plugin socket to confirm that
the plugin is functional and only then mark the plugin as enabled. Also,
dont delete the plugin on install, if only the enable fails.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-02-27 18:11:28 -08:00
..
v2 plugin: use pkg/errors in more places 2017-01-31 16:45:26 -08:00
backend_linux.go plugin: check errors 2017-02-15 09:35:36 +01:00
backend_unsupported.go Use distribution reference 2017-02-07 11:08:37 -08:00
blobstore.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
defs.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
manager.go Merge pull request #29742 from miaoyq/rewrite-validate-privileges 2017-02-17 10:24:11 +01:00
manager_linux.go Net dial to the plugin socket during enable. 2017-02-27 18:11:28 -08:00
manager_solaris.go Make v2/Plugin accesses safe. 2016-12-06 13:23:41 -08:00
manager_test.go Rewrite the function 'validatePrivileges' without checking order 2017-02-04 08:47:40 +08:00
manager_windows.go Make v2/Plugin accesses safe. 2016-12-06 13:23:41 -08:00
store.go Use distribution reference 2017-02-07 11:08:37 -08:00
store_test.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00