zrepl/cmd/replication.v2/fsreplicationstepstate_string.go
2018-08-11 12:19:10 +02:00

17 lines
605 B
Go

// Code generated by "stringer -type=FSReplicationStepState"; DO NOT EDIT.
package replication
import "strconv"
const _FSReplicationStepState_name = "StepPendingStepActiveStepRetryStepPermanentErrorStepCompleted"
var _FSReplicationStepState_index = [...]uint8{0, 11, 21, 30, 48, 61}
func (i FSReplicationStepState) String() string {
if i < 0 || i >= FSReplicationStepState(len(_FSReplicationStepState_index)-1) {
return "FSReplicationStepState(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _FSReplicationStepState_name[_FSReplicationStepState_index[i]:_FSReplicationStepState_index[i+1]]
}