-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep_string.go
35 lines (29 loc) · 1.01 KB
/
step_string.go
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
34
35
// Code generated by "stringer -type=Step -linecomment"; DO NOT EDIT.
package benchi
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[StepPreInfrastructure-0]
_ = x[StepInfrastructure-1]
_ = x[StepPostInfrastructure-2]
_ = x[StepPreTool-3]
_ = x[StepTool-4]
_ = x[StepPostTool-5]
_ = x[StepPreTest-6]
_ = x[StepTest-7]
_ = x[StepPostTest-8]
_ = x[StepPreCleanup-9]
_ = x[StepCleanup-10]
_ = x[StepPostCleanup-11]
_ = x[StepDone-12]
}
const _Step_name = "pre-infrastructureinfrastructurepost-infrastructurepre-tooltoolpost-toolpre-testtestpost-testpre-cleanupcleanuppost-cleanupdone"
var _Step_index = [...]uint8{0, 18, 32, 51, 59, 63, 72, 80, 84, 93, 104, 111, 123, 127}
func (i Step) String() string {
if i < 0 || i >= Step(len(_Step_index)-1) {
return "Step(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Step_name[_Step_index[i]:_Step_index[i+1]]
}