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: 3 months 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T09:04:24.000Z (about 1 year ago)
- Last Synced: 2024-02-16T08:38:39.721Z (about 1 year ago)
- Topics: container, go, goharbor, goharbor-client, golang, hacktoberfest, harbor, registry
- Language: Go
- Homepage:
- Size: 2.44 MB
- Stars: 99
- Watchers: 7
- Forks: 49
- 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)).