github.com/paultyng/terraform@v0.6.11-0.20180227224804-66ff8f8bed40/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 }