autocomplete podman search --filter

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2022-05-24 10:35:36 +02:00
parent 8af98b342d
commit d924c46dae
35 changed files with 377 additions and 156 deletions

View File

@@ -0,0 +1,13 @@
package define
const (
// SearchFilterAutomated is the key for filtering images by their automated attribute.
SearchFilterAutomated = "is-automated"
// SearchFilterOfficial is the key for filtering images by their official attribute.
SearchFilterOfficial = "is-official"
// SearchFilterStars is the key for filtering images by stars.
SearchFilterStars = "stars"
)
// SearchFilters includes all supported search filters.
var SearchFilters = []string{SearchFilterAutomated, SearchFilterOfficial, SearchFilterStars}