diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-04-20 10:02:35 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-04-20 10:10:24 -0700 |
commit | 9cd6bba5d57e7e23a92ab27e6c37f8623662d9b3 (patch) | |
tree | 4ab14b11f1bb0cf26287a5f4cc2acf94dda34a1d /pkg/domain/entities/images.go | |
parent | e5e625b2a6481dd49d1d6303df1157c8a51dd7c2 (diff) | |
download | podman-9cd6bba5d57e7e23a92ab27e6c37f8623662d9b3.tar.gz podman-9cd6bba5d57e7e23a92ab27e6c37f8623662d9b3.tar.bz2 podman-9cd6bba5d57e7e23a92ab27e6c37f8623662d9b3.zip |
V2 podman image tree
* Basic port of V1 podman image tree ID
TODO: Refactor to return tree from service and format in presentation
layer
TODO: Support tunneling mode
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r-- | pkg/domain/entities/images.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 3a6d159e4..56c4c0ac5 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -273,3 +273,13 @@ type ImageSaveOptions struct { Output string Quiet bool } + +// ImageTreeOptions provides options for ImageEngine.Tree() +type ImageTreeOptions struct { + WhatRequires bool // Show all child images and layers of the specified image +} + +// ImageTreeReport provides results from ImageEngine.Tree() +type ImageTreeReport struct { + Tree string // TODO: Refactor move presentation work out of server +} |