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

Simplify Cruder Interface #412

Merged
merged 2 commits into from
Nov 8, 2019
Merged

Simplify Cruder Interface #412

merged 2 commits into from
Nov 8, 2019

Conversation

paivagustavo
Copy link
Contributor

@paivagustavo paivagustavo commented Nov 7, 2019

This greatly simplifies the Cruder Interface. Moving the allocation of the metav1.ListOptions to the calleer of the List method.

Now the list struct is responsible to holding the label and filter selector.

This is the start for us having a simpler way to configure our filter and tackle down the #336

@paivagustavo paivagustavo changed the title Simplify Cruder and refactor list options Simplify Cruder Interface Nov 7, 2019
internal/k8s/context.go Outdated Show resolved Hide resolved
@derailed
Copy link
Owner

derailed commented Nov 8, 2019

@paivagustavo Awesome!! Totally makes sense and reduce the interface footprint. Great catch. Thank you!! Just a small pic (see comment). Great job!!

@derailed derailed added the enhancement New feature or request label Nov 8, 2019
@derailed derailed merged commit 46cfe8a into derailed:master Nov 8, 2019
@derailed
Copy link
Owner

derailed commented Nov 8, 2019

@paivagustavo Thank you!!

placintaalexandru pushed a commit to placintaalexandru/k9s that referenced this pull request Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants