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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MCP experimental ctp list with paging #225

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

hasheddan
Copy link
Contributor

Description of your changes

Updates control plane listing with experimental MCP API with support for
paging. Currently we just max out page size, but we may opt to support
limiting page size and iterating pages in the future via flags.

Signed-off-by: hasheddan georgedanielmangum@gmail.com

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Verified that I can successfully list control planes with experimental API:

馃 (up) up login
Username: orgadmin
Password: 
馃 (up) up ctp list
NAME          ID                                     STATUS
tt-test-001   3fa92104-bfbc-40f0-ac46-81c84579cb34   ready
tt-test-003   6bc0d6aa-7eb0-4723-b26e-1dc50a70c232   ready

Updates up-sdk-go to lates to pick up paging support.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Updates control plane listing with experimental MCP API with support for
paging. Currently we just max out page size, but we may opt to support
limiting page size and iterating pages in the future via flags.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
@hasheddan hasheddan merged commit f3d9abf into upbound:main Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants