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

Method SetIsValidated

pkg/database/ent/machine_create.go:597–600  ·  view source on GitHub ↗

SetIsValidated sets the "isValidated" field.

(v bool)

Source from the content-addressed store, hash-verified

595
596// SetIsValidated sets the "isValidated" field.
597func (u *MachineUpsert) SetIsValidated(v bool) *MachineUpsert {
598 u.Set(machine.FieldIsValidated, v)
599 return u
600}
601
602// UpdateIsValidated sets the "isValidated" field to the value that was provided on create.
603func (u *MachineUpsert) UpdateIsValidated() *MachineUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected