github.com/jayaramimmaneni/terraform@v0.11.12-beta1/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 "strconv"
     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 "walkOperation(" + strconv.FormatInt(int64(i), 10) + ")"
    14  	}
    15  	return _walkOperation_name[_walkOperation_index[i]:_walkOperation_index[i+1]]
    16  }