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::PluginHookis the closed hook enum used by the convenience traits (IssuePlugin,SyncPlugin). Maps 1:1 to a Lua function name.PluginEventis the open structured event used for richer payloads and query-style interactions (e.g.PipelineStatusQuery). Plugins handle it viaplugin.on_event(event).
Structs§
- Pipeline
Job - One job in a pipeline.
- Pipeline
Status - CI/CD pipeline status — return type for
PipelineStatusQueryevents.
Enums§
- Pipeline
State - Pipeline lifecycle state.
- Plugin
Event - Plugin lifecycle and operational events.