Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SinglePRTriggerHandler ¶
SinglePRTriggerHandler handles POST /trigger?url=<pr_url>. The handler is intentionally thin: parse the URL, validate it synchronously, publish a TriggerPRReviewCommand to Kafka, and return HTTP 202. All GitHub API access, filter evaluation, and trust decision logic is owned by the in-pod command consumer.
func NewSinglePRTriggerHandler ¶
func NewSinglePRTriggerHandler( sender command.TriggerPRReviewCommandSender, ) SinglePRTriggerHandler
NewSinglePRTriggerHandler returns a handler that publishes a TriggerPRReviewCommand to Kafka for each valid /trigger request.
Click to show internal directories.
Click to hide internal directories.