maclof / kubernetes-client

A simple yet elegant client for accessing and controlling a Kubernetes cluster (https://github.com/kubernetes/kubernetes)
MIT License
232 stars 82 forks source link

Add inequality selectors #87

Closed brucedevcom closed 3 years ago

brucedevcom commented 3 years ago

Relatively small edition to the Repository class that will allow you to define an optional second parameter for both setFieldSelector() and setLabelSelector() that will add the specified Key=>Value pairs with a != operator to allow searches by inequality as well as just equality.

maclof commented 3 years ago

Thanks :)