Skip to main content

manta_shared/shared/params/
hw_cluster.rs

1//! Shared types for hardware-cluster operations.
2
3/// Whether the hw cluster operation moves nodes into the target (Pin) or
4/// releases them back (Unpin).
5#[derive(Debug, Clone, Copy, PartialEq, Eq)]
6pub enum HwClusterMode {
7  /// Move nodes matching the hardware pattern from the parent cluster
8  /// into the target cluster.
9  Pin,
10  /// Move nodes matching the hardware pattern from the target cluster
11  /// back to the parent cluster.
12  Unpin,
13}