Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)).