pub enum BusEvent {
Show 13 variants
HostStarted(String),
HostStopped(String),
ActorStarting {
actor: String,
host: String,
},
ActorStarted {
actor: String,
host: String,
},
ActorStopped {
actor: String,
host: String,
},
ActorUpdating {
actor: String,
host: String,
},
ActorUpdateComplete {
actor: String,
success: bool,
host: String,
},
ProviderLoaded {
capid: String,
instance_name: String,
host: String,
},
ProviderRemoved {
capid: String,
instance_name: String,
host: String,
},
ActorBindingCreated {
host: String,
actor: String,
capid: String,
instance_name: String,
},
ActorBindingRemoved {
host: String,
actor: String,
capid: String,
instance_name: String,
},
ActorBecameHealthy {
actor: String,
host: String,
},
ActorBecameUnhealthy {
actor: String,
host: String,
},
}
Expand description
Represents an event that may occur on a bus of connected hosts. Timestamps, identifiers, and other metadata will be provided by a CloudEvent envelope.
Variants§
HostStarted(String)
A host process has fully started and is ready for work
HostStopped(String)
A host has stopped on a predictable manner
ActorStarting
An actor has begun the loading/parsing phase
ActorStarted
An actor has started and is ready to receive messages
ActorStopped
An actor has stopped in a predictable manner
ActorUpdating
A live update/hot swap has begun on this actor
ActorUpdateComplete
A live update/hot swap has completed (or failed)
ProviderLoaded
A capability provider has been loaded on a host
ProviderRemoved
A capability provider has been removed from a host
ActorBindingCreated
A binding between an actor and a named capability provider instance was created. For security reasons the raw data of the individual bound configuration values is not published in this event and must be queried via lattice protocol
ActorBindingRemoved
A binding was removed
ActorBecameHealthy
A previously unhealthy actor became healthy. This is a higher-order event, not generated from inside wascc host
ActorBecameUnhealthy
A previously healthy actor became unhealthy. This is a higher-order event, not generated from inside wascc host