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

Method Value

pkg/database/ent/event.go:128–130  ·  view source on GitHub ↗

Value returns the ent.Value that was dynamically selected and assigned to the Event. This includes values selected through modifiers, order, etc.

(name string)

Source from the content-addressed store, hash-verified

126// Value returns the ent.Value that was dynamically selected and assigned to the Event.
127// This includes values selected through modifiers, order, etc.
128func (_m *Event) Value(name string) (ent.Value, error) {
129 return _m.selectValues.Get(name)
130}
131
132// QueryOwner queries the "owner" edge of the Event entity.
133func (_m *Event) QueryOwner() *AlertQuery {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected