Skip to main content

@backstage/plugin-events-backend-module-gitlab

Home > @backstage/plugin-events-backend-module-gitlab

Classes

Class

Description

GitlabEventRouter

Subscribes to the generic gitlab topic and publishes the events under the more concrete sub-topic depending on the $.event_name field provided.

Functions

Function

Description

createGitlabTokenValidator(config)

Validates a configured secret token against the token received with the x-gitlab-token header.

See https://docs.gitlab.com/ee/user/project/integrations/webhooks.html\#validate-payloads-by-using-a-secret-token for more details.

Variables

Variable

Description

_default