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)
Based on my test result, this API can work as expect at Harbor v1.5.0-d59c257e.
One thing should pay attention to is that it triggers replication action at policy level (by policy_id), in another word, all repositories under the projects related to this specific policy ID will be replicated.
The truth is: usually, I just want to replicate only one repository (or a small mount of repositories) to the remote endpoint for the sake of transferring error happened by chance. If it plays at policy level, a lot of useless works will be done.
by
harborctl