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]
|
||||
members = [
|
||||
"crates/client-protos",
|
||||
"crates/client",
|
||||
"crates/logging",
|
||||
"crates/shim-protos",
|
||||
"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-logging](crates/logging) | Shim logger |
|
||||
| [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
|
||||
The build process as easy as:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "containerd-client-protos"
|
||||
name = "containerd-client"
|
||||
version = "0.1.0"
|
||||
authors = ["Maksym Pavlenko <pavlenko.maksym@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
use std::convert::TryFrom;
|
||||
use tokio::net::UnixStream;
|
||||
|
||||
use containerd_client_protos as protos;
|
||||
use protos::services::v1::version_client::VersionClient;
|
||||
use protos::tonic::transport::Endpoint;
|
||||
use containerd_client::services::v1::version_client::VersionClient;
|
||||
use containerd_client::tonic::transport::Endpoint;
|
||||
|
||||
/// Make sure you run containerd before running this example.
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
Loading…
Reference in New Issue