Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedEvents = &webhook.Events{ Supported: map[string]webhook.Event{ pullRequestEvent: { Operation: entities.Write, GetFieldID: webhook.GetPrimaryKeyByPath("pull_request.id"), }, }, GetEventType: func(data webhook.EventTypeParam) string { return data.Headers.Get(githubEventHeader) }, PayloadKey: webhook.ContentTypeConfig{ fiber.MIMEApplicationForm: "payload", }, }
Functions ¶
func AddSourceToRouter ¶
func AddSourceToRouter(ctx context.Context, cfg config.GenericConfig, pg pipeline.IPipelineGroup, router *swagger.Router[fiber.Handler, fiber.Router]) error
Types ¶
type Config ¶
type Config struct { webhook.Configuration[hmac.Authentication] }
Click to show internal directories.
Click to hide internal directories.