Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc1c4d1cc5 | ||
|
|
12eac03324 |
2 changed files with 7 additions and 1 deletions
|
|
@ -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).
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ pub const MANAGER_NAME: &str = "ruth";
|
|||
pub const AGENT_PREFIX: &str = "h-";
|
||||
|
||||
/// Sibling service containers managed by hive-c0re.
|
||||
pub const SIBLING_CONTAINERS: &[&str] = &["hive-forge", "hive-matrix", "hive-gateway"];
|
||||
pub const SIBLING_CONTAINERS: &[&str] = &["hive-forge", "hive-matrix", "hive-gateway", "hive-ci"];
|
||||
|
||||
/// Host path of the meta flake. The flake ref for agent `<name>` is
|
||||
/// `{META_DIR}#{name}`, derived by `hive-priv` — never passed over the wire.
|
||||
|
|
|
|||
Loading…
Reference in a new issue