forked from Wifx/gonetworkmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nmdevicetype_string.go
53 lines (47 loc) · 2.18 KB
/
nmdevicetype_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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Code generated by "stringer -type=NmDeviceType"; DO NOT EDIT.
package gonetworkmanager
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[NmDeviceTypeUnknown-0]
_ = x[NmDeviceTypeGeneric-14]
_ = x[NmDeviceTypeEthernet-1]
_ = x[NmDeviceTypeWifi-2]
_ = x[NmDeviceTypeUnused1-3]
_ = x[NmDeviceTypeUnused2-4]
_ = x[NmDeviceTypeBt-5]
_ = x[NmDeviceTypeOlpcMesh-6]
_ = x[NmDeviceTypeWimax-7]
_ = x[NmDeviceTypeModem-8]
_ = x[NmDeviceTypeInfiniband-9]
_ = x[NmDeviceTypeBond-10]
_ = x[NmDeviceTypeVlan-11]
_ = x[NmDeviceTypeAdsl-12]
_ = x[NmDeviceTypeBridge-13]
_ = x[NmDeviceTypeTeam-15]
_ = x[NmDeviceTypeTun-16]
_ = x[NmDeviceTypeIpTunnel-17]
_ = x[NmDeviceTypeMacvlan-18]
_ = x[NmDeviceTypeVxlan-19]
_ = x[NmDeviceTypeVeth-20]
_ = x[NmDeviceTypeMacsec-21]
_ = x[NmDeviceTypeDummy-22]
_ = x[NmDeviceTypePpp-23]
_ = x[NmDeviceTypeOvsInterface-24]
_ = x[NmDeviceTypeOvsPort-25]
_ = x[NmDeviceTypeOvsBridge-26]
_ = x[NmDeviceTypeWpan-27]
_ = x[NmDeviceType6lowpan-28]
_ = x[NmDeviceTypeWireguard-29]
_ = x[NmDeviceTypeWifiP2p-30]
}
const _NmDeviceType_name = "NmDeviceTypeUnknownNmDeviceTypeEthernetNmDeviceTypeWifiNmDeviceTypeUnused1NmDeviceTypeUnused2NmDeviceTypeBtNmDeviceTypeOlpcMeshNmDeviceTypeWimaxNmDeviceTypeModemNmDeviceTypeInfinibandNmDeviceTypeBondNmDeviceTypeVlanNmDeviceTypeAdslNmDeviceTypeBridgeNmDeviceTypeGenericNmDeviceTypeTeamNmDeviceTypeTunNmDeviceTypeIpTunnelNmDeviceTypeMacvlanNmDeviceTypeVxlanNmDeviceTypeVethNmDeviceTypeMacsecNmDeviceTypeDummyNmDeviceTypePppNmDeviceTypeOvsInterfaceNmDeviceTypeOvsPortNmDeviceTypeOvsBridgeNmDeviceTypeWpanNmDeviceType6lowpanNmDeviceTypeWireguardNmDeviceTypeWifiP2p"
var _NmDeviceType_index = [...]uint16{0, 19, 39, 55, 74, 93, 107, 127, 144, 161, 183, 199, 215, 231, 249, 268, 284, 299, 319, 338, 355, 371, 389, 406, 421, 445, 464, 485, 501, 520, 541, 560}
func (i NmDeviceType) String() string {
if i >= NmDeviceType(len(_NmDeviceType_index)-1) {
return "NmDeviceType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _NmDeviceType_name[_NmDeviceType_index[i]:_NmDeviceType_index[i+1]]
}