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

[Feature] - Support paging for repositories in container registry #454

Open
F21 opened this issue Jun 11, 2024 · 3 comments
Open

[Feature] - Support paging for repositories in container registry #454

F21 opened this issue Jun 11, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@F21
Copy link

F21 commented Jun 11, 2024

Is your feature request related to a problem? Please describe.
When listing the repositories in a container registry, the results returned are pagable, however, the cli doesn't seem to support paging or cursors:

❯ docker run -e VULTR_API_KEY vultr/vultr-cli:latest container-registry repository list REDACTED --per-page=1
Error: unknown flag: --per-page
❯ docker run -e VULTR_API_KEY vultr/vultr-cli:latest container-registry repository list REDACTED --cursor=xxx
Error: unknown flag: --cursor

Describe the solution you'd like
Implement paging and cursors for container registry

Describe alternatives you've considered
n/a

Additional context
n/a

@F21 F21 added the enhancement New feature or request label Jun 11, 2024
@optik-aper
Copy link
Member

That would be a limitation of the API, I'm afraid.

@optik-aper optik-aper mentioned this issue Jun 11, 2024
3 tasks
@F21
Copy link
Author

F21 commented Jun 11, 2024

I think the API supports paging as it contains the meta object in the response.

@optik-aper
Copy link
Member

Yeah, in the response but it doesn't appear the controller has it on the request. I'll look into it on the API side.

@optik-aper optik-aper self-assigned this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants