2017-06-05 04:17:35 -05:00
|
|
|
// Code generated by "stringer -type=OperationType operation_type.go"; DO NOT EDIT.
|
2017-01-18 22:47:18 -06:00
|
|
|
|
|
|
|
package backend
|
|
|
|
|
2017-12-11 15:26:29 -06:00
|
|
|
import "strconv"
|
2017-01-18 22:47:18 -06:00
|
|
|
|
2019-05-13 09:32:49 -05: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[OperationTypeInvalid-0]
|
|
|
|
_ = x[OperationTypeRefresh-1]
|
|
|
|
_ = x[OperationTypePlan-2]
|
|
|
|
_ = x[OperationTypeApply-3]
|
|
|
|
}
|
|
|
|
|
2017-01-18 22:47:18 -06:00
|
|
|
const _OperationType_name = "OperationTypeInvalidOperationTypeRefreshOperationTypePlanOperationTypeApply"
|
|
|
|
|
|
|
|
var _OperationType_index = [...]uint8{0, 20, 40, 57, 75}
|
|
|
|
|
|
|
|
func (i OperationType) String() string {
|
|
|
|
if i >= OperationType(len(_OperationType_index)-1) {
|
2017-12-11 15:26:29 -06:00
|
|
|
return "OperationType(" + strconv.FormatInt(int64(i), 10) + ")"
|
2017-01-18 22:47:18 -06:00
|
|
|
}
|
|
|
|
return _OperationType_name[_OperationType_index[i]:_OperationType_index[i+1]]
|
|
|
|
}
|