mirror of
https://github.com/containers/podman.git
synced 2025-06-19 00:06:43 +08:00
* Update documenation
Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -23,15 +23,15 @@ class VarlinkErrorProxy(VarlinkError):
|
||||
|
||||
|
||||
class ContainerNotFound(VarlinkErrorProxy):
|
||||
"""Raised when Client can not find requested container."""
|
||||
"""Raised when Client cannot find requested container."""
|
||||
|
||||
|
||||
class ImageNotFound(VarlinkErrorProxy):
|
||||
"""Raised when Client can not find requested image."""
|
||||
"""Raised when Client cannot find requested image."""
|
||||
|
||||
|
||||
class PodNotFound(VarlinkErrorProxy):
|
||||
"""Raised when Client can not find requested image."""
|
||||
"""Raised when Client cannot find requested image."""
|
||||
|
||||
|
||||
class PodContainerError(VarlinkErrorProxy):
|
||||
|
@ -71,7 +71,7 @@ class Pod(collections.UserDict):
|
||||
return self._refresh(podman)
|
||||
|
||||
def remove(self, force=False):
|
||||
"""Remove all containers in the pod, the pod, return pod ident.
|
||||
"""Remove pod and its containers returning pod ident.
|
||||
|
||||
force=True, stop any running container.
|
||||
"""
|
||||
@ -105,7 +105,7 @@ class Pod(collections.UserDict):
|
||||
return self._refresh(podman)
|
||||
|
||||
def top(self):
|
||||
"""Display stats for all containers exit."""
|
||||
"""Display stats for all containers."""
|
||||
with self._client() as podman:
|
||||
results = podman.TopPod(self._ident)
|
||||
return results['pod']
|
||||
|
Reference in New Issue
Block a user