mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
The Go team uses automation to generate unnecessary version bumps across all of these that make it impossible to upgrade them individually because they all mutually depend on the latest versions of each other, so unfortunately we have to accept the risk of updating all of these at once in order to update any one of them. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
28 lines
934 B
Go
28 lines
934 B
Go
// Code generated by "stringer -type=DeferralReason"; DO NOT EDIT.
|
|
|
|
package providers
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[DeferredReasonUnknown-0]
|
|
_ = x[DeferredBecauseResourceConfigUnknown-1]
|
|
_ = x[DeferredBecauseProviderConfigUnknown-2]
|
|
_ = x[DeferredBecausePrereqAbsent-3]
|
|
}
|
|
|
|
const _DeferralReason_name = "DeferredReasonUnknownDeferredBecauseResourceConfigUnknownDeferredBecauseProviderConfigUnknownDeferredBecausePrereqAbsent"
|
|
|
|
var _DeferralReason_index = [...]uint8{0, 21, 57, 93, 120}
|
|
|
|
func (i DeferralReason) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_DeferralReason_index)-1 {
|
|
return "DeferralReason(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _DeferralReason_name[_DeferralReason_index[idx]:_DeferralReason_index[idx+1]]
|
|
}
|