diff options
Diffstat (limited to 'docker/api')
-rw-r--r-- | docker/api/build.py | 4 | ||||
-rw-r--r-- | docker/api/plugin.py | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docker/api/build.py b/docker/api/build.py index 25f271a..9ff2dfb 100644 --- a/docker/api/build.py +++ b/docker/api/build.py @@ -93,8 +93,8 @@ class BuildApiMixin(object): shmsize (int): Size of `/dev/shm` in bytes. The size must be greater than 0. If omitted the system uses 64MB labels (dict): A dictionary of labels to set on the image - cache_from (list): A list of images used for build cache - resolution + cache_from (:py:class:`list`): A list of images used for build + cache resolution target (str): Name of the build-stage to build in a multi-stage Dockerfile network_mode (str): networking mode for the run commands during diff --git a/docker/api/plugin.py b/docker/api/plugin.py index 87520cc..73f1852 100644 --- a/docker/api/plugin.py +++ b/docker/api/plugin.py @@ -110,8 +110,8 @@ class PluginApiMixin(object): remote (string): Remote reference for the plugin to install. The ``:latest`` tag is optional, and is the default if omitted. - privileges (list): A list of privileges the user consents to - grant to the plugin. Can be retrieved using + privileges (:py:class:`list`): A list of privileges the user + consents to grant to the plugin. Can be retrieved using :py:meth:`~plugin_privileges`. name (string): Local name for the pulled plugin. The ``:latest`` tag is optional, and is the default if omitted. @@ -225,8 +225,8 @@ class PluginApiMixin(object): tag is optional and is the default if omitted. remote (string): Remote reference to upgrade to. The ``:latest`` tag is optional and is the default if omitted. - privileges (list): A list of privileges the user consents to - grant to the plugin. Can be retrieved using + privileges (:py:class:`list`): A list of privileges the user + consents to grant to the plugin. Can be retrieved using :py:meth:`~plugin_privileges`. Returns: |