manta-shared 2.0.0-beta.59

Shared types and pure helpers used by both manta-cli and manta-server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Parameters for `GET /clusters`.

/// Typed parameters for fetching cluster node details.
pub struct GetClusterParams {
  /// Cluster group name to query; falls back to
  /// `settings_group_name` when absent.
  pub group_name: Option<String>,
  /// Operator default from `cli.toml`'s `hsm_group`.
  pub settings_group_name: Option<String>,
  /// Optional power-status filter (e.g. `OFF`, `ON`, `READY`,
  /// `STANDBY`, `PENDING`, `FAILED`, `CONFIGURED`); returns all nodes
  /// when absent.
  pub status_filter: Option<String>,
}