github.com/r3labs/terraform@v0.8.4/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 "fmt" 6 7 const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypePlanGraphTypePlanDestroyGraphTypeApply" 8 9 var _GraphType_index = [...]uint8{0, 16, 31, 44, 64, 78} 10 11 func (i GraphType) String() string { 12 if i >= GraphType(len(_GraphType_index)-1) { 13 return fmt.Sprintf("GraphType(%d)", i) 14 } 15 return _GraphType_name[_GraphType_index[i]:_GraphType_index[i+1]] 16 }