mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
podmanv2 pod ps
add the ability to list pods in podmanv2 Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user