Skip to main content

Module event

Module event 

Source
Expand description

Domain events and their payload types.

Background tasks (metrics poller, SFTP, PTY sessions, discovery, the update checker) report back to the frontend by sending CoreEvent values over an mpsc channel. Frontends wrap these into their own event type alongside input events.

Structs§

DetectedService
Describes a service detected on a remote server.
Metrics
Live metrics collected from a remote server.
ProcessInfo
A single process entry for the “top processes” panel.
ServiceMetric
A metric collected from a specific service.

Enums§

CoreEvent
Domain events produced by the SSH engine, config loaders, and the update checker. Background tasks send these over a dedicated channel; the frontend wraps them into its own event stream.
MetricValue
Typed metric value.
ServiceKind
Type of service detected on the server. Only 5 core services are supported: Docker, Nginx, PostgreSQL, Redis, Node.js.

Type Aliases§

HostId
Placeholder type aliases for future stages. HostId is the host’s name field — stable, human-readable key.
SessionId
TransferId