From 576a80b0d75182a5ae12985c47bd31da72a51bc8 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 1 Apr 2019 12:50:08 -0500 Subject: 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 --- cmd/podman/varlink/io.podman.varlink | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cmd/podman/varlink/io.podman.varlink') 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) -- cgit v1.2.3-54-g00ecf