diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-03-24 17:53:28 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-03-25 17:54:14 -0700 |
commit | 36a4cc864d1de57cd822a81d01f0b5f1b40eaa7d (patch) | |
tree | 060c945059c47cb412127f27a82c682295b1d253 /pkg/domain/entities/engine_image.go | |
parent | ff0124aee1ca700be3b7357b992a220cdacfddfd (diff) | |
download | podman-36a4cc864d1de57cd822a81d01f0b5f1b40eaa7d.tar.gz podman-36a4cc864d1de57cd822a81d01f0b5f1b40eaa7d.tar.bz2 podman-36a4cc864d1de57cd822a81d01f0b5f1b40eaa7d.zip |
V2 podman image
* Exists()
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/entities/engine_image.go')
-rw-r--r-- | pkg/domain/entities/engine_image.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_image.go b/pkg/domain/entities/engine_image.go index d44fdaf53..0294c7129 100644 --- a/pkg/domain/entities/engine_image.go +++ b/pkg/domain/entities/engine_image.go @@ -6,6 +6,7 @@ import ( type ImageEngine interface { Delete(ctx context.Context, nameOrId string, opts ImageDeleteOptions) (*ImageDeleteReport, error) + Exists(ctx context.Context, nameOrId string) (*BoolReport, error) History(ctx context.Context, nameOrId string, opts ImageHistoryOptions) (*ImageHistoryReport, error) List(ctx context.Context, opts ImageListOptions) ([]*ImageSummary, error) Prune(ctx context.Context, opts ImagePruneOptions) (*ImagePruneReport, error) |