Kaydet (Commit) 1042b06e authored tarafından Joffrey F's avatar Joffrey F

Add missing secrets doc

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst e0b6cdfc
......@@ -97,6 +97,15 @@ Plugins
:members:
:undoc-members:
Secrets
-------
.. py:module:: docker.api.secret
.. rst-class:: hide-signature
.. autoclass:: SecretApiMixin
:members:
:undoc-members:
The Docker daemon
-----------------
......@@ -121,6 +130,7 @@ Configuration types
.. autoclass:: Mount
.. autoclass:: Resources
.. autoclass:: RestartPolicy
.. autoclass:: SecretReference
.. autoclass:: ServiceMode
.. autoclass:: TaskTemplate
.. autoclass:: UpdateConfig
......@@ -20,6 +20,7 @@ Client reference
.. autoattribute:: networks
.. autoattribute:: nodes
.. autoattribute:: plugins
.. autoattribute:: secrets
.. autoattribute:: services
.. autoattribute:: swarm
.. autoattribute:: volumes
......
......@@ -14,11 +14,11 @@ Methods available on ``client.images``:
.. automethod:: get
.. automethod:: list(**kwargs)
.. automethod:: load
.. automethod:: prune
.. automethod:: pull
.. automethod:: push
.. automethod:: remove
.. automethod:: search
.. automethod:: prune
Image objects
......
......@@ -85,6 +85,7 @@ That's just a taste of what you can do with the Docker SDK for Python. For more,
networks
nodes
plugins
secrets
services
swarm
volumes
......
Secrets
=======
.. py:module:: docker.models.secrets
Manage secrets on the server.
Methods available on ``client.secrets``:
.. rst-class:: hide-signature
.. py:class:: SecretCollection
.. automethod:: create
.. automethod:: get
.. automethod:: list
Secret objects
--------------
.. autoclass:: Secret()
.. autoattribute:: id
.. autoattribute:: name
.. py:attribute:: attrs
The raw representation of this object from the server.
.. automethod:: remove
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment