webhook

package
v0.0.0-...-bdd216b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlePush

func HandlePush(payload interface{}, header webhooks.Header)

HandlePush is called each time a push event is sent by GitLab on the webhook.

func Setup

func Setup(conf *config.Config, client *grafana.Client, delRemoved bool) (err error)

Setup creates and exposes a GitLab webhook using a given configuration. Returns an error if the webhook couldn't be set up.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL