Files
opentf/internal/tofu/phasestate_string.go
Martin Atkins cbfc28472d go.mod: Upgrade various golang.org/x/* dependencies
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>
2025-10-10 08:23:54 -07:00

27 lines
709 B
Go

// Code generated by "stringer -type phaseState"; DO NOT EDIT.
package tofu
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[workingState-0]
_ = x[refreshState-1]
_ = x[prevRunState-2]
}
const _phaseState_name = "workingStaterefreshStateprevRunState"
var _phaseState_index = [...]uint8{0, 12, 24, 36}
func (i phaseState) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_phaseState_index)-1 {
return "phaseState(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _phaseState_name[_phaseState_index[idx]:_phaseState_index[idx+1]]
}