25 lines
494 B
Go
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) + ")"
|
|
}
|
|
}
|