19 releases (stable)

5.1.1 Mar 17, 2021
5.0.0 Jan 16, 2021
4.0.1 Dec 15, 2020
3.0.2 Nov 21, 2020
0.2.3 Feb 12, 2020

#73 in Rust patterns

Download history 205/week @ 2021-02-20 139/week @ 2021-02-27 165/week @ 2021-03-06 167/week @ 2021-03-13 340/week @ 2021-03-20 175/week @ 2021-03-27 415/week @ 2021-04-03 307/week @ 2021-04-10 259/week @ 2021-04-17 255/week @ 2021-04-24 127/week @ 2021-05-01 300/week @ 2021-05-08 167/week @ 2021-05-15 528/week @ 2021-05-22 252/week @ 2021-05-29 312/week @ 2021-06-05

1,111 downloads per month
Used in 3 crates

Apache-2.0

155KB
4K SLoC

Kubernetes Rust Client

This is similar to Kubernetes Go Client: https://github.com/kubernetes/client-go

Example of using the client:

use k8_client::K8Client;
use k8_obj_core::pod::{PodSpec,PodStatus};

async fn main() {

    let client = K8Client::default().expect("cluster not initialized");

    let pod_items = client.retrieve_items::<PodSpec,_>("default").await.expect("pods should exist");

    for pod in pod_items.items {
        println!("pod: {:#?}",pod);
    }
}

License

This project is licensed under the Apache license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Fluvio by you, shall be licensed as Apache, without any additional terms or conditions.

Dependencies

~9–14MB
~271K SLoC