Skip to main content

manta_shared/shared/params/
image.rs

1//! Parameters for `GET /images`.
2
3/// Typed parameters for fetching IMS images.
4pub struct GetImagesParams {
5  /// Exact IMS image ID; returns just that image when set.
6  pub id: Option<String>,
7  /// Regex to filter images by name.
8  pub pattern: Option<String>,
9  /// Operator default from `cli.toml`'s `parent_hsm_group`, used
10  /// as a fallback for `hsm_group`.
11  pub settings_hsm_group_name: Option<String>,
12  /// Cap on the number of images returned (most recent first).
13  pub limit: Option<u8>,
14}