github.com/ndarilek/terraform@v0.3.8-0.20150320140257-d3135c1b2bac/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+1 >= ValueType(len(_ValueType_index)) {
    13  		return fmt.Sprintf("ValueType(%d)", i)
    14  	}
    15  	return _ValueType_name[_ValueType_index[i]:_ValueType_index[i+1]]
    16  }