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

Method SetAlertMetas

pkg/database/ent/mutation.go:10483–10485  ·  view source on GitHub ↗

SetAlertMetas sets the "alert_metas" field.

(i int)

Source from the content-addressed store, hash-verified

10481
10482// SetAlertMetas sets the "alert_metas" field.
10483func (m *MetaMutation) SetAlertMetas(i int) {
10484 m.owner = &i
10485}
10486
10487// AlertMetas returns the value of the "alert_metas" field in the mutation.
10488func (m *MetaMutation) AlertMetas() (r int, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected