From 7ee0f7e14c3105be1ef9c8aee00a09b479303677 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 22 Apr 2020 11:43:50 +0200 Subject: implement pod stats Implement pod stats for the local and remote client. Both code paths end up in infra/abi to allow for code share. Signed-off-by: Valentin Rothberg --- pkg/api/handlers/swagger/swagger.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkg/api/handlers/swagger') diff --git a/pkg/api/handlers/swagger/swagger.go b/pkg/api/handlers/swagger/swagger.go index 87891d4a8..d9ea55b3e 100644 --- a/pkg/api/handlers/swagger/swagger.go +++ b/pkg/api/handlers/swagger/swagger.go @@ -122,6 +122,13 @@ type swagPodTopResponse struct { } } +// List processes in pod +// swagger:response DocsPodStatsResponse +type swagPodStatsResponse struct { + // in:body + Body []*entities.PodStatsReport +} + // Inspect container // swagger:response LibpodInspectContainerResponse type swagLibpodInspectContainerResponse struct { -- cgit v1.2.3-54-g00ecf