Enable the plugin. Args: timeout (int): Timeout in seconds. Default: 0 Raises: :py:class:`docker.errors.APIError` If the server returns an error.
(self, timeout=0)
| 60 | self.reload() |
| 61 | |
| 62 | def enable(self, timeout=0): |
| 63 | """ |
| 64 | Enable the plugin. |
| 65 | |
| 66 | Args: |
| 67 | timeout (int): Timeout in seconds. Default: 0 |
| 68 | |
| 69 | Raises: |
| 70 | :py:class:`docker.errors.APIError` |
| 71 | If the server returns an error. |
| 72 | """ |
| 73 | self.client.api.enable_plugin(self.name, timeout) |
| 74 | self.reload() |
| 75 | |
| 76 | def push(self): |
| 77 | """ |
nothing calls this directly
no test coverage detected