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

Method Message

pkg/database/ent/mutation.go:364–370  ·  view source on GitHub ↗

Message returns the value of the "message" field in the mutation.

()

Source from the content-addressed store, hash-verified

362
363// Message returns the value of the "message" field in the mutation.
364func (m *AlertMutation) Message() (r string, exists bool) {
365 v := m.message
366 if v == nil {
367 return
368 }
369 return *v, true
370}
371
372// OldMessage returns the old "message" field's value of the Alert entity.
373// If the Alert object wasn't provided to the builder, the object is fetched from the database.

Callers 6

FieldMethod · 0.95
defaultsMethod · 0.80
createSpecMethod · 0.80
UpdateNewValuesMethod · 0.80
UpdateNewValuesMethod · 0.80
processMatchedRulesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected