Documentation
¶
Index ¶
- func NewCommandEnricher(alertinfo AlertInfo, config map[string]string) *commandEnricher
- func NewGrafanaEnricher(alertinfo AlertInfo, config map[string]string) *grafanaEnricher
- func NewPrometheusEnricher(alertinfo AlertInfo, config map[string]string) *prometheusEnricher
- func NewStaticEnricher(alertinfo AlertInfo, config map[string]string) *staticEnricher
- func NewYamlEnricher(alertinfo AlertInfo, config map[string]string) *yamlEnricher
- type AlertInfo
- type CommandEnricherInterface
- type Enricher
- type EnricherInterface
- type EnrichmentInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandEnricher ¶
func NewGrafanaEnricher ¶
func NewPrometheusEnricher ¶
func NewStaticEnricher ¶
func NewYamlEnricher ¶
Types ¶
type Enricher ¶
type Enricher struct {
// contains filtered or unexported fields
}
func (*Enricher) StartEnrichmentFlow ¶
func (e *Enricher) StartEnrichmentFlow(alert sharedtools.Alert) []error
type EnricherInterface ¶
type EnrichmentInterface ¶
type EnrichmentInterface interface {
StartEnrichmentFlow(alert sharedtools.Alert) []error
}
func NewEnrichment ¶
func NewEnrichment(config *config.RunbooksConfig) EnrichmentInterface
Click to show internal directories.
Click to hide internal directories.