kubeform.dev/terraform-backend-sdk@v0.0.0-20220310143633-45f07fe731c5/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 func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[walkInvalid-0] 12 _ = x[walkApply-1] 13 _ = x[walkPlan-2] 14 _ = x[walkPlanDestroy-3] 15 _ = x[walkValidate-4] 16 _ = x[walkDestroy-5] 17 _ = x[walkImport-6] 18 _ = x[walkEval-7] 19 } 20 21 const _walkOperation_name = "walkInvalidwalkApplywalkPlanwalkPlanDestroywalkValidatewalkDestroywalkImportwalkEval" 22 23 var _walkOperation_index = [...]uint8{0, 11, 20, 28, 43, 55, 66, 76, 84} 24 25 func (i walkOperation) String() string { 26 if i >= walkOperation(len(_walkOperation_index)-1) { 27 return "walkOperation(" + strconv.FormatInt(int64(i), 10) + ")" 28 } 29 return _walkOperation_name[_walkOperation_index[i]:_walkOperation_index[i+1]] 30 }