manta_server/backend_dispatcher/
delete_configurations.rs1use super::*;
5
6impl DeleteConfigurationsAndDataRelatedTrait for StaticBackendDispatcher {
7 async fn get_data_to_delete(
8 &self,
9 token: &str,
10 group_name_available_vec: &[String],
11 configuration_name_pattern_opt: Option<&str>,
12 since_opt: Option<NaiveDateTime>,
13 until_opt: Option<NaiveDateTime>,
14 ) -> Result<
15 (
16 Vec<CfsSessionGetResponse>,
17 Vec<(String, String, String)>,
18 Vec<String>,
19 Vec<String>,
20 Vec<(String, String, String)>,
21 Vec<CfsConfigurationResponse>,
22 ),
23 Error,
24 > {
25 dispatch!(
26 self,
27 get_data_to_delete,
28 token,
29 group_name_available_vec,
30 configuration_name_pattern_opt,
31 since_opt,
32 until_opt
33 )
34 }
35
36 async fn delete(
37 &self,
38 token: &str,
39 cfs_configuration_name_vec: &[String],
40 image_id_vec: &[String],
41 cfs_session_name_vec: &[String],
42 bos_sessiontemplate_name_vec: &[String],
43 ) -> Result<(), Error> {
44 dispatch!(
45 self,
46 delete,
47 token,
48 cfs_configuration_name_vec,
49 image_id_vec,
50 cfs_session_name_vec,
51 bos_sessiontemplate_name_vec
52 )
53 }
54}