Docs.rs
  • kube-runtime-0.99.0
    • kube-runtime 0.99.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • clux
    • github:kube-rs:release
    • Dependencies
      • ahash ^0.8 normal
      • async-broadcast ^0.7.0 normal
      • async-stream ^0.3.5 normal
      • async-trait ^0.1.64 normal
      • backon ^1.3 normal
      • educe ^0.6.0 normal
      • futures ^0.3.17 normal
      • hashbrown ^0.15.0 normal
      • hostname ^0.4 normal
      • json-patch ^4 normal
      • k8s-openapi ^0.24.0 normal
      • kube-client =0.99.0 normal
      • parking_lot ^0.12.0 normal
      • pin-project ^1.0.4 normal
      • serde ^1.0.130 normal
      • serde_json ^1.0.68 normal
      • thiserror ^2.0.3 normal
      • tokio ^1.14.0 normal
      • tokio-util ^0.7.0 normal
      • tracing ^0.1.36 normal
      • k8s-openapi ^0.24.0 dev
      • kube <2.0.0, >=0.98.0 dev
      • rand ^0.9.0 dev
      • schemars ^0.8.6 dev
      • serde_json ^1.0.68 dev
      • serde_yaml ^0.9.19 dev
      • tokio ^1.14.0 dev
      • tracing-subscriber ^0.3.17 dev
    • Versions
    • 79.92% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate kube_runtime

kube_runtime0.99.0

  • All Items

Crate Items

  • Re-exports
  • Modules

Crates

  • kube_runtime

Crate kube_runtime

Source
Expand description

Common components for building Kubernetes operators

This crate contains the core building blocks to allow users to build controllers/operators/watchers that need to synchronize/reconcile kubernetes state.

Newcomers are recommended to start with the Controller builder, which gives an opinionated starting point that should be appropriate for simple operators, but all components are designed to be usable á la carte if your operator doesn’t quite fit that mold.

Re-exports§

pub use controller::applier;
pub use controller::Config;
pub use controller::Controller;
pub use finalizer::finalizer;
pub use reflector::reflector;
pub use scheduler::scheduler;
pub use utils::WatchStreamExt;
pub use watcher::metadata_watcher;
pub use watcher::watcher;
pub use utils::predicates;
pub use utils::Predicate;
pub use wait::conditions;

Modules§

controller
Runs a user-supplied reconciler function on objects when they (or related objects) are updated
events
Publishes events for objects for kubernetes >= 1.19
finalizer
Finalizer helper for Controller reconcilers
reflector
Caches objects in memory
scheduler
Delays and deduplicates Stream items
utils
Helpers for manipulating built-in streams
wait
Waits for objects to reach desired states
watcher
Watches a Kubernetes Resource for changes, with error recovery

Results

Settings
Help
    trait
    kube_runtime::utils::Backoff
    method
    kube_runtime::utils::WatchStreamExt::backoff
    Apply a specific Backoff policy to a Stream using …
    struct
    kube_runtime::utils::StreamBackoff
    Applies a Backoff policy to a Stream
    struct
    kube_runtime::watcher::DefaultBackoff
    Default watcher backoff inspired by Kubernetes’ …
    method
    kube_runtime::utils::WatchStreamExt::default_backoff
    Apply the DefaultBackoff watcher Backoff policy
    method
    kube_runtime::controller::Controller::trigger_backoff
    Specify the backoff policy for “trigger” watches
    struct
    kube_runtime::utils::ResetTimerBackoff
    A Backoff wrapper that resets after a fixed duration has …
    struct
    kube_runtime::watcher::ExponentialBackoff
    method
    kube_runtime::utils::WatchStreamExt::backoff
    WatchStreamExt, B -> StreamBackoff<WatchStreamExt, B>
    where
    B: Backoff
    Apply a specific Backoff policy to a Stream using …
    trait method
    kube_runtime::utils::Backoff::reset
    &mut Backoff -> ()
    Resets the internal state to the initial value.
    method
    kube_runtime::utils::ResetTimerBackoff::new
    B, Duration -> ResetTimerBackoff<B>
    where
    B: Backoff
    method
    kube_runtime::utils::StreamBackoff::new
    S, B -> StreamBackoff<S, B>
    where
    B: Backoff
    method
    kube_runtime::controller::Controller::trigger_backoff
    Controller<K>, undefined -> Controller<K>
    where
    undefined: Backoff
    Specify the backoff policy for “trigger” watches
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.