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

Method GetValue

pkg/database/ent/decision.go:219–221  ·  view source on GitHub ↗

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

(name string)

Source from the content-addressed store, hash-verified

217// GetValue returns the ent.Value that was dynamically selected and assigned to the Decision.
218// This includes values selected through modifiers, order, etc.
219func (_m *Decision) GetValue(name string) (ent.Value, error) {
220 return _m.selectValues.Get(name)
221}
222
223// QueryOwner queries the "owner" edge of the Decision entity.
224func (_m *Decision) QueryOwner() *AlertQuery {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected