pub struct ObservedState {
pub scan: ScanStatus,
pub mode: Option<String>,
pub read_back: BTreeMap<String, Remote>,
pub files: Vec<(String, PlanStatus)>,
pub logs: Result<Vec<LogLine>, String>,
pub probes: Option<Result<Vec<ProbeReading>, String>>,
pub unreadable: Vec<(String, bool)>,
pub mode_copies: BTreeMap<String, Vec<String>>,
}Expand description
What the action read.
Fields§
§scan: ScanStatusThe config scan status (gateway clock).
mode: Option<String>The normalised active deployment mode.
read_back: BTreeMap<String, Remote>Per declared, compared resource key.
files: Vec<(String, PlanStatus)>Plan status per declared tag unit key.
logs: Result<Vec<LogLine>, String>The log lines since the last scan, or the slug of why they could not be read.
probes: Option<Result<Vec<ProbeReading>, String>>The probe readings, or the slug of why they could not be read; None
when no probe read was made.
unreadable: Vec<(String, bool)>The units with a live path the host’s sftp server cannot read
(quick-261029-ms3): unit key and whether it is declared. Never
treated as absent: a declared one is a red unreadable finding, an
undeclared one a warning.
mode_copies: BTreeMap<String, Vec<String>>A redundant pair’s declared tag units that also have files in the master’s mode collection (quick 261103-ell, F2): unit key to those mode paths, byte-sorted. Filled only on a pair; empty on a standalone target.