summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_image.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-04-22 11:45:31 -0700
committerJhon Honce <jhonce@redhat.com>2020-04-22 14:25:40 -0700
commit565f93531eae65ca85c286bf6bd2aa07eb713976 (patch)
treea36ef0168a0edbd34a5eb539d24062b9ad788aa0 /pkg/domain/entities/engine_image.go
parent142757bd7288ccdb88d8f1322932f999ffb18c02 (diff)
downloadpodman-565f93531eae65ca85c286bf6bd2aa07eb713976.tar.gz
podman-565f93531eae65ca85c286bf6bd2aa07eb713976.tar.bz2
podman-565f93531eae65ca85c286bf6bd2aa07eb713976.zip
V2 restore libpod.Shutdown() when exiting podman commands
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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_image.go b/pkg/domain/entities/engine_image.go
index 84680ab1b..9ba733162 100644
--- a/pkg/domain/entities/engine_image.go
+++ b/pkg/domain/entities/engine_image.go
@@ -22,6 +22,7 @@ type ImageEngine interface {
Remove(ctx context.Context, images []string, opts ImageRemoveOptions) (*ImageRemoveReport, error)
Save(ctx context.Context, nameOrId string, tags []string, options ImageSaveOptions) error
Search(ctx context.Context, term string, opts ImageSearchOptions) ([]ImageSearchReport, error)
+ Shutdown(ctx context.Context)
Tag(ctx context.Context, nameOrId string, tags []string, options ImageTagOptions) error
Tree(ctx context.Context, nameOrId string, options ImageTreeOptions) (*ImageTreeReport, error)
Untag(ctx context.Context, nameOrId string, tags []string, options ImageUntagOptions) error