Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInsights ¶ added in v1.0.92
type AppInsights struct { Name string `yaml:"name"` Location string `yaml:"location"` ResourceGroup string `yaml:"resourceGroup"` Frequency int32 `yaml:"frequency"` GeoLocation []interface{} `yaml:"geoLocation"` EmailAction EmailAction `yaml:"emailAction"` WebhookAction WebhookAction `yaml:"webhookAction"` }
type Config ¶
type Config struct { Providers []Provider `yaml:"providers"` EnableMonitorDeletion bool `yaml:"enableMonitorDeletion"` MonitorNameTemplate string `yaml:"monitorNameTemplate"` ResyncPeriod int `yaml:"resyncPeriod,omitempty"` CreationDelay time.Duration `yaml:"creationDelay,omitempty"` }
func GetControllerConfig ¶
func GetControllerConfig() Config
func ReadConfig ¶
func (*Config) UnmarshalYAML ¶ added in v1.0.80
UnmarshalYAML interface to deserialize specific types
type EmailAction ¶ added in v1.0.92
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"` AppInsightsConfig AppInsights `yaml:"appInsightsConfig"` GcloudConfig Gcloud `yaml:"gcloudConfig"` }
type WebhookAction ¶ added in v1.0.92
type WebhookAction struct {
ServiceURI string `yaml:"service_uri"`
}
Click to show internal directories.
Click to hide internal directories.