github.com/sylr/terraform@v0.11.12-beta1/helper/schema/valuetype_string.go (about) 1 // Code generated by "stringer -type=ValueType valuetype.go"; DO NOT EDIT. 2 3 package schema 4 5 import "strconv" 6 7 const _ValueType_name = "TypeInvalidTypeBoolTypeIntTypeFloatTypeStringTypeListTypeMapTypeSettypeObject" 8 9 var _ValueType_index = [...]uint8{0, 11, 19, 26, 35, 45, 53, 60, 67, 77} 10 11 func (i ValueType) String() string { 12 if i < 0 || i >= ValueType(len(_ValueType_index)-1) { 13 return "ValueType(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _ValueType_name[_ValueType_index[i]:_ValueType_index[i+1]] 16 }