pub enum InitialListStrategy {
ListWatch,
StreamingList,
}
Expand description
Configurable watcher listwatch semantics
Variants§
ListWatch
List first, then watch from given resouce version
This is the old and default way of watching. The watcher will do a paginated list call first before watching.
When using this mode, you can configure the page_size
on the watcher.
StreamingList
Kubernetes 1.27 Streaming Lists
See upstream documentation on streaming lists, and the KEP.
Trait Implementations§
source§impl Clone for InitialListStrategy
impl Clone for InitialListStrategy
source§fn clone(&self) -> InitialListStrategy
fn clone(&self) -> InitialListStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InitialListStrategy
impl Debug for InitialListStrategy
source§impl Default for InitialListStrategy
impl Default for InitialListStrategy
source§fn default() -> InitialListStrategy
fn default() -> InitialListStrategy
Returns the “default value” for a type. Read more
source§impl PartialEq for InitialListStrategy
impl PartialEq for InitialListStrategy
impl StructuralPartialEq for InitialListStrategy
Auto Trait Implementations§
impl Freeze for InitialListStrategy
impl RefUnwindSafe for InitialListStrategy
impl Send for InitialListStrategy
impl Sync for InitialListStrategy
impl Unpin for InitialListStrategy
impl UnwindSafe for InitialListStrategy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more