github.com/Kevinklinger/open_terraform@v0.11.12-beta1/backend/operationtype_string.go (about) 1 // Code generated by "stringer -type=OperationType operation_type.go"; DO NOT EDIT. 2 3 package backend 4 5 import "strconv" 6 7 const _OperationType_name = "OperationTypeInvalidOperationTypeRefreshOperationTypePlanOperationTypeApply" 8 9 var _OperationType_index = [...]uint8{0, 20, 40, 57, 75} 10 11 func (i OperationType) String() string { 12 if i >= OperationType(len(_OperationType_index)-1) { 13 return "OperationType(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _OperationType_name[_OperationType_index[i]:_OperationType_index[i+1]] 16 }