github.com/federicobaldo/terraform@v0.6.15-0.20160323222747-b20f680cbf05/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 = "walkInvalidwalkInputwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroy"
     8  
     9  var _walkOperation_index = [...]uint8{0, 11, 20, 29, 37, 52, 63, 75, 86}
    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  }