-
Notifications
You must be signed in to change notification settings - Fork 936
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
Umbrella Issue: refactor commands to split flags from options #1046
Comments
/triage accepted |
/remove-help Holding off on this until we scope better and trial a few to confirm it's what we want. |
@soltysh looking at logs and get |
@rikatz will take basic create |
@KnVerey to look at drain or describe |
@eddiezane will look at a simple config command |
/assign |
Will do |
/assign |
/assign |
i can do |
A simple summary:
|
@BigaDev will take a look at scale |
@pacoxu thanks for the summary! I want to make sure folks understand that this will be a bit of an iteration process while we dial in exactly what we want these to look like. Expect some refactors and potential rewrites. |
I'll refactor |
Hey! I was wondering if you guys needed more help on this issue. I'm happy to pick up a command and start working on it. |
/assign Talked to owner of issue. Grabbing |
I'll refactor |
@harshitasao , I think I finished |
@brunopecampos: GitHub didn't allow me to assign the following users: brunopecampos. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/unassign We hit the 10 assignees limit. Unassigning so Bruno can do diff :) |
/assign I'll do diff |
I can work on the refactoring of expose command. |
@eddiezane @soltysh Do we have a list of commands that still need this refactoring? |
@soltysh @eddiezane I am working on refactoring of Run command. Currently id does not follow Complete, Validate, Run. Validate seems to be being handled within the Run function. Should i make that refactor also, to make Validate function and remove this functionality from the Run function? |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
Currently most or even all of the commands have an
*Options
structure holding all of the data needed to run a command and three main methodsComplete
(finishing*Options
struct),Validate
(validating*Options
struct) andRun
(actual code behind the command). The current problem is that these*Options
struct is tightly coupled with flags, but we'd like to split these.A perfect example is wait command.
This issue should serve as a synchronization point.
/cc @eddiezane @seans3
The text was updated successfully, but these errors were encountered: