Skip to main content

Module client

Module client 

Source

Functions§

add_node
Add node(s) to the registry via the daemon REST API.
dismiss_node
Dismiss a node — remove it from the registry — via the daemon REST API.
fleet_health
Get the current fleet health snapshot via the daemon REST API.
info
Get daemon connection info for programmatic use.
log_forward_disable
Disable log forwarding via the daemon.
log_forward_enable
Enable log forwarding via the daemon, so it starts shipping immediately.
log_forward_status
Read the daemon’s log-forwarding status.
node_status
Get the status of all registered nodes via the daemon REST API.
reset
Reset all node state — clear the registry and remove node data/log directories — via the daemon REST API.
resolve_node_id_by_name
Resolve a node’s ID from its service name via the daemon REST API.
run
Run the daemon in the foreground (the actual daemon process entry point).
start
Start the daemon as a detached background process.
start_all_nodes
Start all registered nodes via the daemon REST API.
start_node
Start a specific node by ID via the daemon REST API.
status
Get the daemon’s current status by querying its REST API.
stop
Stop the running daemon.
stop_all_nodes
Stop all running nodes via the daemon REST API.
stop_node
Stop a specific node by ID via the daemon REST API.