22 lines
409 B
Go
22 lines
409 B
Go
|
// Code generated by "stringer -type ObjectStatus"; DO NOT EDIT.
|
||
|
|
||
|
package states
|
||
|
|
||
|
import "strconv"
|
||
|
|
||
|
const (
|
||
|
_ObjectStatus_name_0 = "ObjectReady"
|
||
|
_ObjectStatus_name_1 = "ObjectTainted"
|
||
|
)
|
||
|
|
||
|
func (i ObjectStatus) String() string {
|
||
|
switch {
|
||
|
case i == 82:
|
||
|
return _ObjectStatus_name_0
|
||
|
case i == 84:
|
||
|
return _ObjectStatus_name_1
|
||
|
default:
|
||
|
return "ObjectStatus(" + strconv.FormatInt(int64(i), 10) + ")"
|
||
|
}
|
||
|
}
|