Skip to main content

greentic_setup/admin/
mod.rs

1//! Admin API types and configuration for secure bundle lifecycle management.
2//!
3//! This module defines the types and configuration for an mTLS-secured admin
4//! API that enables runtime bundle deployment, upgrade, and removal without
5//! operator restart.
6//!
7//! The actual HTTP server and routes live in the consuming crate
8//! (e.g. greentic-operator), which mounts these handlers on a dedicated port.
9
10pub mod routes;
11pub mod tls;
12
13pub use routes::{
14    AdminRequest, AdminResponse, BundleDeployRequest, BundleStatus, BundleStatusResponse,
15    QaSubmitRequest, QaValidateRequest,
16};
17pub use tls::AdminTlsConfig;