Skip to main content

Module event

Module event 

Source
Expand description

Canonical plugin event model.

[ARCH] One event enum, one source of truth. Both the host and plugins consume PluginEvent from this crate. Earlier the host re-defined a parallel enum — that drift is gone as of v0.2.

Two parallel surfaces coexist on purpose:

  • crate::traits::PluginHook is the closed hook enum used by the convenience traits (IssuePlugin, SyncPlugin). Maps 1:1 to a Lua function name.
  • PluginEvent is the open structured event used for richer payloads and query-style interactions (e.g. PipelineStatusQuery). Plugins handle it via plugin.on_event(event).

Structs§

PipelineJob
One job in a pipeline.
PipelineStatus
CI/CD pipeline status — return type for PipelineStatusQuery events.

Enums§

PipelineState
Pipeline lifecycle state.
PluginEvent
Plugin lifecycle and operational events.