rust-extensions/crates/client
Bryant Biggs 5e1b7760a1 chore: Standardize Cargo.toml files, enable more workspace dependencies 2023-09-21 13:04:22 -04:00
..
examples Improve containerd client ergonomics 2023-08-09 12:03:36 -07:00
src fix: Remove runtime protos and add streaming and transfer services into build.rs 2023-09-18 21:31:53 +00:00
vendor fix: Remove runtime protos and add streaming and transfer services into build.rs 2023-09-18 21:31:53 +00:00
Cargo.toml chore: Standardize Cargo.toml files, enable more workspace dependencies 2023-09-21 13:04:22 -04:00
README.md Update README 2022-02-11 10:10:42 -08:00
build.rs fix: Remove runtime protos and add streaming and transfer services into build.rs 2023-09-18 21:31:53 +00: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());