Function kube_runtime::controller::trigger_with
source ยท pub fn trigger_with<T, K, I, S>(
stream: S,
mapper: impl Fn(T) -> I,
) -> impl Stream<Item = Result<ReconcileRequest<K>, S::Error>>
Expand description
Helper for building custom trigger filters, see the implementations of trigger_self
and trigger_owners
for some examples.