github.com/dougneal/terraform@v0.6.15-0.20170330092735-b6a3840768a4/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 "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  }