diff options
author | baude <bbaude@redhat.com> | 2019-04-01 12:50:08 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-04-03 09:52:38 -0500 |
commit | 576a80b0d75182a5ae12985c47bd31da72a51bc8 (patch) | |
tree | e4959ed98be60b3c0b4b64066febc3882f214af1 /API.md | |
parent | 2ad5f5cc25844d0723116149b42e04ab310269f4 (diff) | |
download | podman-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 'API.md')
-rwxr-xr-x | API.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -31,6 +31,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func DeleteUnusedImages() []string](#DeleteUnusedImages) +[func Diff(name: string) DiffInfo](#Diff) + [func ExportContainer(name: string, path: string) string](#ExportContainer) [func ExportImage(name: string, destination: string, compress: bool, tags: []string) string](#ExportImage) @@ -173,6 +175,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [type CreateResourceConfig](#CreateResourceConfig) +[type DiffInfo](#DiffInfo) + [type Event](#Event) [type IDMap](#IDMap) @@ -388,6 +392,11 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.DeleteUnusedImages ] } ~~~ +### <a name="Diff"></a>func Diff +<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> + +method Diff(name: [string](https://godoc.org/builtin#string)) [DiffInfo](#DiffInfo)</div> + ### <a name="ExportContainer"></a>func ExportContainer <div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> @@ -1431,6 +1440,13 @@ pids_limit [int](https://godoc.org/builtin#int) shm_size [int](https://godoc.org/builtin#int) ulimit [[]string](#[]string) +### <a name="DiffInfo"></a>type DiffInfo + + + +path [string](https://godoc.org/builtin#string) + +changeType [string](https://godoc.org/builtin#string) ### <a name="Event"></a>type Event Event describes a libpod struct |