summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-14 14:51:39 +0200
committerGitHub <noreply@github.com>2020-04-14 14:51:39 +0200
commit85c352d8bcffbf1593964e047763947d76d466e3 (patch)
treebaf14f0d0433c0ab2b25dc5ea788e7cb66780c0c /pkg/domain/infra/tunnel/images.go
parent004826653f2a8b064af8c1f055b1a402f4060d1c (diff)
parentff52b7524a8b6db7bb58eeda2b9328730a54c611 (diff)
downloadpodman-85c352d8bcffbf1593964e047763947d76d466e3.tar.gz
podman-85c352d8bcffbf1593964e047763947d76d466e3.tar.bz2
podman-85c352d8bcffbf1593964e047763947d76d466e3.zip
Merge pull request #5709 from vrothberg/v2-search
podmanV2: implement search
Diffstat (limited to 'pkg/domain/infra/tunnel/images.go')
-rw-r--r--pkg/domain/infra/tunnel/images.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index 66abd7f47..54f2e8334 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -250,3 +250,7 @@ func (ir *ImageEngine) Diff(ctx context.Context, nameOrId string, _ entities.Dif
}
return &entities.DiffReport{Changes: changes}, nil
}
+
+func (ir *ImageEngine) Search(ctx context.Context, term string, opts entities.ImageSearchOptions) ([]entities.ImageSearchReport, error) {
+ return images.Search(ir.ClientCxt, term, opts)
+}