github.com/medzin/terraform@v0.11.11/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 const _ProvisionerOnFailure_name = "ProvisionerOnFailureInvalidProvisionerOnFailureContinueProvisionerOnFailureFail" 8 9 var _ProvisionerOnFailure_index = [...]uint8{0, 27, 55, 79} 10 11 func (i ProvisionerOnFailure) String() string { 12 if i < 0 || i >= ProvisionerOnFailure(len(_ProvisionerOnFailure_index)-1) { 13 return "ProvisionerOnFailure(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _ProvisionerOnFailure_name[_ProvisionerOnFailure_index[i]:_ProvisionerOnFailure_index[i+1]] 16 }