summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-03 18:11:54 +0200
committerGitHub <noreply@github.com>2020-04-03 18:11:54 +0200
commita89d62ac3a445a5d76bd72d4b8e1bb9262ba74c6 (patch)
tree9567b9174dc22e944fffcecad626baed326ccc49 /pkg/domain/infra/tunnel
parenta168dcc39cfa7335610663d4496b712a478abd69 (diff)
parent44a515015c3766809089d260917a508bf94a73fd (diff)
downloadpodman-a89d62ac3a445a5d76bd72d4b8e1bb9262ba74c6.tar.gz
podman-a89d62ac3a445a5d76bd72d4b8e1bb9262ba74c6.tar.bz2
podman-a89d62ac3a445a5d76bd72d4b8e1bb9262ba74c6.zip
Merge pull request #5701 from vrothberg/v2-push
podmanV2: implement push
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r--pkg/domain/infra/tunnel/images.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index 155f5e4bd..028603d98 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -184,3 +184,7 @@ func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOpti
}
return images.Import(ir.ClientCxt, opts.Changes, &opts.Message, &opts.Reference, sourceURL, f)
}
+
+func (ir *ImageEngine) Push(ctx context.Context, source string, destination string, options entities.ImagePushOptions) error {
+ return images.Push(ir.ClientCxt, source, destination, options)
+}