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

Go: Fix command options classes. #3104

Merged
merged 7 commits into from
Feb 12, 2025
Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand commented Feb 7, 2025

  1. All .toArgs() which return []string replaced with .toArgs() which return ([]string, error)
  2. All options moved to options
  3. Rework and align options for cluster commands
  4. Move constants to constants.go
  5. Added more const strigs to constants
  6. Rename options factory methods (NewSortOptionsBuilder -> NewSortOptions)
  7. Corresponding doc and test updates

Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
@Yury-Fridlyand Yury-Fridlyand added the go golang wrapper label Feb 7, 2025
@Yury-Fridlyand Yury-Fridlyand changed the title Fix options. Go: Fix command options classes. Feb 7, 2025
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Copy link
Collaborator

@jbrinkman jbrinkman left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@yipin-chen yipin-chen left a comment

Choose a reason for hiding this comment

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

LGTM

@Yury-Fridlyand Yury-Fridlyand merged commit ca615bc into release-1.3 Feb 12, 2025
18 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the go/fix-options-toargs branch February 12, 2025 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go golang wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants