mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
client/image_list: Wrap options and result
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com> Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
committed by
Austin Vazquez
parent
a7f409014f
commit
b3974f07f5
@@ -1,5 +1,7 @@
|
||||
package client
|
||||
|
||||
import "github.com/moby/moby/api/types/image"
|
||||
|
||||
// ImageListOptions holds parameters to list images with.
|
||||
type ImageListOptions struct {
|
||||
// All controls whether all images in the graph are filtered, or just
|
||||
@@ -15,3 +17,8 @@ type ImageListOptions struct {
|
||||
// Manifests indicates whether the image manifests should be returned.
|
||||
Manifests bool
|
||||
}
|
||||
|
||||
// ImageListResult holds the result from ImageList.
|
||||
type ImageListResult struct {
|
||||
Items []image.Summary
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user