mirror of https://github.com/minio/minio.git
25 lines
723 B
Go
25 lines
723 B
Go
|
// Code generated by "stringer -type=healingMetric -trimprefix=healingMetric erasure-healing.go"; DO NOT EDIT.
|
||
|
|
||
|
package cmd
|
||
|
|
||
|
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[healingMetricBucket-0]
|
||
|
_ = x[healingMetricObject-1]
|
||
|
}
|
||
|
|
||
|
const _healingMetric_name = "BucketObject"
|
||
|
|
||
|
var _healingMetric_index = [...]uint8{0, 6, 12}
|
||
|
|
||
|
func (i healingMetric) String() string {
|
||
|
if i >= healingMetric(len(_healingMetric_index)-1) {
|
||
|
return "healingMetric(" + strconv.FormatInt(int64(i), 10) + ")"
|
||
|
}
|
||
|
return _healingMetric_name[_healingMetric_index[i]:_healingMetric_index[i+1]]
|
||
|
}
|