mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
19f3ebd353
This patch provides a command-line tool for managing Harbor resources like users, projects, images, etc.
8 lines
207 B
Python
8 lines
207 B
Python
from harborclient import base
|
|
|
|
|
|
class SearchManager(base.Manager):
|
|
def search(self, query):
|
|
"""Search for projects and repositories."""
|
|
return self.api.client.get("/search?q=%s" % query)
|