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-27 16:15:09 +0200
committerGitHub <noreply@github.com>2020-04-27 16:15:09 +0200
commitca1c674d2e027b563c3e9fd92c335eb3f5e5e05d (patch)
tree00dbd2d1590ed9f7fa59531dae3d1f63fdcbf014 /pkg/domain/entities/engine_container.go
parentfdf64f0c66be4569732b830ce60c98f98a7efe64 (diff)
parent7ee0f7e14c3105be1ef9c8aee00a09b479303677 (diff)
downloadpodman-ca1c674d2e027b563c3e9fd92c335eb3f5e5e05d.tar.gz
podman-ca1c674d2e027b563c3e9fd92c335eb3f5e5e05d.tar.bz2
podman-ca1c674d2e027b563c3e9fd92c335eb3f5e5e05d.zip
Merge pull request #5966 from vrothberg/v2-pod-stats
implement pod stats
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 8c5bc3058..502279bcf 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -53,6 +53,7 @@ type ContainerEngine interface {
PodRestart(ctx context.Context, namesOrIds []string, options PodRestartOptions) ([]*PodRestartReport, error)
PodRm(ctx context.Context, namesOrIds []string, options PodRmOptions) ([]*PodRmReport, error)
PodStart(ctx context.Context, namesOrIds []string, options PodStartOptions) ([]*PodStartReport, error)
+ PodStats(ctx context.Context, namesOrIds []string, options PodStatsOptions) ([]*PodStatsReport, error)
PodStop(ctx context.Context, namesOrIds []string, options PodStopOptions) ([]*PodStopReport, error)
PodTop(ctx context.Context, options PodTopOptions) (*StringSliceReport, error)
PodUnpause(ctx context.Context, namesOrIds []string, options PodunpauseOptions) ([]*PodUnpauseReport, error)