diff options
author | Adrian Reber <areber@redhat.com> | 2019-06-26 12:01:55 +0000 |
---|---|---|
committer | Adrian Reber <areber@redhat.com> | 2019-07-11 14:43:34 +0200 |
commit | d5f1caaf505a87f093b3c715e9c53ee304917ac4 (patch) | |
tree | 8de9d0b72c994fcaaf6ad667a77b106cd2712b27 /libpod/runtime_pod_unsupported.go | |
parent | 144567b42dba2c8c426538a4b5fe7d718b43284a (diff) | |
download | podman-d5f1caaf505a87f093b3c715e9c53ee304917ac4.tar.gz podman-d5f1caaf505a87f093b3c715e9c53ee304917ac4.tar.bz2 podman-d5f1caaf505a87f093b3c715e9c53ee304917ac4.zip |
Add function to get a filtered tarstream diff
The newly added function GetDiffTarStream() mirrors the GetDiff()
function. It tries to get the correct layer ID from getLayerID()
and it filters out containerMounts from the tarstream. Thus the
behavior is the same as GetDiff(), but it returns a tarstream.
This also adds the function ApplyDiffTarStream() to apply the tarstream
generated by GetDiffTarStream().
These functions are targeted to support container migration with
root file-system changes.
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'libpod/runtime_pod_unsupported.go')
0 files changed, 0 insertions, 0 deletions