Update vendor directory
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
// Code generated by "stringer -type=NmConnectivity"; 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[NmConnectivityUnknown-0]
|
||||
_ = x[NmConnectivityNone-1]
|
||||
_ = x[NmConnectivityPortal-2]
|
||||
_ = x[NmConnectivityLimited-3]
|
||||
_ = x[NmConnectivityFull-4]
|
||||
}
|
||||
|
||||
const _NmConnectivity_name = "NmConnectivityUnknownNmConnectivityNoneNmConnectivityPortalNmConnectivityLimitedNmConnectivityFull"
|
||||
|
||||
var _NmConnectivity_index = [...]uint8{0, 21, 39, 59, 80, 98}
|
||||
|
||||
func (i NmConnectivity) String() string {
|
||||
if i >= NmConnectivity(len(_NmConnectivity_index)-1) {
|
||||
return "NmConnectivity(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _NmConnectivity_name[_NmConnectivity_index[i]:_NmConnectivity_index[i+1]]
|
||||
}
|
||||
Reference in New Issue
Block a user