github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/cmd/scannermetric_string.go (about) 1 // Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.go"; DO NOT EDIT. 2 3 package cmd 4 5 import "strconv" 6 7 func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[scannerMetricReadMetadata-0] 12 _ = x[scannerMetricCheckMissing-1] 13 _ = x[scannerMetricSaveUsage-2] 14 _ = x[scannerMetricApplyAll-3] 15 _ = x[scannerMetricApplyVersion-4] 16 _ = x[scannerMetricTierObjSweep-5] 17 _ = x[scannerMetricHealCheck-6] 18 _ = x[scannerMetricILM-7] 19 _ = x[scannerMetricCheckReplication-8] 20 _ = x[scannerMetricYield-9] 21 _ = x[scannerMetricCleanAbandoned-10] 22 _ = x[scannerMetricApplyNonCurrent-11] 23 _ = x[scannerMetricHealAbandonedVersion-12] 24 _ = x[scannerMetricStartTrace-13] 25 _ = x[scannerMetricScanObject-14] 26 _ = x[scannerMetricHealAbandonedObject-15] 27 _ = x[scannerMetricLastRealtime-16] 28 _ = x[scannerMetricScanFolder-17] 29 _ = x[scannerMetricScanCycle-18] 30 _ = x[scannerMetricScanBucketDrive-19] 31 _ = x[scannerMetricCompactFolder-20] 32 _ = x[scannerMetricLast-21] 33 } 34 35 const _scannerMetric_name = "ReadMetadataCheckMissingSaveUsageApplyAllApplyVersionTierObjSweepHealCheckILMCheckReplicationYieldCleanAbandonedApplyNonCurrentHealAbandonedVersionStartTraceScanObjectHealAbandonedObjectLastRealtimeScanFolderScanCycleScanBucketDriveCompactFolderLast" 36 37 var _scannerMetric_index = [...]uint8{0, 12, 24, 33, 41, 53, 65, 74, 77, 93, 98, 112, 127, 147, 157, 167, 186, 198, 208, 217, 232, 245, 249} 38 39 func (i scannerMetric) String() string { 40 if i >= scannerMetric(len(_scannerMetric_index)-1) { 41 return "scannerMetric(" + strconv.FormatInt(int64(i), 10) + ")" 42 } 43 return _scannerMetric_name[_scannerMetric_index[i]:_scannerMetric_index[i+1]] 44 }