docs: update get_host_journal container param to mention hive-ci and other siblings

This commit is contained in:
damocles 2026-06-04 21:27:05 +02:00 committed by mara
commit bc1c4d1cc5

View file

@ -1064,6 +1064,9 @@ impl AgentServer {
capability). All filters are optional - omit to get the last N host journal lines. \
`unit`: filter to a systemd unit (e.g. `hive-c0re.service`). \
`container`: nspawn machine name verbatim (e.g. `h-iris`). Omit for host journal. \
Agent containers use the `h-` prefix (e.g. `h-iris`, `h-atlas`); \
infrastructure containers use their full name (e.g. `hive-ci`, `hive-forge`, \
`hive-matrix`, `hive-gateway`). \
`lines`: how many lines (default 30, max 100). \
`priority`: minimum syslog level enum. \
`grep`: regex matched against log message fields (journalctl --grep). \
@ -1705,6 +1708,9 @@ pub struct GetHostJournalArgs {
#[serde(default)]
pub unit: Option<String>,
/// nspawn machine name verbatim (e.g. `h-iris`). Omit for host journal.
/// Agent containers use the `h-` prefix (e.g. `h-iris`); infrastructure
/// containers use their full name (e.g. `hive-ci`, `hive-forge`,
/// `hive-matrix`, `hive-gateway`).
#[serde(default)]
pub container: Option<String>,
/// Number of lines to return (default 30, max 100).