Package io.fabric8.kubernetes.client.dsl
Interface Filterable<T>
-
- Type Parameters:
T-
- All Known Subinterfaces:
AnyNamespaceOperation<T,L,R>,FilterNested<T>,FilterWatchListDeletable<T,L,R>,MixedOperation<T,L,R>,NonNamespaceOperation<T,L,R>,ParameterMixedOperation<T,L,R>
public interface Filterable<T>Each filter method applies in an additive way to the previous filter state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description TwithField(String key, String value)TwithFields(Map<String,String> fields)TwithInvolvedObject(io.fabric8.kubernetes.api.model.ObjectReference objectReference)Filter with the object that this event is about.default TwithLabel(String key)TwithLabel(String key, String value)TwithLabelIn(String key, String... values)TwithLabelNotIn(String key, String... values)TwithLabels(Map<String,String> labels)TwithLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)TwithLabelSelector(String selectorAsString)TwithoutField(String key, String value)TwithoutFields(Map<String,String> fields)Deprecated.as the underlying implementation does not align with the arguments fully.default TwithoutLabel(String key)TwithoutLabel(String key, String value)TwithoutLabels(Map<String,String> labels)Deprecated.as the underlying implementation does not align with the arguments anymore.
-
-
-
Method Detail
-
withoutLabels
@Deprecated T withoutLabels(Map<String,String> labels)
Deprecated.as the underlying implementation does not align with the arguments anymore. It is possible to negate multiple values with the same key, e.g.: foo != bar , foo != baz To support this a multi-value map is needed, as a regular map would override the key with the new value.
-
withoutFields
@Deprecated T withoutFields(Map<String,String> fields)
Deprecated.as the underlying implementation does not align with the arguments fully. Method is created to have a similar API as `withoutLabels`, but should eventually be replaced with something better for the same reasons. It is possible to negate multiple values with the same key, e.g.: foo != bar , foo != baz To support this a multi-value map is needed, as a regular map would override the key with the new value.
-
withLabelSelector
T withLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
-
withInvolvedObject
T withInvolvedObject(io.fabric8.kubernetes.api.model.ObjectReference objectReference)
Filter with the object that this event is about.- Parameters:
objectReference-ObjectReferencefor providing information of referred object- Returns:
- filtered resource
-
-