github.com/tomaszheflik/terraform@v0.7.3-0.20160827060421-32f990b41594/terraform/graphnodeconfigtype_string.go (about) 1 // Code generated by "stringer -type=GraphNodeConfigType graph_config_node_type.go"; DO NOT EDIT 2 3 package terraform 4 5 import "fmt" 6 7 const _GraphNodeConfigType_name = "GraphNodeConfigTypeInvalidGraphNodeConfigTypeResourceGraphNodeConfigTypeProviderGraphNodeConfigTypeModuleGraphNodeConfigTypeOutputGraphNodeConfigTypeVariable" 8 9 var _GraphNodeConfigType_index = [...]uint8{0, 26, 53, 80, 105, 130, 157} 10 11 func (i GraphNodeConfigType) String() string { 12 if i < 0 || i >= GraphNodeConfigType(len(_GraphNodeConfigType_index)-1) { 13 return fmt.Sprintf("GraphNodeConfigType(%d)", i) 14 } 15 return _GraphNodeConfigType_name[_GraphNodeConfigType_index[i]:_GraphNodeConfigType_index[i+1]] 16 }