diff options
author | Qi Wang <qiwan@redhat.com> | 2020-09-29 16:40:10 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-10-09 11:49:46 -0400 |
commit | 66798e993a1d3c111f15a85242cac1427c39f53e (patch) | |
tree | ead22c734350fa97d4fc1d611d1934be233f3c59 /pkg/api/server/register_images.go | |
parent | 73488369586d387db0e4754fa56d5d0077a24940 (diff) | |
download | podman-66798e993a1d3c111f15a85242cac1427c39f53e.tar.gz podman-66798e993a1d3c111f15a85242cac1427c39f53e.tar.bz2 podman-66798e993a1d3c111f15a85242cac1427c39f53e.zip |
Search repository tags using --list-tags
For fix of BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1684263
Add --list-tags to podman search to return a table the repository tags.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r-- | pkg/api/server/register_images.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index ad779203d..c2423218a 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -169,6 +169,10 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // - `is-automated=(true|false)` // - `is-official=(true|false)` // - `stars=<number>` Matches images that has at least 'number' stars. + // - in: query + // name: listTags + // type: boolean + // description: list the available tags in the repository // produces: // - application/json // responses: |