Skip to content

anchore/enterprise-client-go

Repository files navigation

A Golang client for the Anchore Enterprise API

Modified from https://github.com/anchore/client-go. Based on generated code. No executables provided, only intended for use as a library in other projects.

To pull the swagger definition and re-generate all client go code, update ENTERPRISE_REF in the Makefile to point to the desired enterprise commit. Then run the following to regenerate the client:

make 

Note: the version of the enterprise where the swagger spec is pulled from is pinned in the Makefile.

Release Strategy:

Currently releases are manual, since the release of Anchore Enterprise 5.0 this repo has been tagged to match the the Enterprise version.

If breaking changes are introduced past this point, please follow this guide regarding how to release new major versions of a Golang library:

Module version numbering Module release and versioning Managing module source

Known Issues:

OpenAPITool Bug