docs: update get_host_journal container param to mention hive-ci and other siblings
This commit is contained in:
parent
12eac03324
commit
bc1c4d1cc5
1 changed files with 6 additions and 0 deletions
|
|
@ -1064,6 +1064,9 @@ impl AgentServer {
|
||||||
capability). All filters are optional - omit to get the last N host journal lines. \
|
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`). \
|
`unit`: filter to a systemd unit (e.g. `hive-c0re.service`). \
|
||||||
`container`: nspawn machine name verbatim (e.g. `h-iris`). Omit for host journal. \
|
`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). \
|
`lines`: how many lines (default 30, max 100). \
|
||||||
`priority`: minimum syslog level enum. \
|
`priority`: minimum syslog level enum. \
|
||||||
`grep`: regex matched against log message fields (journalctl --grep). \
|
`grep`: regex matched against log message fields (journalctl --grep). \
|
||||||
|
|
@ -1705,6 +1708,9 @@ pub struct GetHostJournalArgs {
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub unit: Option<String>,
|
pub unit: Option<String>,
|
||||||
/// nspawn machine name verbatim (e.g. `h-iris`). Omit for host journal.
|
/// 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)]
|
#[serde(default)]
|
||||||
pub container: Option<String>,
|
pub container: Option<String>,
|
||||||
/// Number of lines to return (default 30, max 100).
|
/// Number of lines to return (default 30, max 100).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue