mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 19:50:05 +01:00
19f3ebd353
This patch provides a command-line tool for managing Harbor resources like users, projects, images, etc.
8 lines
212 B
Python
8 lines
212 B
Python
from harborclient import base
|
|
|
|
|
|
class StatisticsManager(base.Manager):
|
|
def list(self):
|
|
"""Get projects number and repositories number relevant to the user."""
|
|
return self._list("/statistics")
|