mirror of
https://github.com/moby/moby.git
synced 2026-08-02 22:26:52 +00:00
While it is imported by both the client and the daemon, values of the PluginCreateOptions struct are not marshaled or unmarshaled. The only field is mapped to and from an HTTP query parameter. Furthermore, this options type is the odd one out: the daemon uses types in api/types/backend to pass options around for the other plugin lifecycle operations. Move the PluginCreateOptions type into client, and define a new PluginCreateConfig struct in api/types/backend for the daemon to use alongside PluginRmConfig, PluginEnableConfig and PluginDisableConfig. Signed-off-by: Cory Snider <csnider@mirantis.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
624 B
624 B