Interface Filterable<T>

    • 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.
      • withLabelNotIn

        T withLabelNotIn​(String key,
                         String... values)
      • withLabel

        default T withLabel​(String key)
      • withoutLabel

        default T withoutLabel​(String key)
      • 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)
      • withLabelSelector

        T withLabelSelector​(String selectorAsString)
      • withInvolvedObject

        T withInvolvedObject​(io.fabric8.kubernetes.api.model.ObjectReference objectReference)
        Filter with the object that this event is about.
        Parameters:
        objectReference - ObjectReference for providing information of referred object
        Returns:
        filtered resource