github.com/acm1/terraform@v0.6.2-0.20150729164239-1f314444f45c/helper/schema/valuetype_string.go (about) 1 // generated by stringer -type=ValueType valuetype.go; DO NOT EDIT 2 3 package schema 4 5 import "fmt" 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 fmt.Sprintf("ValueType(%d)", i) 14 } 15 return _ValueType_name[_ValueType_index[i]:_ValueType_index[i+1]] 16 }