Skip to main content

Module webhook

Module webhook 

Source
Expand description

Webhook handler for GitHub/Gitea/GitLab push events.

When a push webhook fires, orca looks up the matching service and triggers a rolling redeploy (stop all instances, pull fresh image, recreate).

Structs§

WebhookConfig
Configuration for a webhook trigger.

Functions§

handle_push
list
List all webhook configs.
new_store
Load persisted webhooks from disk, returning an empty list on first run.
register
Register a new webhook config.
remove_webhook
Remove a webhook by service name.
webhook_router
Handle a GitHub/Gitea push webhook.

Type Aliases§

WebhookStore
Shared webhook config store, stored in AppState extension.