Tests pass

This commit is contained in:
Dominik Werder
2021-10-14 22:34:06 +02:00
parent 3b917d6bd3
commit 7b79070e8a
16 changed files with 756 additions and 258 deletions

View File

@@ -123,6 +123,11 @@ pub struct ArchiverAppliance {
pub data_base_paths: Vec<PathBuf>,
}
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct ChannelArchiver {
pub data_base_paths: Vec<PathBuf>,
}
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct Node {
pub host: String,
@@ -135,6 +140,7 @@ pub struct Node {
pub backend: String,
pub splits: Option<Vec<u64>>,
pub archiver_appliance: Option<ArchiverAppliance>,
pub channel_archiver: Option<ChannelArchiver>,
}
impl Node {
@@ -150,6 +156,7 @@ impl Node {
backend: "dummybackend".into(),
splits: None,
archiver_appliance: None,
channel_archiver: None,
}
}
}