summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink/io.podman.varlink
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-11-22 11:39:49 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2019-11-29 05:34:52 -0500
commit79bf5010eda37c07f577414ae71ecb8f8c8714a2 (patch)
treecd2d631a0c42d7bbb4f1b2631be8d833071644da /cmd/podman/varlink/io.podman.varlink
parentb4313b296a271097d26e481a0f03d22b9bab683b (diff)
downloadpodman-79bf5010eda37c07f577414ae71ecb8f8c8714a2.tar.gz
podman-79bf5010eda37c07f577414ae71ecb8f8c8714a2.tar.bz2
podman-79bf5010eda37c07f577414ae71ecb8f8c8714a2.zip
Add podman system reset command
This command will destroy all data created via podman. It will remove containers, images, volumes, pods. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index e76b9627e..a3fd27ed6 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -536,6 +536,10 @@ method GetVersion() -> (
remote_api_version: int
)
+# Reset resets Podman back to its initial state.
+# Removes all Pods, Containers, Images and Volumes
+method Reset() -> ()
+
# GetInfo returns a [PodmanInfo](#PodmanInfo) struct that describes podman and its host such as storage stats,
# build information of Podman, and system-wide registries.
method GetInfo() -> (info: PodmanInfo)