Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T09:04:24.000Z (9 months ago)
- Last Synced: 2024-02-16T08:38:39.721Z (9 months 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
[![GitHub license](https://img.shields.io/github/license/mittwald/goharbor-client.svg?style=flat-square)](https://github.com/mittwald/goharbor-client/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/mittwald/goharbor-client?style=flat-square)](https://goreportcard.com/badge/github.com/mittwald/goharbor-client)
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/mittwald/goharbor-client/v5)
[![Release](https://img.shields.io/github/release/mittwald/goharbor-client.svg?style=flat-square)](https://github.com/mittwald/goharbor-client/releases/latest)[![Maintainability](https://api.codeclimate.com/v1/badges/a765bafaa29f6f8fdde7/maintainability)](https://codeclimate.com/github/mittwald/goharbor-client/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/a765bafaa29f6f8fdde7/test_coverage)](https://codeclimate.com/github/mittwald/goharbor-client/test_coverage)
[![Actions Status](https://github.com/mittwald/goharbor-client/workflows/Test/badge.svg)](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)).