You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
2.0 KiB

  1. // Code generated by mockery 2.9.4. DO NOT EDIT.
  2. package mocks
  3. import (
  4. mock "github.com/stretchr/testify/mock"
  5. time "time"
  6. )
  7. // Metricer is an autogenerated mock type for the Metricer type
  8. type Metricer struct {
  9. mock.Mock
  10. }
  11. // BackFillBlocksTotal provides a mock function with given fields:
  12. func (_m *Metricer) BackFillBlocksTotal() int64 {
  13. ret := _m.Called()
  14. var r0 int64
  15. if rf, ok := ret.Get(0).(func() int64); ok {
  16. r0 = rf()
  17. } else {
  18. r0 = ret.Get(0).(int64)
  19. }
  20. return r0
  21. }
  22. // BackFilledBlocks provides a mock function with given fields:
  23. func (_m *Metricer) BackFilledBlocks() int64 {
  24. ret := _m.Called()
  25. var r0 int64
  26. if rf, ok := ret.Get(0).(func() int64); ok {
  27. r0 = rf()
  28. } else {
  29. r0 = ret.Get(0).(int64)
  30. }
  31. return r0
  32. }
  33. // ChunkProcessAvgTime provides a mock function with given fields:
  34. func (_m *Metricer) ChunkProcessAvgTime() time.Duration {
  35. ret := _m.Called()
  36. var r0 time.Duration
  37. if rf, ok := ret.Get(0).(func() time.Duration); ok {
  38. r0 = rf()
  39. } else {
  40. r0 = ret.Get(0).(time.Duration)
  41. }
  42. return r0
  43. }
  44. // SnapshotChunksCount provides a mock function with given fields:
  45. func (_m *Metricer) SnapshotChunksCount() int64 {
  46. ret := _m.Called()
  47. var r0 int64
  48. if rf, ok := ret.Get(0).(func() int64); ok {
  49. r0 = rf()
  50. } else {
  51. r0 = ret.Get(0).(int64)
  52. }
  53. return r0
  54. }
  55. // SnapshotChunksTotal provides a mock function with given fields:
  56. func (_m *Metricer) SnapshotChunksTotal() int64 {
  57. ret := _m.Called()
  58. var r0 int64
  59. if rf, ok := ret.Get(0).(func() int64); ok {
  60. r0 = rf()
  61. } else {
  62. r0 = ret.Get(0).(int64)
  63. }
  64. return r0
  65. }
  66. // SnapshotHeight provides a mock function with given fields:
  67. func (_m *Metricer) SnapshotHeight() int64 {
  68. ret := _m.Called()
  69. var r0 int64
  70. if rf, ok := ret.Get(0).(func() int64); ok {
  71. r0 = rf()
  72. } else {
  73. r0 = ret.Get(0).(int64)
  74. }
  75. return r0
  76. }
  77. // TotalSnapshots provides a mock function with given fields:
  78. func (_m *Metricer) TotalSnapshots() int64 {
  79. ret := _m.Called()
  80. var r0 int64
  81. if rf, ok := ret.Get(0).(func() int64); ok {
  82. r0 = rf()
  83. } else {
  84. r0 = ret.Get(0).(int64)
  85. }
  86. return r0
  87. }