rust-extensions/crates/client
Maksym Pavlenko d901356551 Update dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2021-12-28 10:54:59 +02:00
..
examples containerd-client: add example to create container and task 2021-12-19 20:09:17 -08: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());