blob: 96a6db2f4c4a4c9531825b36d5c8b34d575f7d1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// 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) + ")"
}
}
|