summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-01 15:39:35 +0200
committerGitHub <noreply@github.com>2020-04-01 15:39:35 +0200
commit394f1c26d61cc8570b49444e1f431978bf101daa (patch)
tree6b1f55e33d7c51df2084ea5365a1059237e17511 /pkg/domain/infra/tunnel
parent6d36d05447fd594bedebea8a9a4366d348a78290 (diff)
parent7def91910c07ee3782b2106f76877d57d646f9b4 (diff)
downloadpodman-394f1c26d61cc8570b49444e1f431978bf101daa.tar.gz
podman-394f1c26d61cc8570b49444e1f431978bf101daa.tar.bz2
podman-394f1c26d61cc8570b49444e1f431978bf101daa.zip
Merge pull request #5684 from baude/v2podps
podmanv2 pod ps
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r--pkg/domain/infra/tunnel/pods.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/pods.go b/pkg/domain/infra/tunnel/pods.go
index 9561a9807..ad87a0a29 100644
--- a/pkg/domain/infra/tunnel/pods.go
+++ b/pkg/domain/infra/tunnel/pods.go
@@ -193,3 +193,7 @@ func (ic *ContainerEngine) PodTop(ctx context.Context, options entities.PodTopOp
}
return &entities.StringSliceReport{Value: topOutput}, nil
}
+
+func (ic *ContainerEngine) PodPs(ctx context.Context, options entities.PodPSOptions) ([]*entities.ListPodsReport, error) {
+ return pods.List(ic.ClientCxt, options.Filters)
+}