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

Method Value

pkg/database/ent/alert.go:335–337  ·  view source on GitHub ↗

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

(name string)

Source from the content-addressed store, hash-verified

333// Value returns the ent.Value that was dynamically selected and assigned to the Alert.
334// This includes values selected through modifiers, order, etc.
335func (_m *Alert) Value(name string) (ent.Value, error) {
336 return _m.selectValues.Get(name)
337}
338
339// QueryOwner queries the "owner" edge of the Alert entity.
340func (_m *Alert) QueryOwner() *MachineQuery {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected