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

Method GetType

pkg/database/ent/mutation.go:4836–4842  ·  view source on GitHub ↗

GetType returns the value of the "type" field in the mutation.

()

Source from the content-addressed store, hash-verified

4834
4835// GetType returns the value of the "type" field in the mutation.
4836func (m *BouncerMutation) GetType() (r string, exists bool) {
4837 v := m._type
4838 if v == nil {
4839 return
4840 }
4841 return *v, true
4842}
4843
4844// OldType returns the old "type" field's value of the Bouncer entity.
4845// If the Bouncer object wasn't provided to the builder, the object is fetched from the database.

Callers 8

FieldMethod · 0.95
checkMethod · 0.45
createSpecMethod · 0.45
UpdateNewValuesMethod · 0.45
UpdateNewValuesMethod · 0.45
createSpecMethod · 0.45
sqlSaveMethod · 0.45
sqlSaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected