email

package
v0.0.0-...-7e68079 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	Addresses     []string `toml:"email"`
	EnabledField  bool     `toml:"enabled"`
	SmtpServer    string   `toml:"smtp_server"`
	SmtpPort      int      `toml:"smtp_port"`
	SmtpUser      string   `toml:"smtp_user"`
	SmtpPassword  string   `toml:"smtp_password"`
	SkipSslVerify bool     `toml:"skip_ssl_verify"`
	From          string   `toml:"from"`
	GolertaUrl    string   `toml:"golerta_url"`
}

func (*Email) Acknowledge

func (em *Email) Acknowledge(alert models.Alert) error

func (*Email) CreateEmailEvent

func (em *Email) CreateEmailEvent(eventType string, alert models.Alert) error

func (*Email) Enabled

func (em *Email) Enabled() bool

func (*Email) Init

func (em *Email) Init() error

func (*Email) Resolve

func (em *Email) Resolve(alert models.Alert) error

func (*Email) Trigger

func (em *Email) Trigger(alert models.Alert) error

Jump to

Keyboard shortcuts

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