2020-06-10 07:59:10 +00:00
|
|
|
// Code generated by "stringer -type=Type -output=trigger_type_string.go"; DO NOT EDIT.
|
2020-02-26 13:44:54 +00:00
|
|
|
|
|
|
|
package trigger
|
|
|
|
|
|
|
|
import "strconv"
|
|
|
|
|
|
|
|
func _() {
|
|
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
|
|
// Re-run the stringer command to generate them again.
|
|
|
|
var x [1]struct{}
|
2020-10-29 16:14:49 +00:00
|
|
|
_ = x[OnPersist-1]
|
|
|
|
_ = x[PostPersist-2]
|
2020-06-10 07:59:10 +00:00
|
|
|
_ = x[Verification-32]
|
|
|
|
_ = x[Application-64]
|
2020-10-29 16:14:49 +00:00
|
|
|
_ = x[All-99]
|
2020-02-26 13:44:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const (
|
2020-10-29 16:14:49 +00:00
|
|
|
_Type_name_0 = "OnPersistPostPersist"
|
2020-06-10 07:59:10 +00:00
|
|
|
_Type_name_1 = "Verification"
|
|
|
|
_Type_name_2 = "Application"
|
2020-09-07 08:11:24 +00:00
|
|
|
_Type_name_3 = "All"
|
2020-02-26 13:44:54 +00:00
|
|
|
)
|
|
|
|
|
2020-10-29 16:14:49 +00:00
|
|
|
var (
|
|
|
|
_Type_index_0 = [...]uint8{0, 9, 20}
|
|
|
|
)
|
|
|
|
|
2020-02-26 13:44:54 +00:00
|
|
|
func (i Type) String() string {
|
|
|
|
switch {
|
2020-10-29 16:14:49 +00:00
|
|
|
case 1 <= i && i <= 2:
|
|
|
|
i -= 1
|
|
|
|
return _Type_name_0[_Type_index_0[i]:_Type_index_0[i+1]]
|
2020-06-10 07:59:10 +00:00
|
|
|
case i == 32:
|
|
|
|
return _Type_name_1
|
|
|
|
case i == 64:
|
|
|
|
return _Type_name_2
|
2020-10-29 16:14:49 +00:00
|
|
|
case i == 99:
|
2020-09-07 08:11:24 +00:00
|
|
|
return _Type_name_3
|
2020-02-26 13:44:54 +00:00
|
|
|
default:
|
|
|
|
return "Type(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
|
|
}
|
|
|
|
}
|