diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-03-27 11:46:33 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-03-28 17:32:22 +0100 |
commit | 9812804f754120fcf14256bf0ed9cd00c36bf9f7 (patch) | |
tree | f9412fd2ac6cdfba7c688aaf122c97e5f2e1701a /pkg/domain/entities/engine_container.go | |
parent | cc129d13c5b8b80f542dbc6192ff3d5df29b47ee (diff) | |
download | podman-9812804f754120fcf14256bf0ed9cd00c36bf9f7.tar.gz podman-9812804f754120fcf14256bf0ed9cd00c36bf9f7.tar.bz2 podman-9812804f754120fcf14256bf0ed9cd00c36bf9f7.zip |
podmanv2: implement pod top
Implement `podman pod top` for podmanV2.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r-- | pkg/domain/entities/engine_container.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go index fceed1003..f78e10d49 100644 --- a/pkg/domain/entities/engine_container.go +++ b/pkg/domain/entities/engine_container.go @@ -24,6 +24,7 @@ type ContainerEngine interface { PodStop(ctx context.Context, namesOrIds []string, options PodStopOptions) ([]*PodStopReport, error) PodRm(ctx context.Context, namesOrIds []string, options PodRmOptions) ([]*PodRmReport, error) PodUnpause(ctx context.Context, namesOrIds []string, options PodunpauseOptions) ([]*PodUnpauseReport, error) + PodTop(ctx context.Context, options PodTopOptions) (*StringSliceReport, error) VolumeCreate(ctx context.Context, opts VolumeCreateOptions) (*IdOrNameResponse, error) VolumeInspect(ctx context.Context, namesOrIds []string, opts VolumeInspectOptions) ([]*VolumeInspectReport, error) |