cli

Command-line interface for Radroots
git clone https://radroots.dev/git/cli.git
Log | Files | Refs | README | LICENSE

health.rs (704B)


      1 use super::{ApprovalPolicy, OperationRole, OperationSpec, RiskLevel};
      2 
      3 pub const HEALTH_STATUS_GET: OperationSpec = operation!(
      4     "health.status.get",
      5     "radroots health status get",
      6     "health",
      7     "health_status_get",
      8     "HealthStatusGetRequest",
      9     "HealthStatusGetResult",
     10     "Get concise health and readiness status.",
     11     Any,
     12     false,
     13     None,
     14     Low,
     15     true,
     16     false
     17 );
     18 
     19 pub const HEALTH_CHECK_RUN: OperationSpec = operation!(
     20     "health.check.run",
     21     "radroots health check run",
     22     "health",
     23     "health_check_run",
     24     "HealthCheckRunRequest",
     25     "HealthCheckRunResult",
     26     "Run comprehensive diagnostics.",
     27     Any,
     28     false,
     29     None,
     30     Low,
     31     true,
     32     false
     33 );