Disable the plugin. Args: force (bool): Force disable. Default: False Raises: :py:class:`docker.errors.APIError` If the server returns an error.
(self, force=False)
| 45 | self.reload() |
| 46 | |
| 47 | def disable(self, force=False): |
| 48 | """ |
| 49 | Disable the plugin. |
| 50 | |
| 51 | Args: |
| 52 | force (bool): Force disable. Default: False |
| 53 | |
| 54 | Raises: |
| 55 | :py:class:`docker.errors.APIError` |
| 56 | If the server returns an error. |
| 57 | """ |
| 58 | |
| 59 | self.client.api.disable_plugin(self.name, force) |
| 60 | self.reload() |
| 61 | |
| 62 | def enable(self, timeout=0): |
| 63 | """ |
nothing calls this directly
no test coverage detected