Rename client crate
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
parent
d3852a5fcd
commit
77bfce3a50
|
|
@ -1,6 +1,6 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"crates/client-protos",
|
"crates/client",
|
||||||
"crates/logging",
|
"crates/logging",
|
||||||
"crates/shim-protos",
|
"crates/shim-protos",
|
||||||
"crates/shim"
|
"crates/shim"
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ This repository contains the following crates:
|
||||||
| [containerd-shim-protos](crates/shim-protos) | TTRPC bindings to shim interfaces |
|
| [containerd-shim-protos](crates/shim-protos) | TTRPC bindings to shim interfaces |
|
||||||
| [containerd-shim-logging](crates/logging) | Shim logger |
|
| [containerd-shim-logging](crates/logging) | Shim logger |
|
||||||
| [containerd-shim](crates/shim) | Runtime v2 shim wrapper 🚧 |
|
| [containerd-shim](crates/shim) | Runtime v2 shim wrapper 🚧 |
|
||||||
| [containerd-client-protos](crates/client-protos) | GRPC bindings to containerd APIs |
|
| [containerd-client](crates/client) | GRPC bindings to containerd APIs |
|
||||||
|
|
||||||
## How to build
|
## How to build
|
||||||
The build process as easy as:
|
The build process as easy as:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "containerd-client-protos"
|
name = "containerd-client"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Maksym Pavlenko <pavlenko.maksym@gmail.com>"]
|
authors = ["Maksym Pavlenko <pavlenko.maksym@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
use std::convert::TryFrom;
|
use std::convert::TryFrom;
|
||||||
use tokio::net::UnixStream;
|
use tokio::net::UnixStream;
|
||||||
|
|
||||||
use containerd_client_protos as protos;
|
use containerd_client::services::v1::version_client::VersionClient;
|
||||||
use protos::services::v1::version_client::VersionClient;
|
use containerd_client::tonic::transport::Endpoint;
|
||||||
use protos::tonic::transport::Endpoint;
|
|
||||||
|
|
||||||
/// Make sure you run containerd before running this example.
|
/// Make sure you run containerd before running this example.
|
||||||
#[tokio::main(flavor = "current_thread")]
|
#[tokio::main(flavor = "current_thread")]
|
||||||
Loading…
Reference in New Issue