Module
webhook
Module webhook
projzone/webhook
0.0.9
Enums
webhook: Action
Members
OPENED
COMMENTED
LABELED
CLOSED
webhook: Impact
Members
LOW
SIGNIFICANT
webhook: Kind
Members
BUG
IMPROVEMENT
FEATURE_REQUEST
webhook: Severity
Members
LOW
MEDIUM
HIGH
webhook: Version
Members
V1
V2
Listeners
webhook: Listener
attach
Isolated Function
function attach(GenericServiceType serviceRef, () attachPoint) returns error?
detach
Isolated Function
function detach(GenericServiceType serviceRef) returns error?
Parameters
- serviceRef GenericServiceType -
'start
Isolated Function
function 'start() returns error?
gracefulStop
Isolated Function
function gracefulStop() returns error?
immediateStop
Isolated Function
function immediateStop() returns error?
Records
webhook: BugDiscussionEvent
Closed record
Fields
- Fields Included from *DiscussionEvent
- kind BUG(default BUG) -
- severity Severity -
webhook: BugDiscussionLabeledEvent
Closed record
Fields
- Fields Included from *BugDiscussionEvent
- new_label string -
webhook: BugDiscussionOpenedOrCommentedEvent
Closed record
Fields
- Fields Included from *BugDiscussionEvent
- content string -
webhook: DiscussionEvent
Closed record
Fields
- name string -
- kind Kind -
- title string -
- action Action -
- actor string -
- time string -
- labels string[] -
- 'version Version -
webhook: FeatureRequestDiscussionLabeledEvent
Closed record
Fields
- Fields Included from *DiscussionEvent
- kind FEATURE_REQUEST(default FEATURE_REQUEST) -
- new_label string -
webhook: FeatureRequestDiscussionOpenedOrCommentedEvent
Closed record
Fields
- Fields Included from *DiscussionEvent
- content string -
webhook: ImprovementDiscussionEvent
Closed record
Fields
- Fields Included from *DiscussionEvent
- kind IMPROVEMENT(default IMPROVEMENT) -
- impact Impact -
webhook: ImprovementDiscussionLabeledEvent
Closed record
Fields
- Fields Included from *ImprovementDiscussionEvent
- new_label string -
webhook: ImprovementDiscussionOpenedOrCommentedEvent
Closed record
Fields
- Fields Included from *ImprovementDiscussionEvent
- content string -
Object types
webhook: BugDiscussionService
onDiscussionOpened
Remote Function
function onDiscussionOpened(BugDiscussionOpenedOrCommentedEvent event)
Parameters
onDiscussionCommented
Remote Function
function onDiscussionCommented(BugDiscussionOpenedOrCommentedEvent event)
Parameters
onDiscussionLabeled
Remote Function
function onDiscussionLabeled(BugDiscussionLabeledEvent event)
Parameters
- event BugDiscussionLabeledEvent -
onDiscussionClosed
Remote Function
function onDiscussionClosed(BugDiscussionEvent event)
Parameters
- event BugDiscussionEvent -
webhook: FeatureRequestDiscussionService
onDiscussionOpened
Remote Function
function onDiscussionOpened(FeatureRequestDiscussionOpenedOrCommentedEvent event)
Parameters
onDiscussionCommented
Remote Function
function onDiscussionCommented(FeatureRequestDiscussionOpenedOrCommentedEvent event)
Parameters
onDiscussionLabeled
Remote Function
function onDiscussionLabeled(FeatureRequestDiscussionLabeledEvent event)
Parameters
onDiscussionClosed
Remote Function
function onDiscussionClosed(DiscussionEvent event)
Parameters
- event DiscussionEvent -
webhook: ImprovementDiscussionService
onDiscussionOpened
Remote Function
function onDiscussionOpened(ImprovementDiscussionOpenedOrCommentedEvent event)
Parameters
onDiscussionCommented
Remote Function
function onDiscussionCommented(ImprovementDiscussionOpenedOrCommentedEvent event)
Parameters
onDiscussionLabeled
Remote Function
function onDiscussionLabeled(ImprovementDiscussionLabeledEvent event)
Parameters
onDiscussionClosed
Remote Function
function onDiscussionClosed(ImprovementDiscussionEvent event)
Parameters
- event ImprovementDiscussionEvent -
Union types
webhook: GenericServiceType
GenericServiceType
Import
import projzone/webhook;
Metadata
Released date: over 2 years ago
Version: 0.0.9
Compatibility
Platform: any
Ballerina version: 2201.0.2
GraalVM compatible: Yes
Pull count
Total: 8348
Current verison: 1
Weekly downloads
Dependencies
See more...