overrides

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

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Global            *GlobalConfig                   `yaml:"global,omitempty" json:"global,omitempty"`
	Route             *alertmanager.Route             `yaml:"route,omitempty" json:"route,omitempty"`
	InhibitRules      []*alertmanager.InhibitRule     `yaml:"inhibit_rules,omitempty" json:"inhibit_rules,omitempty"`
	Receivers         []*alertmanager.Receiver        `yaml:"receivers,omitempty" json:"receivers,omitempty"`
	Templates         []string                        `yaml:"templates" json:"templates"`
	MuteTimeIntervals []alertmanager.MuteTimeInterval `yaml:"mute_time_intervals,omitempty" json:"mute_time_intervals,omitempty"`
}

type GlobalConfig

type GlobalConfig struct {
	HTTPConfig *commoncfg.HTTPClientConfig `yaml:"http_config,omitempty" json:"http_config,omitempty"`

	SMTPFrom         string                `yaml:"smtp_from,omitempty" json:"smtp_from,omitempty"`
	SMTPSmarthost    alertmanager.HostPort `yaml:"smtp_smarthost,omitempty" json:"smtp_smarthost,omitempty"`
	SMTPAuthUsername string                `yaml:"smtp_auth_username,omitempty" json:"smtp_auth_username,omitempty"`
	SMTPAuthPassword string                `yaml:"smtp_auth_password,omitempty" json:"smtp_auth_password,omitempty"`
	SMTPRequireTLS   bool                  `yaml:"smtp_require_tls" json:"smtp_require_tls,omitempty"`
	SlackAPIURL      string                `yaml:"slack_api_url,omitempty" json:"slack_api_url,omitempty"`
}

Jump to

Keyboard shortcuts

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