A plugin on the server.
Method | __repr__ |
Undocumented |
Method | configure |
Update the plugin's settings. |
Method | disable |
Disable the plugin. |
Method | enable |
Enable the plugin. |
Method | push |
Push the plugin to a remote registry. |
Method | remove |
Remove the plugin from the server. |
Method | upgrade |
Upgrade the plugin. |
Property | enabled |
Whether the plugin is enabled. |
Property | name |
The plugin's name. |
Property | settings |
A dictionary representing the plugin's configuration. |
Inherited from Model
:
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | reload |
Load this object from the server again and update ``attrs`` with the new data. |
Class Variable | id |
Undocumented |
Instance Variable | attrs |
Undocumented |
Instance Variable | client |
Undocumented |
Instance Variable | collection |
Undocumented |
Property | id |
The ID of the object. |
Property | short |
The ID of the object, truncated to 12 characters. |
Update the plugin's settings. Args: options (dict): A key-value mapping of options. Raises: :py:class:`docker.errors.APIError` If the server returns an error.
Disable the plugin. Args: force (bool): Force disable. Default: False Raises: :py:class:`docker.errors.APIError` If the server returns an error.
Enable the plugin. Args: timeout (int): Timeout in seconds. Default: 0 Raises: :py:class:`docker.errors.APIError` If the server returns an error.
Push the plugin to a remote registry. Returns: A dict iterator streaming the status of the upload. Raises: :py:class:`docker.errors.APIError` If the server returns an error.
Remove the plugin from the server. Args: force (bool): Remove even if the plugin is enabled. Default: False Raises: :py:class:`docker.errors.APIError` If the server returns an error.