summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorVladimir Kochnev <hashtable@yandex.ru>2022-08-19 00:41:22 +0300
committerVladimir Kochnev <hashtable@yandex.ru>2022-08-19 00:41:22 +0300
commit3bf52aa338b33de719e087e15402081568453284 (patch)
tree7ec3736282de122eba75ebd9b1870908be9b3b28 /pkg/domain/entities
parentec9508ea177a50ff3361a9ef14efbe1ff6baf05d (diff)
downloadpodman-3bf52aa338b33de719e087e15402081568453284.tar.gz
podman-3bf52aa338b33de719e087e15402081568453284.tar.bz2
podman-3bf52aa338b33de719e087e15402081568453284.zip
Add ProgressWriter to PullOptions
Signed-off-by: Vladimir Kochnev <hashtable@yandex.ru>
Diffstat (limited to 'pkg/domain/entities')
-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 21c1372b9..cad11b0ab 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -156,6 +156,8 @@ type ImagePullOptions struct {
SkipTLSVerify types.OptionalBool
// PullPolicy whether to pull new image
PullPolicy config.PullPolicy
+ // Writer is used to display copy information including progress bars.
+ Writer io.Writer
}
// ImagePullReport is the response from pulling one or more images.