Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add size column to tags page #215

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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