github.com/brandonstevens/terraform@v0.9.6-0.20170512224929-5367f2607e16/terraform/walkoperation_string.go (about)

     1  // Code generated by "stringer -type=walkOperation graph_walk_operation.go"; DO NOT EDIT.
     2  
     3  package terraform
     4  
     5  import "fmt"
     6  
     7  const _walkOperation_name = "walkInvalidwalkInputwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImport"
     8  
     9  var _walkOperation_index = [...]uint8{0, 11, 20, 29, 37, 52, 63, 75, 86, 96}
    10  
    11  func (i walkOperation) String() string {
    12  	if i >= walkOperation(len(_walkOperation_index)-1) {
    13  		return fmt.Sprintf("walkOperation(%d)", i)
    14  	}
    15  	return _walkOperation_name[_walkOperation_index[i]:_walkOperation_index[i+1]]
    16  }