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 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)