package
6.4.0
Repository: https://github.com/go-playground/webhooks.git
Documentation: pkg.go.dev

# Functions

New creates and returns a WebHook instance denoted by the Provider type.

# Constants

GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.
GitLab hook types.

# Variables

parse errors.
parse errors.
parse errors.
parse errors.
parse errors.
parse errors.
parse errors.
Options is a namespace var for configuration options.

# Structs

ArtifactsFile contains all of the GitLab artifact information.
Assets represent artefacts and links associated to a release.
AssetSource represent the download url for an asset.
Assignee contains all of the GitLab assignee information.
Author contains all of the GitLab author information.
Build contains all of the GitLab Build information.
BuildCommit contains all of the GitLab build commit information.
BuildEventPayload contains the information for GitLab's build status change event.
Changes contains all changes associated with a GitLab issue or MR.
CommentEventPayload contains the information for GitLab's comment event.
Commit contains all of the GitLab commit information.
ConfidentialCommentEventPayload contains the information for GitLab's confidential issue event.
ConfidentialIssueEventPayload contains the information for GitLab's confidential issue event.
DeploymentEventPayload contains the information for GitLab's triggered when a deployment.
DraftChanges contains the current and previous value of the draft property, tells us if draft was toggles.
GroupCreatedEventPayload contains the information about GitLab's group created event.
GroupMemberAddedEventPayload contains the information about GitLab's new group member event.
GroupMemberRemovedEventPayload contains the information about GitLab's group member removed event.
GroupMemberUpdatedEventPayload contains the information about GitLab's group member updated event.
GroupRemovedEventPayload contains the information about GitLab's group removed event.
GroupRenamedEventPayload contains the information about GitLab's group renamed event.
Issue contains all of the GitLab issue information.
IssueEventPayload contains the information for GitLab's issue event.
JobEventPayload contains the information for GitLab's Job status change.
KeyAddedEventPayload contains the information about GitLab's key added event.
KeyRemovedEventPayload contains the information about GitLab's key removed event.
Label contains all of the GitLab label information.
LabelChanges contains changes in labels associated with a GitLab issue or MR.
LastCommit contains all of the GitLab last commit information.
Link represent a generic html link.
MergeRequest contains all of the GitLab merge request information.
MergeRequestEventPayload contains the information for GitLab's merge request event.
ObjectAttributes contains all of the GitLab object attributes information.
PipelineEventPayload contains the information for GitLab's pipeline status change event.
PipelineObjectAttributes contains pipeline specific GitLab object attributes information.
Position defines a specific location, identified by paths line numbers and image coordinates, within a specific diff, identified by start, head and base commit ids.
Project contains all of the GitLab project information.
ProjectCreatedEventPayload contains the information about GitLab's project created event.
ProjectDestroyedEventPayload contains the information about GitLab's project destroyed event.
ProjectRenamedEventPayload contains the information about GitLab's project renamed event.
ProjectTransferredEventPayload contains the information about GitLab's project transferred event.
ProjectUpdatedEventPayload contains the information about GitLab's project updated event.
PushEventPayload contains the information for GitLab's push event.
ReleaseEventPayload contains the information about GitLab's release event.
Repository contains all of the GitLab repository information.
Reviewers contains all of the GitLab reviewers information.
Runner represents a runner agent.
Snippet contains all of the GitLab snippet information.
Source contains all of the GitLab source information.
StDiff contains all of the GitLab diff information.
SystemHookPayload contains the ObjectKind to match with real hook events.
TagEventPayload contains the information for GitLab's tag push event.
Target contains all of the GitLab target information.
TeamMemberAddedEventPayload contains the information about GitLab's new team member event.
TeamMemberRemovedEventPayload contains the information about GitLab's team member removed event.
TeamMemberUpdatedEventPayload contains the information about GitLab's team member updated event.
User contains all of the GitLab user information.
UserCreatedEventPayload contains the information about GitLab's user created event.
UserFailedLoginEventPayload contains the information about GitLab's user login failed event.
UserRemovedEventPayload contains the information about GitLab's user removed event.
UserRenamedEventPayload contains the information about GitLab's user renamed event.
Variable contains pipeline variables.
Webhook instance contains all methods needed to process events.
WebhookOptions is a namespace for configuration option methods.
Wiki contains all of the GitLab wiki information.
WikiPageEventPayload contains the information for GitLab's wiki created/updated event.

# Type aliases

Event defines a GitLab hook event type by the X-Gitlab-Event Header.
Option is a configuration option for the webhook.