Trait kube_runtime::WatchStreamExt
source · [−]pub trait WatchStreamExt: Stream {
fn backoff<B>(self, b: B) -> StreamBackoff<Self, B>
where
B: Backoff,
Self: TryStream + Sized,
{ ... }
fn applied_objects<K>(self) -> EventFlatten<Self, K>
where
Self: Stream<Item = Result<Event<K>, Error>> + Sized,
{ ... }
fn touched_objects<K>(self) -> EventFlatten<Self, K>
where
Self: Stream<Item = Result<Event<K>, Error>> + Sized,
{ ... }
}
Provided Methods
sourcefn backoff<B>(self, b: B) -> StreamBackoff<Self, B>where
B: Backoff,
Self: TryStream + Sized,
fn backoff<B>(self, b: B) -> StreamBackoff<Self, B>where
B: Backoff,
Self: TryStream + Sized,
Apply a Backoff
policy to a [Stream
] using StreamBackoff
sourcefn applied_objects<K>(self) -> EventFlatten<Self, K>where
Self: Stream<Item = Result<Event<K>, Error>> + Sized,
fn applied_objects<K>(self) -> EventFlatten<Self, K>where
Self: Stream<Item = Result<Event<K>, Error>> + Sized,
Flatten a watcher()
stream into a stream of applied objects
All Added/Modified events are passed through, and critical errors bubble up.
sourcefn touched_objects<K>(self) -> EventFlatten<Self, K>where
Self: Stream<Item = Result<Event<K>, Error>> + Sized,
fn touched_objects<K>(self) -> EventFlatten<Self, K>where
Self: Stream<Item = Result<Event<K>, Error>> + Sized,
Flatten a watcher()
stream into a stream of touched objects
All Added/Modified/Deleted events are passed through, and critical errors bubble up.