opentofu/internal/terraform/phasestate_string.go
Martin Atkins 36d0a50427 Move terraform/ to internal/terraform/
This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
2021-05-17 14:09:07 -07:00

26 lines
701 B
Go

// Code generated by "stringer -type phaseState"; DO NOT EDIT.
package terraform
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 {
if i < 0 || i >= phaseState(len(_phaseState_index)-1) {
return "phaseState(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _phaseState_name[_phaseState_index[i]:_phaseState_index[i+1]]
}