{"modulePath":"github.com/utmstack/UTMStack/plugins/feeds","version":"v0.0.0-20261126134315-738f65073a40","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package service\n\n## Types\n\n```go\ntype AlertProcessor struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewAlertProcessor(\n\talertClient *client.AlertClient,\n\tfieldExtractor *extractor.FieldExtractor,\n\tentityBuilder *EntityBuilder,\n) *AlertProcessor\n```\n\n```go\nfunc (p *AlertProcessor) ProcessAlertWithAssociations(\n\tctx context.Context,\n\tincidentAlert *models.IncidentAlert,\n\tincident *models.Incident,\n\tassociationBuilder *association.AssociationBuilder,\n) error\n```\n\n```go\ntype EntityBuilder struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewEntityBuilder(entityMapper *mapper.EntityMapper) *EntityBuilder\n```\n\n```go\nfunc (b *EntityBuilder) MapAndRegisterFieldsToEntities(\n\tfields []*models.FlattenedField,\n\tincident *models.Incident,\n\talert *models.Alert,\n\tevent *models.Event,\n\tassociationBuilder *association.AssociationBuilder,\n)\n```\n\n```go\ntype IncidentProcessor struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewIncidentProcessor(\n\tdeps *client.ClientDependencies,\n\talertProcessor *AlertProcessor,\n\tassociationBuilder *association.AssociationBuilder,\n) *IncidentProcessor\n```\n\n```go\nfunc (p *IncidentProcessor) ProcessIncident(ctx context.Context, incident *models.Incident) (int, bool, error)\n```\n\n","path":"github.com/utmstack/UTMStack/plugins/feeds/internal/service","name":"service","synopsis":"","isRedistributable":true}
