arcbox-grpc 0.1.6

gRPC service clients and servers for ArcBox (tonic + prost)
docs.rs failed to build arcbox-grpc-0.1.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: arcbox-grpc-0.0.1-alpha.1

arcbox-grpc

gRPC client/server bindings for ArcBox services.

Overview

This crate contains tonic-generated service modules for the arcbox.v1 package, with protobuf messages sourced from arcbox-protocol.

All generated services are available under arcbox_grpc::v1::*.

Crate-Root Re-exports

For convenience, crate root currently re-exports:

  • Clients: MachineServiceClient, AgentServiceClient, VolumeServiceClient
  • Servers: MachineService, MachineServiceServer, AgentService, AgentServiceServer, VolumeService, VolumeServiceServer

Other generated clients/servers (for example container/image/network/system) are available via arcbox_grpc::v1::<service_module>::....

Usage

use arcbox_grpc::MachineServiceClient;
use arcbox_protocol::v1::ListMachinesRequest;

let request = tonic::Request::new(ListMachinesRequest { all: true });
// client.list(request).await?;
# let _ = request;

License

MIT OR Apache-2.0