feat(alerting): Add GitLab alerting provider (#485)
* feat: ✨ add gitlab provider * docs: 📝 add documentation for gitlab provider * docs: 📝 fix removed github screenshot * refactor: ➖ remove uniuri dependency * refactor: 🎨 correctly capitalize GitLab * Update alerting/alert/type.go * fix: 💡 correct comments about webhook url and authorization key * Update alerting/provider/gitlab/gitlab.go * Update alerting/provider/gitlab/gitlab_test.go --------- Co-authored-by: TwiN <twin@linux.com>
This commit is contained in:
@ -11,6 +11,7 @@ import (
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/discord"
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/email"
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/github"
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/gitlab"
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/googlechat"
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/matrix"
|
||||
"github.com/TwiN/gatus/v5/alerting/provider/mattermost"
|
||||
@ -39,6 +40,9 @@ type Config struct {
|
||||
// GitHub is the configuration for the github alerting provider
|
||||
GitHub *github.AlertProvider `yaml:"github,omitempty"`
|
||||
|
||||
// GitLab is the configuration for the gitlab alerting provider
|
||||
GitLab *gitlab.AlertProvider `yaml:"gitlab,omitempty"`
|
||||
|
||||
// GoogleChat is the configuration for the googlechat alerting provider
|
||||
GoogleChat *googlechat.AlertProvider `yaml:"googlechat,omitempty"`
|
||||
|
||||
|
Reference in New Issue
Block a user