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

K8s.Selector #36

Closed
coryodaniel opened this issue Aug 13, 2019 · 1 comment
Closed

K8s.Selector #36

coryodaniel opened this issue Aug 13, 2019 · 1 comment

Comments

@coryodaniel
Copy link
Owner

coryodaniel commented Aug 13, 2019

Add module to ease adding selectors to client operations.

"v1"
|> K8s.Client.get(:pods)
|> K8s.Selector.labels(...)
|> K8s.Selector.expressions(...)
|> K8s.Client.run(:default)

This would require a label_selector key on the operation struct. When running an operation this would be used to build the label selector, being overwritten by any selector supplied directly to the run/N function

@coryodaniel
Copy link
Owner Author

#39

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

No branches or pull requests

1 participant