MCPcopy
hub / github.com/crowdsecurity/crowdsec / StoppedAt

Method StoppedAt

pkg/database/ent/mutation.go:532–538  ·  view source on GitHub ↗

StoppedAt returns the value of the "stoppedAt" field in the mutation.

()

Source from the content-addressed store, hash-verified

530
531// StoppedAt returns the value of the "stoppedAt" field in the mutation.
532func (m *AlertMutation) StoppedAt() (r time.Time, exists bool) {
533 v := m.stoppedAt
534 if v == nil {
535 return
536 }
537 return *v, true
538}
539
540// OldStoppedAt returns the old "stoppedAt" field's value of the Alert entity.
541// If the Alert object wasn't provided to the builder, the object is fetched from the database.

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected