mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-16 16:01:49 -04:00
Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
27 lines
942 B
Go
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]]
|
|
}
|