mirror of
https://github.com/goharbor/harbor
synced 2025-04-12 15:46:12 +00:00

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")
|