summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
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/entities/engine_container.go
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/entities/engine_container.go')
-rw-r--r--pkg/domain/entities/engine_container.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go
index 77043b89e..0907a89af 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -22,6 +22,7 @@ type ContainerEngine interface {
PodExists(ctx context.Context, nameOrId string) (*BoolReport, error)
PodKill(ctx context.Context, namesOrIds []string, options PodKillOptions) ([]*PodKillReport, error)
PodPause(ctx context.Context, namesOrIds []string, options PodPauseOptions) ([]*PodPauseReport, error)
+ PodPs(ctx context.Context, options PodPSOptions) ([]*ListPodsReport, error)
PodRestart(ctx context.Context, namesOrIds []string, options PodRestartOptions) ([]*PodRestartReport, error)
PodStart(ctx context.Context, namesOrIds []string, options PodStartOptions) ([]*PodStartReport, error)
PodStop(ctx context.Context, namesOrIds []string, options PodStopOptions) ([]*PodStopReport, error)