summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink/io.podman.varlink
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-20 18:44:40 +0100
committerGitHub <noreply@github.com>2019-02-20 18:44:40 +0100
commit148d46766f8b037e5774798cd92240d91d6f6f4e (patch)
treeca696a4d574dc2a278a18b2283864a9c8a865e87 /cmd/podman/varlink/io.podman.varlink
parent11a1c23ab341d6d4726a2ba6dca522642dda9034 (diff)
parent6ae4401bd1c7988b84c6e1f715ca85ad74ee4048 (diff)
downloadpodman-148d46766f8b037e5774798cd92240d91d6f6f4e.tar.gz
podman-148d46766f8b037e5774798cd92240d91d6f6f4e.tar.bz2
podman-148d46766f8b037e5774798cd92240d91d6f6f4e.zip
Merge pull request #2360 from vrothberg/parallel-search
podman-search: run in parallel
Diffstat (limited to 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink8
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 20c8a0de5..c53a5454a 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -72,6 +72,12 @@ type ImageSearchResult (
star_count: int
)
+type ImageSearchFilter (
+ is_official: ?bool,
+ is_automated: ?bool,
+ star_count: int
+)
+
type Container (
id: string,
image: string,
@@ -681,7 +687,7 @@ method RemoveImage(name: string, force: bool) -> (image: string)
# SearchImages searches available registries for images that contain the
# contents of "query" in their name. If "limit" is given, limits the amount of
# search results per registry.
-method SearchImages(query: string, limit: ?int, tlsVerify: ?bool) -> (results: []ImageSearchResult)
+method SearchImages(query: string, limit: ?int, tlsVerify: ?bool, filter: ImageSearchFilter) -> (results: []ImageSearchResult)
# DeleteUnusedImages deletes any images not associated with a container. The IDs of the deleted images are returned
# in a string array.