opentofu/internal/configs/configschema/nestingmode_string.go
Martin Atkins 31349a9c3a Move configs/ to internal/configs/
This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
2021-05-17 14:09:07 -07:00

29 lines
835 B
Go

// Code generated by "stringer -type=NestingMode"; DO NOT EDIT.
package configschema
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[nestingModeInvalid-0]
_ = x[NestingSingle-1]
_ = x[NestingGroup-2]
_ = x[NestingList-3]
_ = x[NestingSet-4]
_ = x[NestingMap-5]
}
const _NestingMode_name = "nestingModeInvalidNestingSingleNestingGroupNestingListNestingSetNestingMap"
var _NestingMode_index = [...]uint8{0, 18, 31, 43, 54, 64, 74}
func (i NestingMode) String() string {
if i < 0 || i >= NestingMode(len(_NestingMode_index)-1) {
return "NestingMode(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _NestingMode_name[_NestingMode_index[i]:_NestingMode_index[i+1]]
}