Skip to content

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
@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.

3 participants