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 more operator cluster commands #465

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Add operator cluster list, operator cluster upsert and operator cluster remove.

To write the tests I had to expose a bunch of cluster configs in the Test server and make sure the test could actually read them to use and verify the information.

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ug, sorry you had to dig up this stuff. At least you know more about cluster stuff now, heh.


var nextPageToken []byte
var execsProcessed int
for pageIndex := 0; ; pageIndex++ {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one of those cases I wonder if we never expect a large list and therefore should just collect the list and dump all at once. Regardless, I added to #448 to revisit.

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 0454314 into cli-rewrite Feb 20, 2024
5 checks passed
@Quinn-With-Two-Ns Quinn-With-Two-Ns deleted the cli-rewrite-cluster-operator-cmds branch February 20, 2024 16:05
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.

2 participants