Preserve the in-progress cluster RPC experiment for archival

This commit is contained in:
2026-12-03 04:44:00 +08:00
parent 83a30fad4a
commit 6a81ed95a1
9 changed files with 376 additions and 22 deletions
+19
View File
@@ -0,0 +1,19 @@
//! Shared wire contract for querying the Bedrock instance serving the request.
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub struct StatusRequest {}
#[derive(Deserialize, Serialize)]
pub struct DeploymentStatus {
pub deployment: String,
pub config_version: Option<String>,
pub storage_driver: String,
pub read_only: bool,
}
bedrock_rpc::service! {
"/admin/v1/deployment" {
fn status(StatusRequest) -> DeploymentStatus;
}
}