Expand description
crate::event::EventPublisher trait for receiving and publishing events from the host
Structs§
- Default
Event Publisher - A default implementation of the EventPublisher trait that does nothing. This is useful for testing or when no event publishing is required.
Traits§
- Event
Publisher - A trait for publishing wasmbus events. This can be implemented by any transport or bus implementation that can send the serialized event to the appropriate destination.
Functions§
- component_
scale_ failed - Generates an event payload for when component scaling fails
- component_
scaled - Generates an event payload for when a component is scaled
- config_
deleted - Generates an event payload for when a config is deleted
- config_
set - Generates an event payload for when a config is set
- labels_
changed - Generates an event payload for when host labels are changed
- linkdef_
deleted - Generates an event payload for when a link definition is deleted
- linkdef_
set - Generates an event payload for when a link definition is set
- linkdef_
set_ failed - Generates an event payload for when setting a link definition fails
- provider_
health_ check - Generates an event payload for provider health checks
- provider_
start_ failed - Generates an event payload for when a provider fails to start
- provider_
started - Generates an event payload for when a provider starts
- provider_
stopped - Generates an event payload for when a provider stops