rust-extensions/crates/client
Maksym Pavlenko 9d2ad01aa7 Remove vulnerable dependency found by cargo deny
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-09-19 15:12:58 -07: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 Update client dependencies 2022-09-19 15:12:40 -07:00
Cargo.toml Remove vulnerable dependency found by cargo deny 2022-09-19 15:12:58 -07:00
README.md Update README 2022-02-11 10:10:42 -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());