Function kube_runtime::controller::trigger_with [−][src]
pub fn trigger_with<T, K, I, S>(
stream: S,
mapper: impl Fn(T) -> I
) -> impl Stream<Item = Result<ObjectRef<K>, S::Error>> where
S: TryStream<Ok = T>,
I: IntoIterator<Item = ObjectRef<K>>,
K: Resource,
Helper for building custom trigger filters, see the implementations of trigger_self
and trigger_owners
for some examples.