class documentation
class Model: (source)
Known subclasses: docker.models.configs.Config
, docker.models.containers.Container
, docker.models.images.Image
, docker.models.images.RegistryData
, docker.models.networks.Network
, docker.models.nodes.Node
, docker.models.plugins.Plugin
, docker.models.secrets.Secret
, docker.models.services.Service
, docker.models.swarm.Swarm
, docker.models.volumes.Volume
A base class for representing a single object on the server.
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | reload |
Load this object from the server again and update ``attrs`` with the new data. |
Class Variable | id |
Undocumented |
Instance Variable | attrs |
Undocumented |
Instance Variable | client |
Undocumented |
Instance Variable | collection |
Undocumented |
Property | id |
The ID of the object. |
Property | short |
The ID of the object, truncated to 12 characters. |
overridden in
docker.models.configs.Config
, docker.models.images.Image
, docker.models.plugins.Plugin
, docker.models.secrets.Secret
Undocumented
overridden in
docker.models.images.RegistryData
, docker.models.swarm.Swarm
Load this object from the server again and update ``attrs`` with the new data.
overridden in
docker.models.images.Image
, docker.models.images.RegistryData
The ID of the object, truncated to 12 characters.