2018-06-08 02:27:57 +02:00
|
|
|
// Code generated by "stringer -type ObjectStatus"; DO NOT EDIT.
|
|
|
|
|
|
|
|
package states
|
|
|
|
|
|
|
|
import "strconv"
|
|
|
|
|
2019-05-13 16:32:49 +02:00
|
|
|
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]
|
|
|
|
}
|
|
|
|
|
2018-06-08 02:27:57 +02:00
|
|
|
const (
|
2018-10-18 18:27:48 +02:00
|
|
|
_ObjectStatus_name_0 = "ObjectPlanned"
|
|
|
|
_ObjectStatus_name_1 = "ObjectReady"
|
|
|
|
_ObjectStatus_name_2 = "ObjectTainted"
|
2018-06-08 02:27:57 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func (i ObjectStatus) String() string {
|
|
|
|
switch {
|
2018-10-18 18:27:48 +02:00
|
|
|
case i == 80:
|
2018-06-08 02:27:57 +02:00
|
|
|
return _ObjectStatus_name_0
|
2018-10-18 18:27:48 +02:00
|
|
|
case i == 82:
|
2018-06-08 02:27:57 +02:00
|
|
|
return _ObjectStatus_name_1
|
2018-10-18 18:27:48 +02:00
|
|
|
case i == 84:
|
|
|
|
return _ObjectStatus_name_2
|
2018-06-08 02:27:57 +02:00
|
|
|
default:
|
|
|
|
return "ObjectStatus(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
|
|
}
|
|
|
|
}
|