opentofu/states/objectstatus_string.go
Martin Atkins ec57927ea3 build: Take protoc out of the "go generate" path
Since protoc is not go-gettable, and most development tasks in Terraform
won't involve recompiling protoc files anyway, we'll use a separate
mechanism for these.

This way "go generate" only depends on things we can "go get" in the
"make tools" target.

In a later commit we should also in some way specify a particular version
of protoc to use so that we don't get "flapping" regenerations as
developers work with different versions, but the priority here is just to
make "make generate" minimally usable again to restore the dev workflow
documented in the README.

This also includes some updates that resulted from running "make generate"
and "make protobuf" after those Makefile changes were in place.
2018-10-18 10:39:20 -07:00

25 lines
494 B
Go

// Code generated by "stringer -type ObjectStatus"; DO NOT EDIT.
package states
import "strconv"
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) + ")"
}
}