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

Method Delete

pkg/database/ent/client.go:1416–1419  ·  view source on GitHub ↗

Delete returns a delete builder for Lock.

()

Source from the content-addressed store, hash-verified

1414
1415// Delete returns a delete builder for Lock.
1416func (c *LockClient) Delete() *LockDelete {
1417 mutation := newLockMutation(c.config, OpDelete)
1418 return &LockDelete{config: c.config, hooks: c.Hooks(), mutation: mutation}
1419}
1420
1421// DeleteOne returns a builder for deleting the given entity.
1422func (c *LockClient) DeleteOne(_m *Lock) *LockDeleteOne {

Callers 15

DeleteOneIDMethod · 0.95
DeleteAllowListMethod · 0.45
DeleteAllowListByIDMethod · 0.45
RemoveFromAllowlistMethod · 0.45
ReplaceAllowlistMethod · 0.45
DeleteAlertGraphBatchMethod · 0.45
DeleteAlertGraphMethod · 0.45
DeleteAlertWithFilterMethod · 0.45
flushMetricsMethod · 0.45
FlushOrphansMethod · 0.45
flushBouncersMethod · 0.45

Calls 2

HooksMethod · 0.95
newLockMutationFunction · 0.85

Tested by

no test coverage detected