mirror of https://github.com/docker/docker-py.git
Add missing secrets doc
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
e0b6cdfcf6
commit
1042b06e50
10
docs/api.rst
10
docs/api.rst
|
@ -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
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
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
|
Loading…
Reference in New Issue