github.com/m3db/m3@v1.5.0/src/x/serialize/serialize_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/m3db/m3/src/x/serialize (interfaces: TagEncoder,TagEncoderPool,TagDecoder,TagDecoderPool,MetricTagsIterator,MetricTagsIteratorPool) 3 4 // Copyright (c) 2021 Uber Technologies, Inc. 5 // 6 // Permission is hereby granted, free of charge, to any person obtaining a copy 7 // of this software and associated documentation files (the "Software"), to deal 8 // in the Software without restriction, including without limitation the rights 9 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 // copies of the Software, and to permit persons to whom the Software is 11 // furnished to do so, subject to the following conditions: 12 // 13 // The above copyright notice and this permission notice shall be included in 14 // all copies or substantial portions of the Software. 15 // 16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 // THE SOFTWARE. 23 24 // Package serialize is a generated GoMock package. 25 package serialize 26 27 import ( 28 "reflect" 29 30 "github.com/m3db/m3/src/x/checked" 31 "github.com/m3db/m3/src/x/ident" 32 33 "github.com/golang/mock/gomock" 34 ) 35 36 // MockTagEncoder is a mock of TagEncoder interface. 37 type MockTagEncoder struct { 38 ctrl *gomock.Controller 39 recorder *MockTagEncoderMockRecorder 40 } 41 42 // MockTagEncoderMockRecorder is the mock recorder for MockTagEncoder. 43 type MockTagEncoderMockRecorder struct { 44 mock *MockTagEncoder 45 } 46 47 // NewMockTagEncoder creates a new mock instance. 48 func NewMockTagEncoder(ctrl *gomock.Controller) *MockTagEncoder { 49 mock := &MockTagEncoder{ctrl: ctrl} 50 mock.recorder = &MockTagEncoderMockRecorder{mock} 51 return mock 52 } 53 54 // EXPECT returns an object that allows the caller to indicate expected use. 55 func (m *MockTagEncoder) EXPECT() *MockTagEncoderMockRecorder { 56 return m.recorder 57 } 58 59 // Data mocks base method. 60 func (m *MockTagEncoder) Data() (checked.Bytes, bool) { 61 m.ctrl.T.Helper() 62 ret := m.ctrl.Call(m, "Data") 63 ret0, _ := ret[0].(checked.Bytes) 64 ret1, _ := ret[1].(bool) 65 return ret0, ret1 66 } 67 68 // Data indicates an expected call of Data. 69 func (mr *MockTagEncoderMockRecorder) Data() *gomock.Call { 70 mr.mock.ctrl.T.Helper() 71 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Data", reflect.TypeOf((*MockTagEncoder)(nil).Data)) 72 } 73 74 // Encode mocks base method. 75 func (m *MockTagEncoder) Encode(arg0 ident.TagIterator) error { 76 m.ctrl.T.Helper() 77 ret := m.ctrl.Call(m, "Encode", arg0) 78 ret0, _ := ret[0].(error) 79 return ret0 80 } 81 82 // Encode indicates an expected call of Encode. 83 func (mr *MockTagEncoderMockRecorder) Encode(arg0 interface{}) *gomock.Call { 84 mr.mock.ctrl.T.Helper() 85 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Encode", reflect.TypeOf((*MockTagEncoder)(nil).Encode), arg0) 86 } 87 88 // Finalize mocks base method. 89 func (m *MockTagEncoder) Finalize() { 90 m.ctrl.T.Helper() 91 m.ctrl.Call(m, "Finalize") 92 } 93 94 // Finalize indicates an expected call of Finalize. 95 func (mr *MockTagEncoderMockRecorder) Finalize() *gomock.Call { 96 mr.mock.ctrl.T.Helper() 97 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockTagEncoder)(nil).Finalize)) 98 } 99 100 // Reset mocks base method. 101 func (m *MockTagEncoder) Reset() { 102 m.ctrl.T.Helper() 103 m.ctrl.Call(m, "Reset") 104 } 105 106 // Reset indicates an expected call of Reset. 107 func (mr *MockTagEncoderMockRecorder) Reset() *gomock.Call { 108 mr.mock.ctrl.T.Helper() 109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockTagEncoder)(nil).Reset)) 110 } 111 112 // MockTagEncoderPool is a mock of TagEncoderPool interface. 113 type MockTagEncoderPool struct { 114 ctrl *gomock.Controller 115 recorder *MockTagEncoderPoolMockRecorder 116 } 117 118 // MockTagEncoderPoolMockRecorder is the mock recorder for MockTagEncoderPool. 119 type MockTagEncoderPoolMockRecorder struct { 120 mock *MockTagEncoderPool 121 } 122 123 // NewMockTagEncoderPool creates a new mock instance. 124 func NewMockTagEncoderPool(ctrl *gomock.Controller) *MockTagEncoderPool { 125 mock := &MockTagEncoderPool{ctrl: ctrl} 126 mock.recorder = &MockTagEncoderPoolMockRecorder{mock} 127 return mock 128 } 129 130 // EXPECT returns an object that allows the caller to indicate expected use. 131 func (m *MockTagEncoderPool) EXPECT() *MockTagEncoderPoolMockRecorder { 132 return m.recorder 133 } 134 135 // Get mocks base method. 136 func (m *MockTagEncoderPool) Get() TagEncoder { 137 m.ctrl.T.Helper() 138 ret := m.ctrl.Call(m, "Get") 139 ret0, _ := ret[0].(TagEncoder) 140 return ret0 141 } 142 143 // Get indicates an expected call of Get. 144 func (mr *MockTagEncoderPoolMockRecorder) Get() *gomock.Call { 145 mr.mock.ctrl.T.Helper() 146 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockTagEncoderPool)(nil).Get)) 147 } 148 149 // Init mocks base method. 150 func (m *MockTagEncoderPool) Init() { 151 m.ctrl.T.Helper() 152 m.ctrl.Call(m, "Init") 153 } 154 155 // Init indicates an expected call of Init. 156 func (mr *MockTagEncoderPoolMockRecorder) Init() *gomock.Call { 157 mr.mock.ctrl.T.Helper() 158 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockTagEncoderPool)(nil).Init)) 159 } 160 161 // Put mocks base method. 162 func (m *MockTagEncoderPool) Put(arg0 TagEncoder) { 163 m.ctrl.T.Helper() 164 m.ctrl.Call(m, "Put", arg0) 165 } 166 167 // Put indicates an expected call of Put. 168 func (mr *MockTagEncoderPoolMockRecorder) Put(arg0 interface{}) *gomock.Call { 169 mr.mock.ctrl.T.Helper() 170 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockTagEncoderPool)(nil).Put), arg0) 171 } 172 173 // MockTagDecoder is a mock of TagDecoder interface. 174 type MockTagDecoder struct { 175 ctrl *gomock.Controller 176 recorder *MockTagDecoderMockRecorder 177 } 178 179 // MockTagDecoderMockRecorder is the mock recorder for MockTagDecoder. 180 type MockTagDecoderMockRecorder struct { 181 mock *MockTagDecoder 182 } 183 184 // NewMockTagDecoder creates a new mock instance. 185 func NewMockTagDecoder(ctrl *gomock.Controller) *MockTagDecoder { 186 mock := &MockTagDecoder{ctrl: ctrl} 187 mock.recorder = &MockTagDecoderMockRecorder{mock} 188 return mock 189 } 190 191 // EXPECT returns an object that allows the caller to indicate expected use. 192 func (m *MockTagDecoder) EXPECT() *MockTagDecoderMockRecorder { 193 return m.recorder 194 } 195 196 // Close mocks base method. 197 func (m *MockTagDecoder) Close() { 198 m.ctrl.T.Helper() 199 m.ctrl.Call(m, "Close") 200 } 201 202 // Close indicates an expected call of Close. 203 func (mr *MockTagDecoderMockRecorder) Close() *gomock.Call { 204 mr.mock.ctrl.T.Helper() 205 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockTagDecoder)(nil).Close)) 206 } 207 208 // Current mocks base method. 209 func (m *MockTagDecoder) Current() ident.Tag { 210 m.ctrl.T.Helper() 211 ret := m.ctrl.Call(m, "Current") 212 ret0, _ := ret[0].(ident.Tag) 213 return ret0 214 } 215 216 // Current indicates an expected call of Current. 217 func (mr *MockTagDecoderMockRecorder) Current() *gomock.Call { 218 mr.mock.ctrl.T.Helper() 219 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockTagDecoder)(nil).Current)) 220 } 221 222 // CurrentIndex mocks base method. 223 func (m *MockTagDecoder) CurrentIndex() int { 224 m.ctrl.T.Helper() 225 ret := m.ctrl.Call(m, "CurrentIndex") 226 ret0, _ := ret[0].(int) 227 return ret0 228 } 229 230 // CurrentIndex indicates an expected call of CurrentIndex. 231 func (mr *MockTagDecoderMockRecorder) CurrentIndex() *gomock.Call { 232 mr.mock.ctrl.T.Helper() 233 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CurrentIndex", reflect.TypeOf((*MockTagDecoder)(nil).CurrentIndex)) 234 } 235 236 // Duplicate mocks base method. 237 func (m *MockTagDecoder) Duplicate() ident.TagIterator { 238 m.ctrl.T.Helper() 239 ret := m.ctrl.Call(m, "Duplicate") 240 ret0, _ := ret[0].(ident.TagIterator) 241 return ret0 242 } 243 244 // Duplicate indicates an expected call of Duplicate. 245 func (mr *MockTagDecoderMockRecorder) Duplicate() *gomock.Call { 246 mr.mock.ctrl.T.Helper() 247 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Duplicate", reflect.TypeOf((*MockTagDecoder)(nil).Duplicate)) 248 } 249 250 // Err mocks base method. 251 func (m *MockTagDecoder) Err() error { 252 m.ctrl.T.Helper() 253 ret := m.ctrl.Call(m, "Err") 254 ret0, _ := ret[0].(error) 255 return ret0 256 } 257 258 // Err indicates an expected call of Err. 259 func (mr *MockTagDecoderMockRecorder) Err() *gomock.Call { 260 mr.mock.ctrl.T.Helper() 261 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockTagDecoder)(nil).Err)) 262 } 263 264 // Len mocks base method. 265 func (m *MockTagDecoder) Len() int { 266 m.ctrl.T.Helper() 267 ret := m.ctrl.Call(m, "Len") 268 ret0, _ := ret[0].(int) 269 return ret0 270 } 271 272 // Len indicates an expected call of Len. 273 func (mr *MockTagDecoderMockRecorder) Len() *gomock.Call { 274 mr.mock.ctrl.T.Helper() 275 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockTagDecoder)(nil).Len)) 276 } 277 278 // Next mocks base method. 279 func (m *MockTagDecoder) Next() bool { 280 m.ctrl.T.Helper() 281 ret := m.ctrl.Call(m, "Next") 282 ret0, _ := ret[0].(bool) 283 return ret0 284 } 285 286 // Next indicates an expected call of Next. 287 func (mr *MockTagDecoderMockRecorder) Next() *gomock.Call { 288 mr.mock.ctrl.T.Helper() 289 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockTagDecoder)(nil).Next)) 290 } 291 292 // Remaining mocks base method. 293 func (m *MockTagDecoder) Remaining() int { 294 m.ctrl.T.Helper() 295 ret := m.ctrl.Call(m, "Remaining") 296 ret0, _ := ret[0].(int) 297 return ret0 298 } 299 300 // Remaining indicates an expected call of Remaining. 301 func (mr *MockTagDecoderMockRecorder) Remaining() *gomock.Call { 302 mr.mock.ctrl.T.Helper() 303 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Remaining", reflect.TypeOf((*MockTagDecoder)(nil).Remaining)) 304 } 305 306 // Reset mocks base method. 307 func (m *MockTagDecoder) Reset(arg0 checked.Bytes) { 308 m.ctrl.T.Helper() 309 m.ctrl.Call(m, "Reset", arg0) 310 } 311 312 // Reset indicates an expected call of Reset. 313 func (mr *MockTagDecoderMockRecorder) Reset(arg0 interface{}) *gomock.Call { 314 mr.mock.ctrl.T.Helper() 315 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockTagDecoder)(nil).Reset), arg0) 316 } 317 318 // Rewind mocks base method. 319 func (m *MockTagDecoder) Rewind() { 320 m.ctrl.T.Helper() 321 m.ctrl.Call(m, "Rewind") 322 } 323 324 // Rewind indicates an expected call of Rewind. 325 func (mr *MockTagDecoderMockRecorder) Rewind() *gomock.Call { 326 mr.mock.ctrl.T.Helper() 327 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rewind", reflect.TypeOf((*MockTagDecoder)(nil).Rewind)) 328 } 329 330 // MockTagDecoderPool is a mock of TagDecoderPool interface. 331 type MockTagDecoderPool struct { 332 ctrl *gomock.Controller 333 recorder *MockTagDecoderPoolMockRecorder 334 } 335 336 // MockTagDecoderPoolMockRecorder is the mock recorder for MockTagDecoderPool. 337 type MockTagDecoderPoolMockRecorder struct { 338 mock *MockTagDecoderPool 339 } 340 341 // NewMockTagDecoderPool creates a new mock instance. 342 func NewMockTagDecoderPool(ctrl *gomock.Controller) *MockTagDecoderPool { 343 mock := &MockTagDecoderPool{ctrl: ctrl} 344 mock.recorder = &MockTagDecoderPoolMockRecorder{mock} 345 return mock 346 } 347 348 // EXPECT returns an object that allows the caller to indicate expected use. 349 func (m *MockTagDecoderPool) EXPECT() *MockTagDecoderPoolMockRecorder { 350 return m.recorder 351 } 352 353 // Get mocks base method. 354 func (m *MockTagDecoderPool) Get() TagDecoder { 355 m.ctrl.T.Helper() 356 ret := m.ctrl.Call(m, "Get") 357 ret0, _ := ret[0].(TagDecoder) 358 return ret0 359 } 360 361 // Get indicates an expected call of Get. 362 func (mr *MockTagDecoderPoolMockRecorder) Get() *gomock.Call { 363 mr.mock.ctrl.T.Helper() 364 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockTagDecoderPool)(nil).Get)) 365 } 366 367 // Init mocks base method. 368 func (m *MockTagDecoderPool) Init() { 369 m.ctrl.T.Helper() 370 m.ctrl.Call(m, "Init") 371 } 372 373 // Init indicates an expected call of Init. 374 func (mr *MockTagDecoderPoolMockRecorder) Init() *gomock.Call { 375 mr.mock.ctrl.T.Helper() 376 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockTagDecoderPool)(nil).Init)) 377 } 378 379 // Put mocks base method. 380 func (m *MockTagDecoderPool) Put(arg0 TagDecoder) { 381 m.ctrl.T.Helper() 382 m.ctrl.Call(m, "Put", arg0) 383 } 384 385 // Put indicates an expected call of Put. 386 func (mr *MockTagDecoderPoolMockRecorder) Put(arg0 interface{}) *gomock.Call { 387 mr.mock.ctrl.T.Helper() 388 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockTagDecoderPool)(nil).Put), arg0) 389 } 390 391 // MockMetricTagsIterator is a mock of MetricTagsIterator interface. 392 type MockMetricTagsIterator struct { 393 ctrl *gomock.Controller 394 recorder *MockMetricTagsIteratorMockRecorder 395 } 396 397 // MockMetricTagsIteratorMockRecorder is the mock recorder for MockMetricTagsIterator. 398 type MockMetricTagsIteratorMockRecorder struct { 399 mock *MockMetricTagsIterator 400 } 401 402 // NewMockMetricTagsIterator creates a new mock instance. 403 func NewMockMetricTagsIterator(ctrl *gomock.Controller) *MockMetricTagsIterator { 404 mock := &MockMetricTagsIterator{ctrl: ctrl} 405 mock.recorder = &MockMetricTagsIteratorMockRecorder{mock} 406 return mock 407 } 408 409 // EXPECT returns an object that allows the caller to indicate expected use. 410 func (m *MockMetricTagsIterator) EXPECT() *MockMetricTagsIteratorMockRecorder { 411 return m.recorder 412 } 413 414 // Bytes mocks base method. 415 func (m *MockMetricTagsIterator) Bytes() []byte { 416 m.ctrl.T.Helper() 417 ret := m.ctrl.Call(m, "Bytes") 418 ret0, _ := ret[0].([]byte) 419 return ret0 420 } 421 422 // Bytes indicates an expected call of Bytes. 423 func (mr *MockMetricTagsIteratorMockRecorder) Bytes() *gomock.Call { 424 mr.mock.ctrl.T.Helper() 425 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bytes", reflect.TypeOf((*MockMetricTagsIterator)(nil).Bytes)) 426 } 427 428 // Close mocks base method. 429 func (m *MockMetricTagsIterator) Close() { 430 m.ctrl.T.Helper() 431 m.ctrl.Call(m, "Close") 432 } 433 434 // Close indicates an expected call of Close. 435 func (mr *MockMetricTagsIteratorMockRecorder) Close() *gomock.Call { 436 mr.mock.ctrl.T.Helper() 437 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockMetricTagsIterator)(nil).Close)) 438 } 439 440 // Current mocks base method. 441 func (m *MockMetricTagsIterator) Current() ([]byte, []byte) { 442 m.ctrl.T.Helper() 443 ret := m.ctrl.Call(m, "Current") 444 ret0, _ := ret[0].([]byte) 445 ret1, _ := ret[1].([]byte) 446 return ret0, ret1 447 } 448 449 // Current indicates an expected call of Current. 450 func (mr *MockMetricTagsIteratorMockRecorder) Current() *gomock.Call { 451 mr.mock.ctrl.T.Helper() 452 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockMetricTagsIterator)(nil).Current)) 453 } 454 455 // Err mocks base method. 456 func (m *MockMetricTagsIterator) Err() error { 457 m.ctrl.T.Helper() 458 ret := m.ctrl.Call(m, "Err") 459 ret0, _ := ret[0].(error) 460 return ret0 461 } 462 463 // Err indicates an expected call of Err. 464 func (mr *MockMetricTagsIteratorMockRecorder) Err() *gomock.Call { 465 mr.mock.ctrl.T.Helper() 466 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockMetricTagsIterator)(nil).Err)) 467 } 468 469 // Next mocks base method. 470 func (m *MockMetricTagsIterator) Next() bool { 471 m.ctrl.T.Helper() 472 ret := m.ctrl.Call(m, "Next") 473 ret0, _ := ret[0].(bool) 474 return ret0 475 } 476 477 // Next indicates an expected call of Next. 478 func (mr *MockMetricTagsIteratorMockRecorder) Next() *gomock.Call { 479 mr.mock.ctrl.T.Helper() 480 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockMetricTagsIterator)(nil).Next)) 481 } 482 483 // NumTags mocks base method. 484 func (m *MockMetricTagsIterator) NumTags() int { 485 m.ctrl.T.Helper() 486 ret := m.ctrl.Call(m, "NumTags") 487 ret0, _ := ret[0].(int) 488 return ret0 489 } 490 491 // NumTags indicates an expected call of NumTags. 492 func (mr *MockMetricTagsIteratorMockRecorder) NumTags() *gomock.Call { 493 mr.mock.ctrl.T.Helper() 494 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NumTags", reflect.TypeOf((*MockMetricTagsIterator)(nil).NumTags)) 495 } 496 497 // Reset mocks base method. 498 func (m *MockMetricTagsIterator) Reset(arg0 []byte) { 499 m.ctrl.T.Helper() 500 m.ctrl.Call(m, "Reset", arg0) 501 } 502 503 // Reset indicates an expected call of Reset. 504 func (mr *MockMetricTagsIteratorMockRecorder) Reset(arg0 interface{}) *gomock.Call { 505 mr.mock.ctrl.T.Helper() 506 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockMetricTagsIterator)(nil).Reset), arg0) 507 } 508 509 // TagValue mocks base method. 510 func (m *MockMetricTagsIterator) TagValue(arg0 []byte) ([]byte, bool) { 511 m.ctrl.T.Helper() 512 ret := m.ctrl.Call(m, "TagValue", arg0) 513 ret0, _ := ret[0].([]byte) 514 ret1, _ := ret[1].(bool) 515 return ret0, ret1 516 } 517 518 // TagValue indicates an expected call of TagValue. 519 func (mr *MockMetricTagsIteratorMockRecorder) TagValue(arg0 interface{}) *gomock.Call { 520 mr.mock.ctrl.T.Helper() 521 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagValue", reflect.TypeOf((*MockMetricTagsIterator)(nil).TagValue), arg0) 522 } 523 524 // MockMetricTagsIteratorPool is a mock of MetricTagsIteratorPool interface. 525 type MockMetricTagsIteratorPool struct { 526 ctrl *gomock.Controller 527 recorder *MockMetricTagsIteratorPoolMockRecorder 528 } 529 530 // MockMetricTagsIteratorPoolMockRecorder is the mock recorder for MockMetricTagsIteratorPool. 531 type MockMetricTagsIteratorPoolMockRecorder struct { 532 mock *MockMetricTagsIteratorPool 533 } 534 535 // NewMockMetricTagsIteratorPool creates a new mock instance. 536 func NewMockMetricTagsIteratorPool(ctrl *gomock.Controller) *MockMetricTagsIteratorPool { 537 mock := &MockMetricTagsIteratorPool{ctrl: ctrl} 538 mock.recorder = &MockMetricTagsIteratorPoolMockRecorder{mock} 539 return mock 540 } 541 542 // EXPECT returns an object that allows the caller to indicate expected use. 543 func (m *MockMetricTagsIteratorPool) EXPECT() *MockMetricTagsIteratorPoolMockRecorder { 544 return m.recorder 545 } 546 547 // Get mocks base method. 548 func (m *MockMetricTagsIteratorPool) Get() MetricTagsIterator { 549 m.ctrl.T.Helper() 550 ret := m.ctrl.Call(m, "Get") 551 ret0, _ := ret[0].(MetricTagsIterator) 552 return ret0 553 } 554 555 // Get indicates an expected call of Get. 556 func (mr *MockMetricTagsIteratorPoolMockRecorder) Get() *gomock.Call { 557 mr.mock.ctrl.T.Helper() 558 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMetricTagsIteratorPool)(nil).Get)) 559 } 560 561 // Init mocks base method. 562 func (m *MockMetricTagsIteratorPool) Init() { 563 m.ctrl.T.Helper() 564 m.ctrl.Call(m, "Init") 565 } 566 567 // Init indicates an expected call of Init. 568 func (mr *MockMetricTagsIteratorPoolMockRecorder) Init() *gomock.Call { 569 mr.mock.ctrl.T.Helper() 570 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockMetricTagsIteratorPool)(nil).Init)) 571 } 572 573 // Put mocks base method. 574 func (m *MockMetricTagsIteratorPool) Put(arg0 MetricTagsIterator) { 575 m.ctrl.T.Helper() 576 m.ctrl.Call(m, "Put", arg0) 577 } 578 579 // Put indicates an expected call of Put. 580 func (mr *MockMetricTagsIteratorPoolMockRecorder) Put(arg0 interface{}) *gomock.Call { 581 mr.mock.ctrl.T.Helper() 582 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockMetricTagsIteratorPool)(nil).Put), arg0) 583 }