4 releases

0.2.0 Mar 7, 2022
0.1.2 Dec 11, 2021
0.1.1 Dec 10, 2021
0.1.0 Dec 10, 2021

#15 in #containerd

22 downloads per month

Apache-2.0

41KB
110 lines

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());

lib.rs:

A GRPC client to query containerd's API.

Dependencies

~5–10MB
~162K SLoC