summaryrefslogtreecommitdiff
path: root/pkg/spec/spec_test.go
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2019-06-26 12:01:55 +0000
committerAdrian Reber <areber@redhat.com>2019-07-11 14:43:34 +0200
commitd5f1caaf505a87f093b3c715e9c53ee304917ac4 (patch)
tree8de9d0b72c994fcaaf6ad667a77b106cd2712b27 /pkg/spec/spec_test.go
parent144567b42dba2c8c426538a4b5fe7d718b43284a (diff)
downloadpodman-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 'pkg/spec/spec_test.go')
0 files changed, 0 insertions, 0 deletions