harbor/contrib/harbor-cli/harborclient/v2/statistics.py

8 lines
212 B
Python
Raw Normal View History

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