kubeform.dev/terraform-backend-sdk@v0.0.0-20220310143633-45f07fe731c5/configs/provisioneronfailure_string.go (about) 1 // Code generated by "stringer -type ProvisionerOnFailure"; DO NOT EDIT. 2 3 package configs 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[ProvisionerOnFailureInvalid-0] 12 _ = x[ProvisionerOnFailureContinue-1] 13 _ = x[ProvisionerOnFailureFail-2] 14 } 15 16 const _ProvisionerOnFailure_name = "ProvisionerOnFailureInvalidProvisionerOnFailureContinueProvisionerOnFailureFail" 17 18 var _ProvisionerOnFailure_index = [...]uint8{0, 27, 55, 79} 19 20 func (i ProvisionerOnFailure) String() string { 21 if i < 0 || i >= ProvisionerOnFailure(len(_ProvisionerOnFailure_index)-1) { 22 return "ProvisionerOnFailure(" + strconv.FormatInt(int64(i), 10) + ")" 23 } 24 return _ProvisionerOnFailure_name[_ProvisionerOnFailure_index[i]:_ProvisionerOnFailure_index[i+1]] 25 }