forked from jacobweinstock/go-amt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootconfigrole_string.go
36 lines (30 loc) · 988 Bytes
/
bootconfigrole_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by "stringer -type=bootConfigRole -trimprefix=bootConfigRole -linecomment"; DO NOT EDIT.
package amt
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{}
_ = x[bootConfigRoleIsNext-0]
_ = x[bootConfigRoleIsNextSingleUse-1]
_ = x[bootConfigRoleIsDefault-2]
_ = x[bootConfigRoleDMTFReserved-3]
_ = x[bootConfigRoleVendorSpecified-32768]
}
const (
_bootConfigRole_name_0 = "IsNextIsNextSingleUseIsDefault3..32767"
_bootConfigRole_name_1 = "32768..65535"
)
var (
_bootConfigRole_index_0 = [...]uint8{0, 6, 21, 30, 38}
)
func (i bootConfigRole) String() string {
switch {
case 0 <= i && i <= 3:
return _bootConfigRole_name_0[_bootConfigRole_index_0[i]:_bootConfigRole_index_0[i+1]]
case i == 32768:
return _bootConfigRole_name_1
default:
return "bootConfigRole(" + strconv.FormatInt(int64(i), 10) + ")"
}
}