summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/play.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-06 20:34:13 +0200
committerGitHub <noreply@github.com>2020-05-06 20:34:13 +0200
commit8b5df5b5d97facad5bb84fe4597bf7f0059c09fa (patch)
tree66296d6b47bc9627053bd0b3dadb07059cf711c6 /pkg/domain/infra/tunnel/play.go
parent22bf906e8cc440cb3c33b9eed620ae91f447b269 (diff)
parentf269be3a314a0903bb74a20de0e93b4f274531e6 (diff)
downloadpodman-8b5df5b5d97facad5bb84fe4597bf7f0059c09fa.tar.gz
podman-8b5df5b5d97facad5bb84fe4597bf7f0059c09fa.tar.bz2
podman-8b5df5b5d97facad5bb84fe4597bf7f0059c09fa.zip
Merge pull request #6092 from vrothberg/v2-kube
add {generate,play} kube
Diffstat (limited to 'pkg/domain/infra/tunnel/play.go')
-rw-r--r--pkg/domain/infra/tunnel/play.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/play.go b/pkg/domain/infra/tunnel/play.go
new file mode 100644
index 000000000..15383a703
--- /dev/null
+++ b/pkg/domain/infra/tunnel/play.go
@@ -0,0 +1,12 @@
+package tunnel
+
+import (
+ "context"
+
+ "github.com/containers/libpod/pkg/bindings/play"
+ "github.com/containers/libpod/pkg/domain/entities"
+)
+
+func (ic *ContainerEngine) PlayKube(ctx context.Context, path string, options entities.PlayKubeOptions) (*entities.PlayKubeReport, error) {
+ return play.PlayKube(ic.ClientCxt, path, options)
+}