New crate generating Rust gRPC stubs from the official containerd proto files (vendored as git submodule). Full client-facing API surface using tonic 0.14 / prost 0.14. No transitive dependency conflicts. Services: containers, content, diff, events, images, introspection, leases, mounts, namespaces, sandbox, snapshots, streaming, tasks, transfer, version.
28 lines
1.1 KiB
Rust
28 lines
1.1 KiB
Rust
//! Generated gRPC stubs for the full containerd API.
|
|
//!
|
|
//! Built from the official containerd proto files at
|
|
//! <https://github.com/containerd/containerd/tree/main/api>.
|
|
//!
|
|
//! The module structure mirrors the protobuf package hierarchy:
|
|
//!
|
|
//! ```rust,ignore
|
|
//! use wfe_containerd_protos::containerd::services::containers::v1::containers_client::ContainersClient;
|
|
//! use wfe_containerd_protos::containerd::services::tasks::v1::tasks_client::TasksClient;
|
|
//! use wfe_containerd_protos::containerd::services::images::v1::images_client::ImagesClient;
|
|
//! use wfe_containerd_protos::containerd::services::version::v1::version_client::VersionClient;
|
|
//! use wfe_containerd_protos::containerd::types::Mount;
|
|
//! use wfe_containerd_protos::containerd::types::Descriptor;
|
|
//! ```
|
|
|
|
#![allow(clippy::all)]
|
|
#![allow(warnings)]
|
|
|
|
// tonic-build generates a mod.rs that defines the full module tree
|
|
// matching the protobuf package structure.
|
|
include!(concat!(env!("OUT_DIR"), "/mod.rs"));
|
|
|
|
/// Re-export tonic and prost for downstream convenience.
|
|
pub use prost;
|
|
pub use prost_types;
|
|
pub use tonic;
|