mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-20 09:15:19 +01:00
19f3ebd353
This patch provides a command-line tool for managing Harbor resources like users, projects, images, etc.
8 lines
196 B
Python
8 lines
196 B
Python
from harborclient import base
|
|
|
|
|
|
class LogManager(base.Manager):
|
|
def list(self):
|
|
"""Get recent logs of the projects which the user is a member of."""
|
|
return self._list("/logs")
|