opentofu/internal/states/objectstatus_string.go
Martin Atkins f40800b3a4 Move states/ to internal/states/
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

34 lines
749 B
Go

// Code generated by "stringer -type ObjectStatus"; DO NOT EDIT.
package states
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[ObjectReady-82]
_ = x[ObjectTainted-84]
_ = x[ObjectPlanned-80]
}
const (
_ObjectStatus_name_0 = "ObjectPlanned"
_ObjectStatus_name_1 = "ObjectReady"
_ObjectStatus_name_2 = "ObjectTainted"
)
func (i ObjectStatus) String() string {
switch {
case i == 80:
return _ObjectStatus_name_0
case i == 82:
return _ObjectStatus_name_1
case i == 84:
return _ObjectStatus_name_2
default:
return "ObjectStatus(" + strconv.FormatInt(int64(i), 10) + ")"
}
}