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

Method SetPassword

pkg/database/ent/mutation.go:9083–9085  ·  view source on GitHub ↗

SetPassword sets the "password" field.

(s string)

Source from the content-addressed store, hash-verified

9081
9082// SetPassword sets the "password" field.
9083func (m *MachineMutation) SetPassword(s string) {
9084 m.password = &s
9085}
9086
9087// Password returns the value of the "password" field in the mutation.
9088func (m *MachineMutation) Password() (r string, exists bool) {

Callers 6

SetFieldMethod · 0.95
CreateMachineMethod · 0.45
TestAPICSendMetricsFunction · 0.45
TestAPICGetMetricsFunction · 0.45
TestAPICPullFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestAPICSendMetricsFunction · 0.36
TestAPICGetMetricsFunction · 0.36
TestAPICPullFunction · 0.36