regclient / regclient

Docker and OCI Registry Client in Go and tooling using those libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Inspect in public API

drev74 opened this issue Β· comments

Current Behavior

Thanks for building this incredibly useful software! πŸ˜ƒ I use it as a client library in my cli and need to implement oci/docker image inspect. Currently, image inspection is buried in your code and I used this as a reference.

Expected Behavior

Need to have a proper image inspect as a public API

Example Solution

Version

v0.6.0

Environment

  • Running as binary or container: using a go library
  • Host platform: Ubuntu amd64
  • Registry description: registry:3-alpha1

Anything else

Thanks for the suggestion. I've got this on my todo list. It's a bit buried since the underlying process is several API's to get the specific blob and parse it. But, similar to ImageCopy, ImageExport, and ImageImport, adding an ImageInspect makes sense.

Thanks again for the suggestion. This should be fixed in #706. Let me know if you encounter any issues.