manta_server/backend_dispatcher/
apply_hw_cluster_pin.rs

1//! `ApplyHwClusterPin` impl for `StaticBackendDispatcher`.
2
3use super::*;
4
5impl ApplyHwClusterPin for StaticBackendDispatcher {
6  async fn apply_hw_cluster_pin(
7    &self,
8    token: &str,
9    target_group_name: &str,
10    parent_group_name: &str,
11    pattern: &str,
12    nodryrun: bool,
13    create_target_group: bool,
14    delete_empty_parent_group: bool,
15  ) -> Result<(), Error> {
16    dispatch!(
17      self,
18      apply_hw_cluster_pin,
19      token,
20      target_group_name,
21      parent_group_name,
22      pattern,
23      nodryrun,
24      create_target_group,
25      delete_empty_parent_group
26    )
27  }
28}