From e133a06d2f4a3e94bfbd60b647046f2f515c9c24 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Fri, 8 Apr 2022 09:52:55 +0200 Subject: images --size Add a --size option to podman images to allow for disabling computing the size of listed images. If listing images is critical to performance, user may chose to turn off size computation to speed things up. Context: #13755 Signed-off-by: Valentin Rothberg --- pkg/domain/entities/images.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/domain/entities') diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 7081c5d25..56126f46c 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -251,6 +251,7 @@ type ImageSearchReport struct { type ImageListOptions struct { All bool `json:"all" schema:"all"` Filter []string `json:"Filter,omitempty"` + Size bool `json:"size" schema:"size"` } type ImagePruneOptions struct { -- cgit v1.2.3-54-g00ecf