summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/generate.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/generate.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/generate.go')
-rw-r--r--pkg/domain/infra/tunnel/generate.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/generate.go b/pkg/domain/infra/tunnel/generate.go
index 3cd483053..eb5587f89 100644
--- a/pkg/domain/infra/tunnel/generate.go
+++ b/pkg/domain/infra/tunnel/generate.go
@@ -3,6 +3,7 @@ package tunnel
import (
"context"
+ "github.com/containers/libpod/pkg/bindings/generate"
"github.com/containers/libpod/pkg/domain/entities"
"github.com/pkg/errors"
)
@@ -10,3 +11,7 @@ import (
func (ic *ContainerEngine) GenerateSystemd(ctx context.Context, nameOrID string, options entities.GenerateSystemdOptions) (*entities.GenerateSystemdReport, error) {
return nil, errors.New("not implemented for tunnel")
}
+
+func (ic *ContainerEngine) GenerateKube(ctx context.Context, nameOrID string, options entities.GenerateKubeOptions) (*entities.GenerateKubeReport, error) {
+ return generate.GenerateKube(ic.ClientCxt, nameOrID, options)
+}