arcbox-api 0.1.5

API server for ArcBox (gRPC + REST)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # arcbox-api
//!
//! gRPC service implementations for `ArcBox`.
//!
//! This crate hosts service implementations consumed by the `arcbox-daemon`
//! binary. It provides machine and sandbox gRPC services.

pub mod error;
pub mod grpc;

// Re-export gRPC service types from arcbox-grpc for convenience.
pub use arcbox_grpc::v1::{machine_service_client, machine_service_server};
pub use arcbox_grpc::{
    SandboxService, SandboxServiceServer, SandboxSnapshotService, SandboxSnapshotServiceServer,
};

pub use error::{ApiError, Result};
pub use grpc::{MachineServiceImpl, SandboxServiceImpl, SandboxSnapshotServiceImpl};