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.
__ __ ____ ____ ____ ___ ____ ____ ___ __ _ ____ ___ ____ ______
| | | / || \ | \ / \ | \ / | / \ / ]| | | | / _]| \ | |
| | || o || D )| o )| || D )_____ | __|| | _____ / / | | | | / [_ | _ || |
| _ || || / | || O || /| || | || O || |/ / | |___ | | | _]| | ||_| |_|
| | || _ || \ | O || || \|_____|| |_ || ||_____/ \_ | | | | | [_ | | | | |
| | || | || . \| || || . \ | || | \ || | | | | || | | | |
|__|__||__|__||__|\_||_____| \___/ |__|\_| |___,_| \___/ \____||_____||____||_____||__|__| |__|
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.
harbor-go-client
is based on harbor v1.5.0-d59c257e and swagger api version 1.4.0. If you want to use this CLI tool with Harbro v1.6.0+, you may encounter incompatible issues. See "The issue with API version" for more details.harborctl
is under developement now, which is based on harbor v1.6.0-66709daa and swagger api version 1.6.0.Current Harbor API support status:
Additional features supported:
go get -u github.com/moooofly/harbor-go-client
make
make install
make clean
make test
See docs
You can run integration test with scripts/regression_test.sh (Assuming local Harbor installation)
scripts/*.sh
)harbor-go-client is licensed under the MIT License. See LICENSE for the full license text.
This project uses open source components which have additional licensing terms. The licensing terms for these open source components can be found at the following locations: