1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/plugin
Anusha Ragunathan 27a55fba28 Reorganize plugin package into sub packages.
Split plugin package into `store` and `v2/plugin`. Now the functionality
is clearly delineated:
- Manager: Manages the global state of the plugin sub-system.
- PluginStore: Manages a collection of plugins (in memory and on-disk)
- Plugin: Manages the single plugin unit.

This also facilitates splitting the global PluginManager lock into:
- PluginManager lock to protect global states.
- PluginStore lock to protect store states.
- Plugin lock to protect individual plugin states.

Importing "github.com/docker/docker/plugin/store" will provide access
to plugins and has lesser dependencies when compared to importing the
original monolithic `plugin package`.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-08-27 11:08:08 -07:00
..
distribution Make docker pull detect plugin content and error out. 2016-08-20 12:54:35 -07:00
store Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00
v2 Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00
backend.go Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00
manager.go Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00
manager_linux.go Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00
manager_windows.go Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00