https://github.com/mittwald/goharbor-client
Go Client for the Harbor container registry
https://github.com/mittwald/goharbor-client
container go goharbor goharbor-client golang hacktoberfest harbor registry
Last synced: about 1 year ago
JSON representation
Go Client for the Harbor container registry
- Host: GitHub
- URL: https://github.com/mittwald/goharbor-client
- Owner: mittwald
- License: mit
- Created: 2020-04-20T13:55:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T12:05:14.000Z (almost 2 years ago)
- Last Synced: 2025-04-03T23:09:30.485Z (about 1 year ago)
- Topics: container, go, goharbor, goharbor-client, golang, hacktoberfest, harbor, registry
- Language: Go
- Homepage:
- Size: 2.5 MB
- Stars: 111
- Watchers: 6
- Forks: 52
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# goharbor-client
[](https://github.com/mittwald/goharbor-client/blob/master/LICENSE)
[](https://goreportcard.com/badge/github.com/mittwald/goharbor-client)
[](https://pkg.go.dev/github.com/mittwald/goharbor-client/v5)
[](https://github.com/mittwald/goharbor-client/releases/latest)
[](https://codeclimate.com/github/mittwald/goharbor-client/maintainability)
[](https://codeclimate.com/github/mittwald/goharbor-client/test_coverage)
[](https://github.com/mittwald/goharbor-client/actions)
A Go client library enabling programs to perform CRUD operations on the [goharbor](https://github.com/goharbor/harbor) API.
This client library utilizes types generated by [go-swagger](https://github.com/go-swagger/go-swagger).
## Compatibility
This library includes separate clients supporting the **v1.10** & **v2.9** versions of goharbor.
## Installation
Install the desired client library version using `go get`:
```shell script
# v1 Client
go get github.com/mittwald/goharbor-client/v5/apiv1
```
or
```shell script
# v2 Client
go get github.com/mittwald/goharbor-client/v5/apiv2
```
## Contributing
Before you make your changes, check to see if an [issue already exists](https://github.com/mittwald/goharbor-client/issues) 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](./CONTRIBUTING.md).
## Documentation
For more specific documentation, please refer to the [godoc](https://pkg.go.dev/github.com/mittwald/goharbor-client/v5) of this library (which also contains [usage examples](https://pkg.go.dev/github.com/mittwald/goharbor-client/v5#pkg-examples)).