github.com/medzin/terraform@v0.11.11/config/configschema/nestingmode_string.go (about)

     1  // Code generated by "stringer -type=NestingMode"; DO NOT EDIT.
     2  
     3  package configschema
     4  
     5  import "strconv"
     6  
     7  const _NestingMode_name = "nestingModeInvalidNestingSingleNestingListNestingSetNestingMap"
     8  
     9  var _NestingMode_index = [...]uint8{0, 18, 31, 42, 52, 62}
    10  
    11  func (i NestingMode) String() string {
    12  	if i < 0 || i >= NestingMode(len(_NestingMode_index)-1) {
    13  		return "NestingMode(" + strconv.FormatInt(int64(i), 10) + ")"
    14  	}
    15  	return _NestingMode_name[_NestingMode_index[i]:_NestingMode_index[i+1]]
    16  }