go-quay

module
v0.0.0-...-eff1da9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: Apache-2.0

README

Go-Quay

Generated go client for quay.io

regenerate client

curl -L https://quay.io/api/v1/discovery |\
  jq '.definitions.NewRepo.properties.repo_kind.enum=["image","application","null"]'|\
  jq '.definitions.AddLabel.properties.media_type.enum=["text/plain","application/json","null"]'|\
  jq . > swagger.json

# patch swagger.json: replace `null` by `"null"`

swagger generate client -f swagger.json -A client -c quay -a quay

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL