channels

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channels

type Channels struct {
	// Email channel
	Email []email.Email `json:"email" yaml:"email" hcl:"email,block"`
	// Slack channel
	Slack []slack.Slack `json:"slack" yaml:"slack" hcl:"slack,block"`
	// Telegram channel
	Telegram []telegram.Telegram `json:"telegram" yaml:"telegram" hcl:"telegram,block"`
	// Syslog channel
	Syslog []syslog.Syslog `json:"syslog" yaml:"syslog" hcl:"syslog,block"`
	// Notify channel
	Notify []notify.Notify `json:"notify" yaml:"notify" hcl:"notify,block"`
	// Discord channel
	Discord []discord.Discord `json:"discord" yaml:"discord" hcl:"discord,block"`
	// Webhook channel
	Webhook []webhook.Webhook `json:"webhook" yaml:"webhook" hcl:"webhook,block"`
	// Alertmanager channel
	Alertmanager []alertmanager.Alertmanager `json:"alertmanager" yaml:"alertmanager" hcl:"alertmanager,block"`
	// AlertmanagerReceiver channel
	AlertmanagerReceiver []alertmanagerreceiver.AlertmanagerReceiver `json:"alertmanager_receiver" yaml:"alertmanager_receiver" hcl:"alertmanager_receiver,block"`

	TwilioVoice []twiliovoice.Twilio `json:"twilioVoice" yaml:"twilioVoice" hcl:"twilioVoice,block"`
}

Channels config for define channels

func (Channels) Validate

func (cfg Channels) Validate() error

Validate config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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