You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/exprstress/value_mode_string.go

38 lines
873 B

// Code generated by "stringer -type=ValueMode -output=value_mode_string.go expected.go"; DO NOT EDIT.
package exprstress
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[SpecifiedValue-67]
_ = x[UnknownValue-85]
_ = x[NullValue-78]
_ = x[NumberInfinity-8734]
}
const (
_ValueMode_name_0 = "SpecifiedValue"
_ValueMode_name_1 = "NullValue"
_ValueMode_name_2 = "UnknownValue"
_ValueMode_name_3 = "NumberInfinity"
)
func (i ValueMode) String() string {
switch {
case i == 67:
return _ValueMode_name_0
case i == 78:
return _ValueMode_name_1
case i == 85:
return _ValueMode_name_2
case i == 8734:
return _ValueMode_name_3
default:
return "ValueMode(" + strconv.FormatInt(int64(i), 10) + ")"
}
}