Update vendor directory
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
||||
// Code generated by "stringer -type=NmDeviceState"; 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[NmDeviceStateUnknown-0]
|
||||
_ = x[NmDeviceStateUnmanaged-10]
|
||||
_ = x[NmDeviceStateUnavailable-20]
|
||||
_ = x[NmDeviceStateDisconnected-30]
|
||||
_ = x[NmDeviceStatePrepare-40]
|
||||
_ = x[NmDeviceStateConfig-50]
|
||||
_ = x[NmDeviceStateNeedAuth-60]
|
||||
_ = x[NmDeviceStateIpConfig-70]
|
||||
_ = x[NmDeviceStateIpCheck-80]
|
||||
_ = x[NmDeviceStateSecondaries-90]
|
||||
_ = x[NmDeviceStateActivated-100]
|
||||
_ = x[NmDeviceStateDeactivating-110]
|
||||
_ = x[NmDeviceStateFailed-120]
|
||||
}
|
||||
|
||||
const _NmDeviceState_name = "NmDeviceStateUnknownNmDeviceStateUnmanagedNmDeviceStateUnavailableNmDeviceStateDisconnectedNmDeviceStatePrepareNmDeviceStateConfigNmDeviceStateNeedAuthNmDeviceStateIpConfigNmDeviceStateIpCheckNmDeviceStateSecondariesNmDeviceStateActivatedNmDeviceStateDeactivatingNmDeviceStateFailed"
|
||||
|
||||
var _NmDeviceState_map = map[NmDeviceState]string{
|
||||
0: _NmDeviceState_name[0:20],
|
||||
10: _NmDeviceState_name[20:42],
|
||||
20: _NmDeviceState_name[42:66],
|
||||
30: _NmDeviceState_name[66:91],
|
||||
40: _NmDeviceState_name[91:111],
|
||||
50: _NmDeviceState_name[111:130],
|
||||
60: _NmDeviceState_name[130:151],
|
||||
70: _NmDeviceState_name[151:172],
|
||||
80: _NmDeviceState_name[172:192],
|
||||
90: _NmDeviceState_name[192:216],
|
||||
100: _NmDeviceState_name[216:238],
|
||||
110: _NmDeviceState_name[238:263],
|
||||
120: _NmDeviceState_name[263:282],
|
||||
}
|
||||
|
||||
func (i NmDeviceState) String() string {
|
||||
if str, ok := _NmDeviceState_map[i]; ok {
|
||||
return str
|
||||
}
|
||||
return "NmDeviceState(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
Reference in New Issue
Block a user