A CLI tool for the Docker Registry Harbor. This project offer a command-line interface to the Harbor API, you can use it to manager your users, projects, repositories, etc. (This project aims to refactor harbor-go-client based on Harbor v1.6.0)
MIT License
28
stars
6
forks
source link
[NOTE] The format of "begin_timestamp" and "end_timestamp" within API "GET /projects/{project_id}/logs" is unknown #2
[#1069#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl project log -h
This endpoint let user search access logs filtered by operations and date time ranges.
Usage:
harborctl project log [flags]
Flags:
-b, --beginTimestamp string The begin timestamp (format is unknown).
-e, --endTimestamp string The end timestamp (format is unknown).
-h, --help help for log
-o, --operation string The operation.
-p, --page int The page nubmer, default is 1. (default 1)
-s, --page_size int The size of per page, default is 10, maximum is 100. (default 10)
-j, --project_id int (REQUIRED) Relevant project ID.
-r, --repository string The name of repository.
-t, --tag string The name of tag.
-n, --username string Username of the operator.
Global Flags:
--config string config file (default is $HOME/, working dir (.), and ./conf dir)
[#1070#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$
HELP
TEST
TIMESTAMP issue