A Go client library enabling programs to perform CRUD operations on the goharbor API.
This client library utilizes types generated by go-swagger.
This library includes separate clients supporting the v1.10 & v2.5 versions of goharbor.
Install the desired client library version using go get
:
# v1 Client
go get github.com/mittwald/goharbor-client/v5/apiv1
or
# v2 Client
go get github.com/mittwald/goharbor-client/v5/apiv2
Before you make your changes, check to see if an issue already exists for the change you want to make.
When in doubt where to start when making changes to the client, please refer to the Contribution guide.
For more specific documentation, please refer to the godoc of this library (which also contains usage examples).