github.com/ctrox/terraform@v0.11.12-beta1/terraform/graphtype_string.go (about) 1 // Code generated by "stringer -type=GraphType context_graph_type.go"; DO NOT EDIT. 2 3 package terraform 4 5 import "strconv" 6 7 const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeInputGraphTypeValidate" 8 9 var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 108, 125} 10 11 func (i GraphType) String() string { 12 if i >= GraphType(len(_GraphType_index)-1) { 13 return "GraphType(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _GraphType_name[_GraphType_index[i]:_GraphType_index[i+1]] 16 }