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

Method SetName

pkg/database/ent/mutation.go:8479–8481  ·  view source on GitHub ↗

SetName sets the "name" field.

(s string)

Source from the content-addressed store, hash-verified

8477
8478// SetName sets the "name" field.
8479func (m *LockMutation) SetName(s string) {
8480 m.name = &s
8481}
8482
8483// Name returns the value of the "name" field in the mutation.
8484func (m *LockMutation) Name() (r string, exists bool) {

Callers 8

SetFieldMethod · 0.95
CreateAllowListMethod · 0.45
UpdateAllowlistMetaMethod · 0.45
AcquireLockMethod · 0.45
CreateBouncerMethod · 0.45
SetConfigItemMethod · 0.45
TestAPICSendMetricsFunction · 0.45
TestAPICGetMetricsFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestAPICSendMetricsFunction · 0.36
TestAPICGetMetricsFunction · 0.36