MCPcopy Create free account
hub / github.com/crowdsecurity/crowdsec / SetAuthType

Method SetAuthType

pkg/database/ent/machine_create.go:144–147  ·  view source on GitHub ↗

SetAuthType sets the "auth_type" field.

(v string)

Source from the content-addressed store, hash-verified

142
143// SetAuthType sets the "auth_type" field.
144func (_c *MachineCreate) SetAuthType(v string) *MachineCreate {
145 _c.mutation.SetAuthType(v)
146 return _c
147}
148
149// SetNillableAuthType sets the "auth_type" field if the given value is not nil.
150func (_c *MachineCreate) SetNillableAuthType(v *string) *MachineCreate {

Callers 2

SetNillableAuthTypeMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected