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

Method Value

pkg/database/ent/machine.go:233–235  ·  view source on GitHub ↗

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

(name string)

Source from the content-addressed store, hash-verified

231// Value returns the ent.Value that was dynamically selected and assigned to the Machine.
232// This includes values selected through modifiers, order, etc.
233func (_m *Machine) Value(name string) (ent.Value, error) {
234 return _m.selectValues.Get(name)
235}
236
237// QueryAlerts queries the "alerts" edge of the Machine entity.
238func (_m *Machine) QueryAlerts() *AlertQuery {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected