Skip to content

Golang client for Clair v4 API #1448

Answered by hdonnay
seleznev asked this question in Q&A
Nov 30, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The httptransport/client is meant for intraservice use -- it implements interfaces so that the microservices can be swapped between local and remote implementations.

The client in clairctl is much closer to what an external client may want, but I haven't exported it out of an abundance of caution.

What sorts of things do you want to do with a clair client? Starting from there, we can probably sketch out an API for a go client package.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@seleznev
Comment options

@glebsts
Comment options

Answer selected by seleznev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants