Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Providers []Provider `yaml:"providers"` EnableMonitorDeletion bool `yaml:"enableMonitorDeletion"` MonitorNameTemplate string `yaml:"monitorNameTemplate"` }
func GetControllerConfig ¶
func GetControllerConfig() Config
func ReadConfig ¶
type Provider ¶
type Provider struct { Name string `yaml:"name"` ApiKey string `yaml:"apiKey"` ApiURL string `yaml:"apiURL"` AlertContacts string `yaml:"alertContacts"` AlertIntegrations string `yaml:"alertIntegrations"` Username string `yaml:"username"` Password string `yaml:"password"` AccountEmail string `yaml:"accountEmail"` }
Click to show internal directories.
Click to hide internal directories.