wip: Kube-rs demo
This commit is contained in:
8
harmony-rs/demo/kube-rs/src/main.rs
Normal file
8
harmony-rs/demo/kube-rs/src/main.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
use kube::Client;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let client = Client::try_default().await.expect("Should instanciate client from defaults");
|
||||
println!("apiserver_version {:?}", client.apiserver_version());
|
||||
println!("Hello world");
|
||||
}
|
||||
Reference in New Issue
Block a user