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

Method SetAlertEvents

pkg/database/ent/mutation.go:7993–7995  ·  view source on GitHub ↗

SetAlertEvents sets the "alert_events" field.

(i int)

Source from the content-addressed store, hash-verified

7991
7992// SetAlertEvents sets the "alert_events" field.
7993func (m *EventMutation) SetAlertEvents(i int) {
7994 m.owner = &i
7995}
7996
7997// AlertEvents returns the value of the "alert_events" field in the mutation.
7998func (m *EventMutation) AlertEvents() (r int, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected