Documentation ¶
Index ¶
Constants ¶
View Source
const ( GLHeaderEvent = "GitLab-Event1" GLHeaderDelivery = "GitLab-Delivery" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
Adapter converts incoming GitLab webhook events to CloudEvents
func New ¶
New creates an adapter to convert incoming GitLab webhook events to CloudEvents and then sends them to the specified Sink
func (*Listener) HandleEvent ¶
func (l *Listener) HandleEvent(payload interface{})
HandleEvent is invoked whenever an event comes in from GitLab
Click to show internal directories.
Click to hide internal directories.