rust-extensions/crates/client
Yuna Tomida 8bbd4e7baf
fixed clippy warnings in shim::args and example in client
Signed-off-by: Yuna Tomida <ytomida.mmm@gmail.com>
2022-02-03 13:35:24 +00:00
..
examples fixed clippy warnings in shim::args and example in client 2022-02-03 13:35:24 +00:00
src containerd-client: add task service and with_namespace macro 2021-12-19 20:09:17 -08:00
vendor Rename client crate 2021-07-26 17:06:06 -07:00
Cargo.toml Update dependencies 2021-12-28 10:54:59 +02:00
README.md Add badges 2021-12-10 11:35:52 -08:00
build.rs containerd-client: add task service and with_namespace macro 2021-12-19 20:09:17 -08:00

README.md

containerd GRPC client

Crates.io docs.rs Crates.io CI

This crate implements a GRPC client to query containerd APIs.

Example

// Launch containerd at /run/containerd/containerd.sock
let channel = connect("/run/containerd/containerd.sock").await?;

let mut client = VersionClient::new(channel);
let resp = client.version(()).await?;

println!("Response: {:?}", resp.get_ref());