14 releases (9 stable)

3.0.2 Nov 21, 2020
2.1.0 Sep 30, 2020
1.1.2 Sep 23, 2020
1.1.1 May 11, 2020
0.2.3 Feb 12, 2020
Download history 199/week @ 2020-08-13 559/week @ 2020-08-20 349/week @ 2020-08-27 399/week @ 2020-09-03 759/week @ 2020-09-10 501/week @ 2020-09-17 988/week @ 2020-09-24 888/week @ 2020-10-01 889/week @ 2020-10-08 279/week @ 2020-10-15 541/week @ 2020-10-22 701/week @ 2020-10-29 505/week @ 2020-11-05 565/week @ 2020-11-12 901/week @ 2020-11-19 221/week @ 2020-11-26

2,676 downloads per month
Used in 3 crates

Apache-2.0

140KB
3.5K 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

~8–13MB
~256K SLoC