summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-08 16:36:08 +0200
committerGitHub <noreply@github.com>2022-09-08 16:36:08 +0200
commiteb758c5f583aff06accb1eef08f1b62509ca813c (patch)
treea23a23de3b603b237262bd8586f2ecbf386e9081 /pkg/domain/entities/engine_container.go
parent95eff1aa402c3d159c8ad25d8140b879d5feccf2 (diff)
parentd10e77e1bcd25306ab8afd4ce7da16eed3c67840 (diff)
downloadpodman-eb758c5f583aff06accb1eef08f1b62509ca813c.tar.gz
podman-eb758c5f583aff06accb1eef08f1b62509ca813c.tar.bz2
podman-eb758c5f583aff06accb1eef08f1b62509ca813c.zip
Merge pull request #15675 from Luap99/pod-inspect
fix podman pod inspect to support multiple pods
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r--pkg/domain/entities/engine_container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go
index 69adc9732..19b666f8e 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -75,7 +75,7 @@ type ContainerEngine interface {
PodCreate(ctx context.Context, specg PodSpec) (*PodCreateReport, error)
PodClone(ctx context.Context, podClone PodCloneOptions) (*PodCloneReport, error)
PodExists(ctx context.Context, nameOrID string) (*BoolReport, error)
- PodInspect(ctx context.Context, options PodInspectOptions) (*PodInspectReport, error)
+ PodInspect(ctx context.Context, namesOrID []string, options InspectOptions) ([]*PodInspectReport, []error, error)
PodKill(ctx context.Context, namesOrIds []string, options PodKillOptions) ([]*PodKillReport, error)
PodLogs(ctx context.Context, pod string, options PodLogsOptions) error
PodPause(ctx context.Context, namesOrIds []string, options PodPauseOptions) ([]*PodPauseReport, error)