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)
| 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): |