MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / SetAuthType

Method SetAuthType

pkg/database/ent/mutation.go:9289–9291  ·  view source on GitHub ↗

SetAuthType sets the "auth_type" field.

(s string)

Source from the content-addressed store, hash-verified

9287
9288// SetAuthType sets the "auth_type" field.
9289func (m *MachineMutation) SetAuthType(s string) {
9290 m.auth_type = &s
9291}
9292
9293// AuthType returns the value of the "auth_type" field in the mutation.
9294func (m *MachineMutation) AuthType() (r string, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected