github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/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  }