MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / AlertEvents

Method AlertEvents

pkg/database/ent/mutation.go:7998–8004  ·  view source on GitHub ↗

AlertEvents returns the value of the "alert_events" field in the mutation.

()

Source from the content-addressed store, hash-verified

7996
7997// AlertEvents returns the value of the "alert_events" field in the mutation.
7998func (m *EventMutation) AlertEvents() (r int, exists bool) {
7999 v := m.owner
8000 if v == nil {
8001 return
8002 }
8003 return *v, true
8004}
8005
8006// OldAlertEvents returns the old "alert_events" field's value of the Event entity.
8007// If the Event object wasn't provided to the builder, the object is fetched from the database.

Callers 1

FieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected