summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-04-01 12:50:08 -0500
committerbaude <bbaude@redhat.com>2019-04-03 09:52:38 -0500
commit576a80b0d75182a5ae12985c47bd31da72a51bc8 (patch)
treee4959ed98be60b3c0b4b64066febc3882f214af1 /cmd/podman/varlink
parent2ad5f5cc25844d0723116149b42e04ab310269f4 (diff)
downloadpodman-576a80b0d75182a5ae12985c47bd31da72a51bc8.tar.gz
podman-576a80b0d75182a5ae12985c47bd31da72a51bc8.tar.bz2
podman-576a80b0d75182a5ae12985c47bd31da72a51bc8.zip
add remote-client diff
the remote client now can run the diff command to report changes, modifications, and deletions in an image or container. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 5e996f46b..2ff06a6f6 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -461,6 +461,13 @@ type Event(
type: string
)
+type DiffInfo(
+ # path that is different
+ path: string,
+ # Add, Delete, Modify
+ changeType: string
+)
+
# GetVersion returns version and build information of the podman service
method GetVersion() -> (
version: string,
@@ -1154,6 +1161,8 @@ method LoadImage(name: string, inputFile: string, quiet: bool, deleteFile: bool)
# GetEvents returns known libpod events filtered by the options provided.
method GetEvents(filter: []string, since: string, until: string) -> (events: Event)
+method Diff(name: string) -> (diffs: []DiffInfo)
+
# ImageNotFound means the image could not be found by the provided name or ID in local storage.
error ImageNotFound (id: string, reason: string)