devops_armory/logrotate/models.rs
1#[derive(Debug, Clone)]
2pub struct CreateSpec {
3 pub mode: u32,
4 pub owner: String,
5 pub group: String,
6}
7
8#[derive(Debug, Clone)]
9pub struct LogrotateConfig {
10 pub frequency: Option<String>,
11 pub rotate: Option<u32>,
12 pub compress: bool,
13 pub delaycompress: bool,
14 pub missingok: bool,
15 pub notifempty: bool,
16 pub create: Option<CreateSpec>,
17 pub sharedscripts: bool,
18 pub postrotate: Option<String>,
19}