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

Method MachineId

pkg/database/ent/mutation.go:9052–9058  ·  view source on GitHub ↗

MachineId returns the value of the "machineId" field in the mutation.

()

Source from the content-addressed store, hash-verified

9050
9051// MachineId returns the value of the "machineId" field in the mutation.
9052func (m *MachineMutation) MachineId() (r string, exists bool) {
9053 v := m.machineId
9054 if v == nil {
9055 return
9056 }
9057 return *v, true
9058}
9059
9060// OldMachineId returns the old "machineId" field's value of the Machine entity.
9061// If the Machine object wasn't provided to the builder, the object is fetched from the database.

Callers 5

FieldMethod · 0.95
checkMethod · 0.80
createSpecMethod · 0.80
UpdateNewValuesMethod · 0.80
UpdateNewValuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected