Skip to main content

get_daemon_direct

Function get_daemon_direct 

Source
pub async fn get_daemon_direct(
    supervisor: &Supervisor,
    id: &DaemonId,
) -> Result<Option<DaemonListEntry>>
Expand description

Look up a single daemon by ID from state + config (for Web UI show handler).

Checks the state file first, then falls back to config files (including namespaces). Returns None if the daemon is not found anywhere.