Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleWebhook ¶
func HandleWebhook(ctx *context.Context, wh *WebhookHandlerImpl) ([]*common.WorkflowsBatch, error)
func IsFileExists ¶
Types ¶
type WebhookHandler ¶
type WebhookHandlerImpl ¶
type WebhookHandlerImpl struct { Triggers *[]Trigger Payload *git_provider.WebhookPayload // contains filtered or unexported fields }
func NewWebhookHandler ¶
func NewWebhookHandler(cfg *conf.GlobalConfig, clients *clients.Clients, payload *git_provider.WebhookPayload) (*WebhookHandlerImpl, error)
func (*WebhookHandlerImpl) PrepareBatchForMatchingTriggers ¶
func (wh *WebhookHandlerImpl) PrepareBatchForMatchingTriggers(ctx *context.Context) ([]*common.WorkflowsBatch, error)
func (*WebhookHandlerImpl) RegisterTriggers ¶
func (wh *WebhookHandlerImpl) RegisterTriggers(ctx *context.Context) error
Click to show internal directories.
Click to hide internal directories.