T
- public interface Filterable<T>
Modifier and Type | Method and Description |
---|---|
T |
withField(String key,
String value) |
T |
withFields(Map<String,String> fields) |
T |
withInvolvedObject(io.fabric8.kubernetes.api.model.ObjectReference objectReference)
Filter with the object that this event is about.
|
default T |
withLabel(String key) |
T |
withLabel(String key,
String value) |
T |
withLabelIn(String key,
String... values) |
T |
withLabelNotIn(String key,
String... values) |
T |
withLabels(Map<String,String> labels) |
T |
withLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) |
T |
withLabelSelector(String selectorAsString) |
T |
withoutField(String key,
String value) |
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.
|
default T |
withoutLabel(String key) |
T |
withoutLabel(String key,
String value) |
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.
|
@Deprecated T withoutLabels(Map<String,String> labels)
@Deprecated T withoutFields(Map<String,String> fields)
T withLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
T withInvolvedObject(io.fabric8.kubernetes.api.model.ObjectReference objectReference)
objectReference
- ObjectReference
for providing information of referred objectCopyright © 2015–2020 Red Hat. All rights reserved.