MCPcopy Index your code
hub / github.com/docker/docker-py / inspect_plugin

Method inspect_plugin

docker/api/plugin.py:91–103  ·  view source on GitHub ↗

Retrieve plugin metadata. Args: name (string): The name of the plugin. The ``:latest`` tag is optional, and is the default if omitted. Returns: A dict containing plugin info

(self, name)

Source from the content-addressed store, hash-verified

89
90 @utils.minimum_version('1.25')
91 def inspect_plugin(self, name):
92 """
93 Retrieve plugin metadata.
94
95 Args:
96 name (string): The name of the plugin. The ``:latest`` tag is
97 optional, and is the default if omitted.
98
99 Returns:
100 A dict containing plugin info
101 """
102 url = self._url('/plugins/{0}/json', name)
103 return self._result(self._get(url), True)
104
105 @utils.minimum_version('1.25')
106 def pull_plugin(self, remote, privileges, name=None):

Callers 10

test_enable_pluginMethod · 0.80
test_disable_pluginMethod · 0.80
test_inspect_pluginMethod · 0.80
test_configure_pluginMethod · 0.80
test_install_pluginMethod · 0.80
test_upgrade_pluginMethod · 0.80
test_create_pluginMethod · 0.80
getMethod · 0.80

Calls 3

_urlMethod · 0.80
_resultMethod · 0.80
_getMethod · 0.80

Tested by 9

test_enable_pluginMethod · 0.64
test_disable_pluginMethod · 0.64
test_inspect_pluginMethod · 0.64
test_configure_pluginMethod · 0.64
test_install_pluginMethod · 0.64
test_upgrade_pluginMethod · 0.64
test_create_pluginMethod · 0.64