Enum kube_runtime::watcher::InitialListStrategy
source · 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<InitialListStrategy> for InitialListStrategy
impl PartialEq<InitialListStrategy> for InitialListStrategy
source§fn eq(&self, other: &InitialListStrategy) -> bool
fn eq(&self, other: &InitialListStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InitialListStrategy
Auto Trait Implementations§
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