MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / SetSourceValue

Method SetSourceValue

pkg/database/ent/mutation.go:1010–1012  ·  view source on GitHub ↗

SetSourceValue sets the "sourceValue" field.

(s string)

Source from the content-addressed store, hash-verified

1008
1009// SetSourceValue sets the "sourceValue" field.
1010func (m *AlertMutation) SetSourceValue(s string) {
1011 m.sourceValue = &s
1012}
1013
1014// SourceValue returns the value of the "sourceValue" field in the mutation.
1015func (m *AlertMutation) SourceValue() (r string, exists bool) {

Callers 4

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by 1