manta-shared 2.0.0-beta.13

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
15
16
17
18
//! Parameters for `GET /kernel-parameters`.
//!
//! The internal `KernelParamOperation` enum used by the server's
//! kernel-parameter orchestration is not exposed here — it lives in
//! `crate::service::kernel_parameters` because it carries operational logic
//! (mutate, handles_sbps_images) rather than wire data.

/// Typed parameters for fetching kernel boot parameters.
pub struct GetKernelParametersParams {
  /// HSM group whose members' kernel parameters should be returned.
  pub hsm_group: Option<String>,
  /// Explicit comma-separated xnames; mutually exclusive with
  /// `hsm_group`.
  pub nodes: Option<String>,
  /// Operator default from `cli.toml`'s `parent_hsm_group`, used
  /// when neither `hsm_group` nor `nodes` is supplied.
  pub settings_hsm_group_name: Option<String>,
}