Files
opentf/internal/command/arguments/deprecationwarninglevel_string.go
Christian Mesh 2cfaa36598 Deprecation diagnostics internal rework (#3996)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2026-04-28 07:44:49 -04:00

27 lines
942 B
Go

// Code generated by "stringer -type=DeprecationWarningLevel deprecation_level.go"; DO NOT EDIT.
package arguments
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[DeprecationWarningLevelAll-0]
_ = x[DeprecationWarningLevelLocal-1]
_ = x[DeprecationWarningLevelNone-2]
}
const _DeprecationWarningLevel_name = "DeprecationWarningLevelAllDeprecationWarningLevelLocalDeprecationWarningLevelNone"
var _DeprecationWarningLevel_index = [...]uint8{0, 26, 54, 81}
func (i DeprecationWarningLevel) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_DeprecationWarningLevel_index)-1 {
return "DeprecationWarningLevel(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _DeprecationWarningLevel_name[_DeprecationWarningLevel_index[idx]:_DeprecationWarningLevel_index[idx+1]]
}