MCPcopy Create free account
hub / github.com/docker/docker-py / configure

Method configure

docker/models/plugins.py:33–45  ·  view source on GitHub ↗

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.

(self, options)

Source from the content-addressed store, hash-verified

31 return self.attrs.get('Settings')
32
33 def configure(self, options):
34 """
35 Update the plugin's settings.
36
37 Args:
38 options (dict): A key-value mapping of options.
39
40 Raises:
41 :py:class:`docker.errors.APIError`
42 If the server returns an error.
43 """
44 self.client.api.configure_plugin(self.name, options)
45 self.reload()
46
47 def disable(self, force=False):
48 """

Callers

nothing calls this directly

Calls 2

configure_pluginMethod · 0.80
reloadMethod · 0.45

Tested by

no test coverage detected