package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev
# Packages
Package bitbucket contains webhook.Plugin implementation of bitbucket webhooks according to https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html.
Package generic contains webhook.Plugin implementation of a generic webhooks for use in testing and/or other ad/hoc usage.
Package github contains webhook.Plugin implementation of github webhooks according to https://developer.github.com/webhooks/.
Package gitlab contains webhook.Plugin implementation of gitlab webhooks according to https://docs.gitlab.com/ce/user/project/integrations/webhooks.html.
# Functions
CheckSecret tests the user provided secret against the secrets for the webhook triggers, if a match is found then the corresponding webhook trigger is returned.
GitRefMatches determines if the ref from a webhook event matches a build configuration.
NewWarning returns an StatusError object with a http.StatusOK (200) code.
# Interfaces
Plugin for Webhook verification is dependent on the sending side, it can be eg.