Skip to main content

Module plan_approval

Module plan_approval 

Source
Expand description

Plan approval types shared between tools and TUI.

PlanDecision and PlanApprovalRequest live here so that both opendev-tools-impl (which blocks inside PresentPlanTool::execute()) and opendev-tui (which renders the approval panel) can reference them without a circular dependency.

Structs§

PlanApprovalRequest
A request sent from PresentPlanTool to the TUI for user approval.
PlanDecision
The user’s decision on a presented plan.

Functions§

plan_approval_channel
Create a paired (sender, receiver) for plan approval communication.

Type Aliases§

PlanApprovalReceiver
Convenience type alias for the receiver half that the TUI polls.
PlanApprovalSender
Convenience type alias for the sender half that PresentPlanTool holds.