pub enum AdminSseEvent {
Show 17 variants
HostUpdated {
id: Uuid,
},
HostCreated {
id: Uuid,
},
HostDeleted {
id: Uuid,
},
ServiceStatusChanged {
id: Uuid,
status: String,
},
SoftwareItemUpdated {
id: Uuid,
},
SoftwareItemCreated {
id: Uuid,
},
VersionCheckCompleted {
host_id: Uuid,
software_item_id: Uuid,
},
UpdateTriggered {
update_history_id: Uuid,
host_id: Uuid,
software_item_id: Uuid,
},
UpdateStarted {
update_history_id: Uuid,
host_id: Uuid,
software_item_id: Uuid,
interactive: bool,
},
UpdateCompleted {
update_history_id: Uuid,
host_id: Uuid,
software_item_id: Uuid,
status: String,
},
DiscoveryCompleted {
host_id: Uuid,
},
HostPackagesChanged {
host_id: Uuid,
},
BatchHostPackageUpdateCompleted {
host_id: Uuid,
},
SystemServiceStatusChanged {
id: Uuid,
status: String,
},
SchedulerTaskCompleted {
task_id: Uuid,
},
DataReset,
Unknown {
event_type: String,
data: String,
},
}Expand description
A typed SSE event from the admin events stream.
Mirrors AdminEvent variants
with an additional Unknown catch-all for forward
compatibility when the server emits new event types.
Variants§
HostUpdated
A host’s metadata was updated.
HostCreated
A new host was created.
HostDeleted
A host was deactivated / deleted.
ServiceStatusChanged
A service’s status changed.
SoftwareItemUpdated
A software item was updated.
SoftwareItemCreated
A new software item was created.
VersionCheckCompleted
A version check completed for a host + software item pair.
UpdateTriggered
A software update was created and dispatched to the agent.
UpdateStarted
A software update started executing.
Fields
UpdateCompleted
A software update completed.
DiscoveryCompleted
Autodiscovery completed for a host.
HostPackagesChanged
Host packages changed.
BatchHostPackageUpdateCompleted
A batch host package update completed.
SystemServiceStatusChanged
A system service’s status changed.
SchedulerTaskCompleted
A scheduled task completed execution.
DataReset
All tenant data was reset.
Unknown
An unrecognised event type from a newer server version.
Trait Implementations§
Source§impl Clone for AdminSseEvent
impl Clone for AdminSseEvent
Source§fn clone(&self) -> AdminSseEvent
fn clone(&self) -> AdminSseEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more