Skip to content

Conversation

@liboz
Copy link

@liboz liboz commented Jan 8, 2022

Fixes #176.

This PR makes a query for the v2 manifest and then sum the size parameter in the Layers array in the return object to calculate the size of the container. I use a channel to parallelize the query so we don't add additional latency.

Changes in the internal/binutils were generated by running go run internal/binutils/generate.go

Example:
image

ttys3 added a commit to ttys3/reg that referenced this pull request Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] List container size using reg server

1 participant