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

Method SetIsValidated

pkg/database/ent/mutation.go:9253–9255  ·  view source on GitHub ↗

SetIsValidated sets the "isValidated" field.

(b bool)

Source from the content-addressed store, hash-verified

9251
9252// SetIsValidated sets the "isValidated" field.
9253func (m *MachineMutation) SetIsValidated(b bool) {
9254 m.isValidated = &b
9255}
9256
9257// IsValidated returns the value of the "isValidated" field in the mutation.
9258func (m *MachineMutation) IsValidated() (r bool, exists bool) {

Callers 3

SetFieldMethod · 0.95
CreateMachineMethod · 0.45
ValidateMachineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected