summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-08 16:19:57 +0100
committerGitHub <noreply@github.com>2021-11-08 16:19:57 +0100
commitc9ba1fb7d4565365ee4ad4f852cce13f2072574e (patch)
treea8cd0830f2c2c351ce87e376718360edee53f1d1 /pkg/domain/entities/images.go
parenta58c0bb39ada24ea21204702d07117bf24d24156 (diff)
parentffa5ed0e0e00f79a1f3b6a88bf9efce3dbb19207 (diff)
downloadpodman-c9ba1fb7d4565365ee4ad4f852cce13f2072574e.tar.gz
podman-c9ba1fb7d4565365ee4ad4f852cce13f2072574e.tar.bz2
podman-c9ba1fb7d4565365ee4ad4f852cce13f2072574e.zip
Merge pull request #11958 from cdoern/scp
Podman Image SCP rootful to rootless transfer
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r--pkg/domain/entities/images.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index 38cdc8f2f..7583ce442 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -329,6 +329,10 @@ type ImageScpOptions struct {
Save ImageSaveOptions
// Load options used for the second half of the scp operation
Load ImageLoadOptions
+ // Rootless determines whether we are loading locally from root storage to rootless storage
+ Rootless bool
+ // User is used in conjunction with Rootless to determine which user to use to obtain the uid
+ User string
}
// ImageTreeOptions provides options for ImageEngine.Tree()