forked from mondoohq/cnquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeature_string.go
32 lines (26 loc) · 954 Bytes
/
feature_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
// Code generated by "stringer -type=Feature"; DO NOT EDIT.
package cnquery
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[MassQueries-1]
_ = x[PiperCode-2]
_ = x[BoolAssertions-3]
_ = x[K8sNodeDiscovery-4]
_ = x[MQLAssetContext-5]
_ = x[ErrorsAsFailures-6]
_ = x[StoreResourcesData-7]
_ = x[FineGrainedAssets-8]
_ = x[SerialNumberAsID-9]
}
const _Feature_name = "MassQueriesPiperCodeBoolAssertionsK8sNodeDiscoveryMQLAssetContextErrorsAsFailuresStoreResourcesDataFineGrainedAssetsSerialNumberAsID"
var _Feature_index = [...]uint8{0, 11, 20, 34, 50, 65, 81, 99, 116, 132}
func (i Feature) String() string {
i -= 1
if i >= Feature(len(_Feature_index)-1) {
return "Feature(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _Feature_name[_Feature_index[i]:_Feature_index[i+1]]
}