Files
opentf/internal/plans/quality_string.go
2026-04-28 11:40:20 -07:00

27 lines
658 B
Go

// Code generated by "stringer -type Quality"; DO NOT EDIT.
package plans
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[Errored-0]
_ = x[NoChanges-1]
_ = x[Targeted-2]
}
const _Quality_name = "ErroredNoChangesTargeted"
var _Quality_index = [...]uint8{0, 7, 16, 24}
func (i Quality) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_Quality_index)-1 {
return "Quality(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Quality_name[_Quality_index[idx]:_Quality_index[idx+1]]
}