summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/images.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-11-30 14:00:10 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-12-01 09:39:03 +0100
commit6673ff78d3c5bba1078d9862fccadf0b7fe556fa (patch)
treea957ae984b531a2ad16947072fcb45663d197e86 /pkg/domain/entities/images.go
parent8de68b170716dd1293c5a044f3e9cfd962fdbfb1 (diff)
downloadpodman-6673ff78d3c5bba1078d9862fccadf0b7fe556fa.tar.gz
podman-6673ff78d3c5bba1078d9862fccadf0b7fe556fa.tar.bz2
podman-6673ff78d3c5bba1078d9862fccadf0b7fe556fa.zip
podman, push: expose --compression-format
support overriding the compression format at push time. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r--pkg/domain/entities/images.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index 54f7b5d45..8b0fd2b85 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -208,6 +208,8 @@ type ImagePushOptions struct {
SkipTLSVerify types.OptionalBool
// Progress to get progress notifications
Progress chan types.ProgressProperties
+ // CompressionFormat is the format to use for the compression of the blobs
+ CompressionFormat string
}
// ImageSearchOptions are the arguments for searching images.