github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/dbnode/client/client_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: ../../client/types.go 3 4 // Copyright (c) 2023 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 client is a generated GoMock package. 25 package client 26 27 import ( 28 "context" 29 "reflect" 30 "time" 31 32 "github.com/m3db/m3/src/dbnode/encoding" 33 "github.com/m3db/m3/src/dbnode/generated/thrift/rpc" 34 "github.com/m3db/m3/src/dbnode/namespace" 35 "github.com/m3db/m3/src/dbnode/runtime" 36 "github.com/m3db/m3/src/dbnode/storage/block" 37 "github.com/m3db/m3/src/dbnode/storage/bootstrap/result" 38 "github.com/m3db/m3/src/dbnode/storage/index" 39 "github.com/m3db/m3/src/dbnode/topology" 40 "github.com/m3db/m3/src/x/clock" 41 context0 "github.com/m3db/m3/src/x/context" 42 "github.com/m3db/m3/src/x/ident" 43 "github.com/m3db/m3/src/x/instrument" 44 "github.com/m3db/m3/src/x/pool" 45 "github.com/m3db/m3/src/x/retry" 46 "github.com/m3db/m3/src/x/sampler" 47 "github.com/m3db/m3/src/x/serialize" 48 "github.com/m3db/m3/src/x/sync" 49 time0 "github.com/m3db/m3/src/x/time" 50 51 "github.com/golang/mock/gomock" 52 tchannel_go "github.com/uber/tchannel-go" 53 ) 54 55 // MockClient is a mock of Client interface. 56 type MockClient struct { 57 ctrl *gomock.Controller 58 recorder *MockClientMockRecorder 59 } 60 61 // MockClientMockRecorder is the mock recorder for MockClient. 62 type MockClientMockRecorder struct { 63 mock *MockClient 64 } 65 66 // NewMockClient creates a new mock instance. 67 func NewMockClient(ctrl *gomock.Controller) *MockClient { 68 mock := &MockClient{ctrl: ctrl} 69 mock.recorder = &MockClientMockRecorder{mock} 70 return mock 71 } 72 73 // EXPECT returns an object that allows the caller to indicate expected use. 74 func (m *MockClient) EXPECT() *MockClientMockRecorder { 75 return m.recorder 76 } 77 78 // DefaultSession mocks base method. 79 func (m *MockClient) DefaultSession() (Session, error) { 80 m.ctrl.T.Helper() 81 ret := m.ctrl.Call(m, "DefaultSession") 82 ret0, _ := ret[0].(Session) 83 ret1, _ := ret[1].(error) 84 return ret0, ret1 85 } 86 87 // DefaultSession indicates an expected call of DefaultSession. 88 func (mr *MockClientMockRecorder) DefaultSession() *gomock.Call { 89 mr.mock.ctrl.T.Helper() 90 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSession", reflect.TypeOf((*MockClient)(nil).DefaultSession)) 91 } 92 93 // DefaultSessionActive mocks base method. 94 func (m *MockClient) DefaultSessionActive() bool { 95 m.ctrl.T.Helper() 96 ret := m.ctrl.Call(m, "DefaultSessionActive") 97 ret0, _ := ret[0].(bool) 98 return ret0 99 } 100 101 // DefaultSessionActive indicates an expected call of DefaultSessionActive. 102 func (mr *MockClientMockRecorder) DefaultSessionActive() *gomock.Call { 103 mr.mock.ctrl.T.Helper() 104 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSessionActive", reflect.TypeOf((*MockClient)(nil).DefaultSessionActive)) 105 } 106 107 // NewSession mocks base method. 108 func (m *MockClient) NewSession() (Session, error) { 109 m.ctrl.T.Helper() 110 ret := m.ctrl.Call(m, "NewSession") 111 ret0, _ := ret[0].(Session) 112 ret1, _ := ret[1].(error) 113 return ret0, ret1 114 } 115 116 // NewSession indicates an expected call of NewSession. 117 func (mr *MockClientMockRecorder) NewSession() *gomock.Call { 118 mr.mock.ctrl.T.Helper() 119 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSession", reflect.TypeOf((*MockClient)(nil).NewSession)) 120 } 121 122 // NewSessionWithOptions mocks base method. 123 func (m *MockClient) NewSessionWithOptions(opts Options) (Session, error) { 124 m.ctrl.T.Helper() 125 ret := m.ctrl.Call(m, "NewSessionWithOptions", opts) 126 ret0, _ := ret[0].(Session) 127 ret1, _ := ret[1].(error) 128 return ret0, ret1 129 } 130 131 // NewSessionWithOptions indicates an expected call of NewSessionWithOptions. 132 func (mr *MockClientMockRecorder) NewSessionWithOptions(opts interface{}) *gomock.Call { 133 mr.mock.ctrl.T.Helper() 134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSessionWithOptions", reflect.TypeOf((*MockClient)(nil).NewSessionWithOptions), opts) 135 } 136 137 // Options mocks base method. 138 func (m *MockClient) Options() Options { 139 m.ctrl.T.Helper() 140 ret := m.ctrl.Call(m, "Options") 141 ret0, _ := ret[0].(Options) 142 return ret0 143 } 144 145 // Options indicates an expected call of Options. 146 func (mr *MockClientMockRecorder) Options() *gomock.Call { 147 mr.mock.ctrl.T.Helper() 148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockClient)(nil).Options)) 149 } 150 151 // MockSession is a mock of Session interface. 152 type MockSession struct { 153 ctrl *gomock.Controller 154 recorder *MockSessionMockRecorder 155 } 156 157 // MockSessionMockRecorder is the mock recorder for MockSession. 158 type MockSessionMockRecorder struct { 159 mock *MockSession 160 } 161 162 // NewMockSession creates a new mock instance. 163 func NewMockSession(ctrl *gomock.Controller) *MockSession { 164 mock := &MockSession{ctrl: ctrl} 165 mock.recorder = &MockSessionMockRecorder{mock} 166 return mock 167 } 168 169 // EXPECT returns an object that allows the caller to indicate expected use. 170 func (m *MockSession) EXPECT() *MockSessionMockRecorder { 171 return m.recorder 172 } 173 174 // Aggregate mocks base method. 175 func (m *MockSession) Aggregate(ctx context.Context, namespace ident.ID, q index.Query, opts index.AggregationOptions) (AggregatedTagsIterator, FetchResponseMetadata, error) { 176 m.ctrl.T.Helper() 177 ret := m.ctrl.Call(m, "Aggregate", ctx, namespace, q, opts) 178 ret0, _ := ret[0].(AggregatedTagsIterator) 179 ret1, _ := ret[1].(FetchResponseMetadata) 180 ret2, _ := ret[2].(error) 181 return ret0, ret1, ret2 182 } 183 184 // Aggregate indicates an expected call of Aggregate. 185 func (mr *MockSessionMockRecorder) Aggregate(ctx, namespace, q, opts interface{}) *gomock.Call { 186 mr.mock.ctrl.T.Helper() 187 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregate", reflect.TypeOf((*MockSession)(nil).Aggregate), ctx, namespace, q, opts) 188 } 189 190 // Close mocks base method. 191 func (m *MockSession) Close() error { 192 m.ctrl.T.Helper() 193 ret := m.ctrl.Call(m, "Close") 194 ret0, _ := ret[0].(error) 195 return ret0 196 } 197 198 // Close indicates an expected call of Close. 199 func (mr *MockSessionMockRecorder) Close() *gomock.Call { 200 mr.mock.ctrl.T.Helper() 201 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockSession)(nil).Close)) 202 } 203 204 // Fetch mocks base method. 205 func (m *MockSession) Fetch(namespace, id ident.ID, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterator, error) { 206 m.ctrl.T.Helper() 207 ret := m.ctrl.Call(m, "Fetch", namespace, id, startInclusive, endExclusive) 208 ret0, _ := ret[0].(encoding.SeriesIterator) 209 ret1, _ := ret[1].(error) 210 return ret0, ret1 211 } 212 213 // Fetch indicates an expected call of Fetch. 214 func (mr *MockSessionMockRecorder) Fetch(namespace, id, startInclusive, endExclusive interface{}) *gomock.Call { 215 mr.mock.ctrl.T.Helper() 216 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockSession)(nil).Fetch), namespace, id, startInclusive, endExclusive) 217 } 218 219 // FetchIDs mocks base method. 220 func (m *MockSession) FetchIDs(namespace ident.ID, ids ident.Iterator, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterators, error) { 221 m.ctrl.T.Helper() 222 ret := m.ctrl.Call(m, "FetchIDs", namespace, ids, startInclusive, endExclusive) 223 ret0, _ := ret[0].(encoding.SeriesIterators) 224 ret1, _ := ret[1].(error) 225 return ret0, ret1 226 } 227 228 // FetchIDs indicates an expected call of FetchIDs. 229 func (mr *MockSessionMockRecorder) FetchIDs(namespace, ids, startInclusive, endExclusive interface{}) *gomock.Call { 230 mr.mock.ctrl.T.Helper() 231 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchIDs", reflect.TypeOf((*MockSession)(nil).FetchIDs), namespace, ids, startInclusive, endExclusive) 232 } 233 234 // FetchTagged mocks base method. 235 func (m *MockSession) FetchTagged(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (encoding.SeriesIterators, FetchResponseMetadata, error) { 236 m.ctrl.T.Helper() 237 ret := m.ctrl.Call(m, "FetchTagged", ctx, namespace, q, opts) 238 ret0, _ := ret[0].(encoding.SeriesIterators) 239 ret1, _ := ret[1].(FetchResponseMetadata) 240 ret2, _ := ret[2].(error) 241 return ret0, ret1, ret2 242 } 243 244 // FetchTagged indicates an expected call of FetchTagged. 245 func (mr *MockSessionMockRecorder) FetchTagged(ctx, namespace, q, opts interface{}) *gomock.Call { 246 mr.mock.ctrl.T.Helper() 247 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTagged", reflect.TypeOf((*MockSession)(nil).FetchTagged), ctx, namespace, q, opts) 248 } 249 250 // FetchTaggedIDs mocks base method. 251 func (m *MockSession) FetchTaggedIDs(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (TaggedIDsIterator, FetchResponseMetadata, error) { 252 m.ctrl.T.Helper() 253 ret := m.ctrl.Call(m, "FetchTaggedIDs", ctx, namespace, q, opts) 254 ret0, _ := ret[0].(TaggedIDsIterator) 255 ret1, _ := ret[1].(FetchResponseMetadata) 256 ret2, _ := ret[2].(error) 257 return ret0, ret1, ret2 258 } 259 260 // FetchTaggedIDs indicates an expected call of FetchTaggedIDs. 261 func (mr *MockSessionMockRecorder) FetchTaggedIDs(ctx, namespace, q, opts interface{}) *gomock.Call { 262 mr.mock.ctrl.T.Helper() 263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaggedIDs", reflect.TypeOf((*MockSession)(nil).FetchTaggedIDs), ctx, namespace, q, opts) 264 } 265 266 // IteratorPools mocks base method. 267 func (m *MockSession) IteratorPools() (encoding.IteratorPools, error) { 268 m.ctrl.T.Helper() 269 ret := m.ctrl.Call(m, "IteratorPools") 270 ret0, _ := ret[0].(encoding.IteratorPools) 271 ret1, _ := ret[1].(error) 272 return ret0, ret1 273 } 274 275 // IteratorPools indicates an expected call of IteratorPools. 276 func (mr *MockSessionMockRecorder) IteratorPools() *gomock.Call { 277 mr.mock.ctrl.T.Helper() 278 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IteratorPools", reflect.TypeOf((*MockSession)(nil).IteratorPools)) 279 } 280 281 // ReadClusterAvailability mocks base method. 282 func (m *MockSession) ReadClusterAvailability() (bool, error) { 283 m.ctrl.T.Helper() 284 ret := m.ctrl.Call(m, "ReadClusterAvailability") 285 ret0, _ := ret[0].(bool) 286 ret1, _ := ret[1].(error) 287 return ret0, ret1 288 } 289 290 // ReadClusterAvailability indicates an expected call of ReadClusterAvailability. 291 func (mr *MockSessionMockRecorder) ReadClusterAvailability() *gomock.Call { 292 mr.mock.ctrl.T.Helper() 293 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadClusterAvailability", reflect.TypeOf((*MockSession)(nil).ReadClusterAvailability)) 294 } 295 296 // ShardID mocks base method. 297 func (m *MockSession) ShardID(id ident.ID) (uint32, error) { 298 m.ctrl.T.Helper() 299 ret := m.ctrl.Call(m, "ShardID", id) 300 ret0, _ := ret[0].(uint32) 301 ret1, _ := ret[1].(error) 302 return ret0, ret1 303 } 304 305 // ShardID indicates an expected call of ShardID. 306 func (mr *MockSessionMockRecorder) ShardID(id interface{}) *gomock.Call { 307 mr.mock.ctrl.T.Helper() 308 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardID", reflect.TypeOf((*MockSession)(nil).ShardID), id) 309 } 310 311 // Write mocks base method. 312 func (m *MockSession) Write(namespace, id ident.ID, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 313 m.ctrl.T.Helper() 314 ret := m.ctrl.Call(m, "Write", namespace, id, t, value, unit, annotation) 315 ret0, _ := ret[0].(error) 316 return ret0 317 } 318 319 // Write indicates an expected call of Write. 320 func (mr *MockSessionMockRecorder) Write(namespace, id, t, value, unit, annotation interface{}) *gomock.Call { 321 mr.mock.ctrl.T.Helper() 322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockSession)(nil).Write), namespace, id, t, value, unit, annotation) 323 } 324 325 // WriteClusterAvailability mocks base method. 326 func (m *MockSession) WriteClusterAvailability() (bool, error) { 327 m.ctrl.T.Helper() 328 ret := m.ctrl.Call(m, "WriteClusterAvailability") 329 ret0, _ := ret[0].(bool) 330 ret1, _ := ret[1].(error) 331 return ret0, ret1 332 } 333 334 // WriteClusterAvailability indicates an expected call of WriteClusterAvailability. 335 func (mr *MockSessionMockRecorder) WriteClusterAvailability() *gomock.Call { 336 mr.mock.ctrl.T.Helper() 337 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteClusterAvailability", reflect.TypeOf((*MockSession)(nil).WriteClusterAvailability)) 338 } 339 340 // WriteTagged mocks base method. 341 func (m *MockSession) WriteTagged(namespace, id ident.ID, tags ident.TagIterator, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 342 m.ctrl.T.Helper() 343 ret := m.ctrl.Call(m, "WriteTagged", namespace, id, tags, t, value, unit, annotation) 344 ret0, _ := ret[0].(error) 345 return ret0 346 } 347 348 // WriteTagged indicates an expected call of WriteTagged. 349 func (mr *MockSessionMockRecorder) WriteTagged(namespace, id, tags, t, value, unit, annotation interface{}) *gomock.Call { 350 mr.mock.ctrl.T.Helper() 351 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTagged", reflect.TypeOf((*MockSession)(nil).WriteTagged), namespace, id, tags, t, value, unit, annotation) 352 } 353 354 // MockAggregatedTagsIterator is a mock of AggregatedTagsIterator interface. 355 type MockAggregatedTagsIterator struct { 356 ctrl *gomock.Controller 357 recorder *MockAggregatedTagsIteratorMockRecorder 358 } 359 360 // MockAggregatedTagsIteratorMockRecorder is the mock recorder for MockAggregatedTagsIterator. 361 type MockAggregatedTagsIteratorMockRecorder struct { 362 mock *MockAggregatedTagsIterator 363 } 364 365 // NewMockAggregatedTagsIterator creates a new mock instance. 366 func NewMockAggregatedTagsIterator(ctrl *gomock.Controller) *MockAggregatedTagsIterator { 367 mock := &MockAggregatedTagsIterator{ctrl: ctrl} 368 mock.recorder = &MockAggregatedTagsIteratorMockRecorder{mock} 369 return mock 370 } 371 372 // EXPECT returns an object that allows the caller to indicate expected use. 373 func (m *MockAggregatedTagsIterator) EXPECT() *MockAggregatedTagsIteratorMockRecorder { 374 return m.recorder 375 } 376 377 // Current mocks base method. 378 func (m *MockAggregatedTagsIterator) Current() (ident.ID, ident.Iterator) { 379 m.ctrl.T.Helper() 380 ret := m.ctrl.Call(m, "Current") 381 ret0, _ := ret[0].(ident.ID) 382 ret1, _ := ret[1].(ident.Iterator) 383 return ret0, ret1 384 } 385 386 // Current indicates an expected call of Current. 387 func (mr *MockAggregatedTagsIteratorMockRecorder) Current() *gomock.Call { 388 mr.mock.ctrl.T.Helper() 389 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Current)) 390 } 391 392 // Err mocks base method. 393 func (m *MockAggregatedTagsIterator) Err() error { 394 m.ctrl.T.Helper() 395 ret := m.ctrl.Call(m, "Err") 396 ret0, _ := ret[0].(error) 397 return ret0 398 } 399 400 // Err indicates an expected call of Err. 401 func (mr *MockAggregatedTagsIteratorMockRecorder) Err() *gomock.Call { 402 mr.mock.ctrl.T.Helper() 403 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Err)) 404 } 405 406 // Finalize mocks base method. 407 func (m *MockAggregatedTagsIterator) Finalize() { 408 m.ctrl.T.Helper() 409 m.ctrl.Call(m, "Finalize") 410 } 411 412 // Finalize indicates an expected call of Finalize. 413 func (mr *MockAggregatedTagsIteratorMockRecorder) Finalize() *gomock.Call { 414 mr.mock.ctrl.T.Helper() 415 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Finalize)) 416 } 417 418 // Next mocks base method. 419 func (m *MockAggregatedTagsIterator) Next() bool { 420 m.ctrl.T.Helper() 421 ret := m.ctrl.Call(m, "Next") 422 ret0, _ := ret[0].(bool) 423 return ret0 424 } 425 426 // Next indicates an expected call of Next. 427 func (mr *MockAggregatedTagsIteratorMockRecorder) Next() *gomock.Call { 428 mr.mock.ctrl.T.Helper() 429 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Next)) 430 } 431 432 // Remaining mocks base method. 433 func (m *MockAggregatedTagsIterator) Remaining() int { 434 m.ctrl.T.Helper() 435 ret := m.ctrl.Call(m, "Remaining") 436 ret0, _ := ret[0].(int) 437 return ret0 438 } 439 440 // Remaining indicates an expected call of Remaining. 441 func (mr *MockAggregatedTagsIteratorMockRecorder) Remaining() *gomock.Call { 442 mr.mock.ctrl.T.Helper() 443 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Remaining", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Remaining)) 444 } 445 446 // MockTaggedIDsIterator is a mock of TaggedIDsIterator interface. 447 type MockTaggedIDsIterator struct { 448 ctrl *gomock.Controller 449 recorder *MockTaggedIDsIteratorMockRecorder 450 } 451 452 // MockTaggedIDsIteratorMockRecorder is the mock recorder for MockTaggedIDsIterator. 453 type MockTaggedIDsIteratorMockRecorder struct { 454 mock *MockTaggedIDsIterator 455 } 456 457 // NewMockTaggedIDsIterator creates a new mock instance. 458 func NewMockTaggedIDsIterator(ctrl *gomock.Controller) *MockTaggedIDsIterator { 459 mock := &MockTaggedIDsIterator{ctrl: ctrl} 460 mock.recorder = &MockTaggedIDsIteratorMockRecorder{mock} 461 return mock 462 } 463 464 // EXPECT returns an object that allows the caller to indicate expected use. 465 func (m *MockTaggedIDsIterator) EXPECT() *MockTaggedIDsIteratorMockRecorder { 466 return m.recorder 467 } 468 469 // Current mocks base method. 470 func (m *MockTaggedIDsIterator) Current() (ident.ID, ident.ID, ident.TagIterator) { 471 m.ctrl.T.Helper() 472 ret := m.ctrl.Call(m, "Current") 473 ret0, _ := ret[0].(ident.ID) 474 ret1, _ := ret[1].(ident.ID) 475 ret2, _ := ret[2].(ident.TagIterator) 476 return ret0, ret1, ret2 477 } 478 479 // Current indicates an expected call of Current. 480 func (mr *MockTaggedIDsIteratorMockRecorder) Current() *gomock.Call { 481 mr.mock.ctrl.T.Helper() 482 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Current)) 483 } 484 485 // Err mocks base method. 486 func (m *MockTaggedIDsIterator) Err() error { 487 m.ctrl.T.Helper() 488 ret := m.ctrl.Call(m, "Err") 489 ret0, _ := ret[0].(error) 490 return ret0 491 } 492 493 // Err indicates an expected call of Err. 494 func (mr *MockTaggedIDsIteratorMockRecorder) Err() *gomock.Call { 495 mr.mock.ctrl.T.Helper() 496 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Err)) 497 } 498 499 // Finalize mocks base method. 500 func (m *MockTaggedIDsIterator) Finalize() { 501 m.ctrl.T.Helper() 502 m.ctrl.Call(m, "Finalize") 503 } 504 505 // Finalize indicates an expected call of Finalize. 506 func (mr *MockTaggedIDsIteratorMockRecorder) Finalize() *gomock.Call { 507 mr.mock.ctrl.T.Helper() 508 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Finalize)) 509 } 510 511 // Next mocks base method. 512 func (m *MockTaggedIDsIterator) Next() bool { 513 m.ctrl.T.Helper() 514 ret := m.ctrl.Call(m, "Next") 515 ret0, _ := ret[0].(bool) 516 return ret0 517 } 518 519 // Next indicates an expected call of Next. 520 func (mr *MockTaggedIDsIteratorMockRecorder) Next() *gomock.Call { 521 mr.mock.ctrl.T.Helper() 522 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Next)) 523 } 524 525 // Remaining mocks base method. 526 func (m *MockTaggedIDsIterator) Remaining() int { 527 m.ctrl.T.Helper() 528 ret := m.ctrl.Call(m, "Remaining") 529 ret0, _ := ret[0].(int) 530 return ret0 531 } 532 533 // Remaining indicates an expected call of Remaining. 534 func (mr *MockTaggedIDsIteratorMockRecorder) Remaining() *gomock.Call { 535 mr.mock.ctrl.T.Helper() 536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Remaining", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Remaining)) 537 } 538 539 // MockAdminClient is a mock of AdminClient interface. 540 type MockAdminClient struct { 541 ctrl *gomock.Controller 542 recorder *MockAdminClientMockRecorder 543 } 544 545 // MockAdminClientMockRecorder is the mock recorder for MockAdminClient. 546 type MockAdminClientMockRecorder struct { 547 mock *MockAdminClient 548 } 549 550 // NewMockAdminClient creates a new mock instance. 551 func NewMockAdminClient(ctrl *gomock.Controller) *MockAdminClient { 552 mock := &MockAdminClient{ctrl: ctrl} 553 mock.recorder = &MockAdminClientMockRecorder{mock} 554 return mock 555 } 556 557 // EXPECT returns an object that allows the caller to indicate expected use. 558 func (m *MockAdminClient) EXPECT() *MockAdminClientMockRecorder { 559 return m.recorder 560 } 561 562 // DefaultAdminSession mocks base method. 563 func (m *MockAdminClient) DefaultAdminSession() (AdminSession, error) { 564 m.ctrl.T.Helper() 565 ret := m.ctrl.Call(m, "DefaultAdminSession") 566 ret0, _ := ret[0].(AdminSession) 567 ret1, _ := ret[1].(error) 568 return ret0, ret1 569 } 570 571 // DefaultAdminSession indicates an expected call of DefaultAdminSession. 572 func (mr *MockAdminClientMockRecorder) DefaultAdminSession() *gomock.Call { 573 mr.mock.ctrl.T.Helper() 574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultAdminSession", reflect.TypeOf((*MockAdminClient)(nil).DefaultAdminSession)) 575 } 576 577 // DefaultSession mocks base method. 578 func (m *MockAdminClient) DefaultSession() (Session, error) { 579 m.ctrl.T.Helper() 580 ret := m.ctrl.Call(m, "DefaultSession") 581 ret0, _ := ret[0].(Session) 582 ret1, _ := ret[1].(error) 583 return ret0, ret1 584 } 585 586 // DefaultSession indicates an expected call of DefaultSession. 587 func (mr *MockAdminClientMockRecorder) DefaultSession() *gomock.Call { 588 mr.mock.ctrl.T.Helper() 589 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSession", reflect.TypeOf((*MockAdminClient)(nil).DefaultSession)) 590 } 591 592 // DefaultSessionActive mocks base method. 593 func (m *MockAdminClient) DefaultSessionActive() bool { 594 m.ctrl.T.Helper() 595 ret := m.ctrl.Call(m, "DefaultSessionActive") 596 ret0, _ := ret[0].(bool) 597 return ret0 598 } 599 600 // DefaultSessionActive indicates an expected call of DefaultSessionActive. 601 func (mr *MockAdminClientMockRecorder) DefaultSessionActive() *gomock.Call { 602 mr.mock.ctrl.T.Helper() 603 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSessionActive", reflect.TypeOf((*MockAdminClient)(nil).DefaultSessionActive)) 604 } 605 606 // NewAdminSession mocks base method. 607 func (m *MockAdminClient) NewAdminSession() (AdminSession, error) { 608 m.ctrl.T.Helper() 609 ret := m.ctrl.Call(m, "NewAdminSession") 610 ret0, _ := ret[0].(AdminSession) 611 ret1, _ := ret[1].(error) 612 return ret0, ret1 613 } 614 615 // NewAdminSession indicates an expected call of NewAdminSession. 616 func (mr *MockAdminClientMockRecorder) NewAdminSession() *gomock.Call { 617 mr.mock.ctrl.T.Helper() 618 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewAdminSession", reflect.TypeOf((*MockAdminClient)(nil).NewAdminSession)) 619 } 620 621 // NewSession mocks base method. 622 func (m *MockAdminClient) NewSession() (Session, error) { 623 m.ctrl.T.Helper() 624 ret := m.ctrl.Call(m, "NewSession") 625 ret0, _ := ret[0].(Session) 626 ret1, _ := ret[1].(error) 627 return ret0, ret1 628 } 629 630 // NewSession indicates an expected call of NewSession. 631 func (mr *MockAdminClientMockRecorder) NewSession() *gomock.Call { 632 mr.mock.ctrl.T.Helper() 633 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSession", reflect.TypeOf((*MockAdminClient)(nil).NewSession)) 634 } 635 636 // NewSessionWithOptions mocks base method. 637 func (m *MockAdminClient) NewSessionWithOptions(opts Options) (Session, error) { 638 m.ctrl.T.Helper() 639 ret := m.ctrl.Call(m, "NewSessionWithOptions", opts) 640 ret0, _ := ret[0].(Session) 641 ret1, _ := ret[1].(error) 642 return ret0, ret1 643 } 644 645 // NewSessionWithOptions indicates an expected call of NewSessionWithOptions. 646 func (mr *MockAdminClientMockRecorder) NewSessionWithOptions(opts interface{}) *gomock.Call { 647 mr.mock.ctrl.T.Helper() 648 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSessionWithOptions", reflect.TypeOf((*MockAdminClient)(nil).NewSessionWithOptions), opts) 649 } 650 651 // Options mocks base method. 652 func (m *MockAdminClient) Options() Options { 653 m.ctrl.T.Helper() 654 ret := m.ctrl.Call(m, "Options") 655 ret0, _ := ret[0].(Options) 656 return ret0 657 } 658 659 // Options indicates an expected call of Options. 660 func (mr *MockAdminClientMockRecorder) Options() *gomock.Call { 661 mr.mock.ctrl.T.Helper() 662 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockAdminClient)(nil).Options)) 663 } 664 665 // MockPeerBlockMetadataIter is a mock of PeerBlockMetadataIter interface. 666 type MockPeerBlockMetadataIter struct { 667 ctrl *gomock.Controller 668 recorder *MockPeerBlockMetadataIterMockRecorder 669 } 670 671 // MockPeerBlockMetadataIterMockRecorder is the mock recorder for MockPeerBlockMetadataIter. 672 type MockPeerBlockMetadataIterMockRecorder struct { 673 mock *MockPeerBlockMetadataIter 674 } 675 676 // NewMockPeerBlockMetadataIter creates a new mock instance. 677 func NewMockPeerBlockMetadataIter(ctrl *gomock.Controller) *MockPeerBlockMetadataIter { 678 mock := &MockPeerBlockMetadataIter{ctrl: ctrl} 679 mock.recorder = &MockPeerBlockMetadataIterMockRecorder{mock} 680 return mock 681 } 682 683 // EXPECT returns an object that allows the caller to indicate expected use. 684 func (m *MockPeerBlockMetadataIter) EXPECT() *MockPeerBlockMetadataIterMockRecorder { 685 return m.recorder 686 } 687 688 // Current mocks base method. 689 func (m *MockPeerBlockMetadataIter) Current() (topology.Host, block.Metadata) { 690 m.ctrl.T.Helper() 691 ret := m.ctrl.Call(m, "Current") 692 ret0, _ := ret[0].(topology.Host) 693 ret1, _ := ret[1].(block.Metadata) 694 return ret0, ret1 695 } 696 697 // Current indicates an expected call of Current. 698 func (mr *MockPeerBlockMetadataIterMockRecorder) Current() *gomock.Call { 699 mr.mock.ctrl.T.Helper() 700 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockPeerBlockMetadataIter)(nil).Current)) 701 } 702 703 // Err mocks base method. 704 func (m *MockPeerBlockMetadataIter) Err() error { 705 m.ctrl.T.Helper() 706 ret := m.ctrl.Call(m, "Err") 707 ret0, _ := ret[0].(error) 708 return ret0 709 } 710 711 // Err indicates an expected call of Err. 712 func (mr *MockPeerBlockMetadataIterMockRecorder) Err() *gomock.Call { 713 mr.mock.ctrl.T.Helper() 714 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockPeerBlockMetadataIter)(nil).Err)) 715 } 716 717 // Next mocks base method. 718 func (m *MockPeerBlockMetadataIter) Next() bool { 719 m.ctrl.T.Helper() 720 ret := m.ctrl.Call(m, "Next") 721 ret0, _ := ret[0].(bool) 722 return ret0 723 } 724 725 // Next indicates an expected call of Next. 726 func (mr *MockPeerBlockMetadataIterMockRecorder) Next() *gomock.Call { 727 mr.mock.ctrl.T.Helper() 728 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockPeerBlockMetadataIter)(nil).Next)) 729 } 730 731 // MockPeerBlocksIter is a mock of PeerBlocksIter interface. 732 type MockPeerBlocksIter struct { 733 ctrl *gomock.Controller 734 recorder *MockPeerBlocksIterMockRecorder 735 } 736 737 // MockPeerBlocksIterMockRecorder is the mock recorder for MockPeerBlocksIter. 738 type MockPeerBlocksIterMockRecorder struct { 739 mock *MockPeerBlocksIter 740 } 741 742 // NewMockPeerBlocksIter creates a new mock instance. 743 func NewMockPeerBlocksIter(ctrl *gomock.Controller) *MockPeerBlocksIter { 744 mock := &MockPeerBlocksIter{ctrl: ctrl} 745 mock.recorder = &MockPeerBlocksIterMockRecorder{mock} 746 return mock 747 } 748 749 // EXPECT returns an object that allows the caller to indicate expected use. 750 func (m *MockPeerBlocksIter) EXPECT() *MockPeerBlocksIterMockRecorder { 751 return m.recorder 752 } 753 754 // Current mocks base method. 755 func (m *MockPeerBlocksIter) Current() (topology.Host, ident.ID, ident.Tags, block.DatabaseBlock) { 756 m.ctrl.T.Helper() 757 ret := m.ctrl.Call(m, "Current") 758 ret0, _ := ret[0].(topology.Host) 759 ret1, _ := ret[1].(ident.ID) 760 ret2, _ := ret[2].(ident.Tags) 761 ret3, _ := ret[3].(block.DatabaseBlock) 762 return ret0, ret1, ret2, ret3 763 } 764 765 // Current indicates an expected call of Current. 766 func (mr *MockPeerBlocksIterMockRecorder) Current() *gomock.Call { 767 mr.mock.ctrl.T.Helper() 768 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockPeerBlocksIter)(nil).Current)) 769 } 770 771 // Err mocks base method. 772 func (m *MockPeerBlocksIter) Err() error { 773 m.ctrl.T.Helper() 774 ret := m.ctrl.Call(m, "Err") 775 ret0, _ := ret[0].(error) 776 return ret0 777 } 778 779 // Err indicates an expected call of Err. 780 func (mr *MockPeerBlocksIterMockRecorder) Err() *gomock.Call { 781 mr.mock.ctrl.T.Helper() 782 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockPeerBlocksIter)(nil).Err)) 783 } 784 785 // Next mocks base method. 786 func (m *MockPeerBlocksIter) Next() bool { 787 m.ctrl.T.Helper() 788 ret := m.ctrl.Call(m, "Next") 789 ret0, _ := ret[0].(bool) 790 return ret0 791 } 792 793 // Next indicates an expected call of Next. 794 func (mr *MockPeerBlocksIterMockRecorder) Next() *gomock.Call { 795 mr.mock.ctrl.T.Helper() 796 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockPeerBlocksIter)(nil).Next)) 797 } 798 799 // MockAdminSession is a mock of AdminSession interface. 800 type MockAdminSession struct { 801 ctrl *gomock.Controller 802 recorder *MockAdminSessionMockRecorder 803 } 804 805 // MockAdminSessionMockRecorder is the mock recorder for MockAdminSession. 806 type MockAdminSessionMockRecorder struct { 807 mock *MockAdminSession 808 } 809 810 // NewMockAdminSession creates a new mock instance. 811 func NewMockAdminSession(ctrl *gomock.Controller) *MockAdminSession { 812 mock := &MockAdminSession{ctrl: ctrl} 813 mock.recorder = &MockAdminSessionMockRecorder{mock} 814 return mock 815 } 816 817 // EXPECT returns an object that allows the caller to indicate expected use. 818 func (m *MockAdminSession) EXPECT() *MockAdminSessionMockRecorder { 819 return m.recorder 820 } 821 822 // Aggregate mocks base method. 823 func (m *MockAdminSession) Aggregate(ctx context.Context, namespace ident.ID, q index.Query, opts index.AggregationOptions) (AggregatedTagsIterator, FetchResponseMetadata, error) { 824 m.ctrl.T.Helper() 825 ret := m.ctrl.Call(m, "Aggregate", ctx, namespace, q, opts) 826 ret0, _ := ret[0].(AggregatedTagsIterator) 827 ret1, _ := ret[1].(FetchResponseMetadata) 828 ret2, _ := ret[2].(error) 829 return ret0, ret1, ret2 830 } 831 832 // Aggregate indicates an expected call of Aggregate. 833 func (mr *MockAdminSessionMockRecorder) Aggregate(ctx, namespace, q, opts interface{}) *gomock.Call { 834 mr.mock.ctrl.T.Helper() 835 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregate", reflect.TypeOf((*MockAdminSession)(nil).Aggregate), ctx, namespace, q, opts) 836 } 837 838 // BorrowConnections mocks base method. 839 func (m *MockAdminSession) BorrowConnections(shardID uint32, fn WithBorrowConnectionFn, opts BorrowConnectionOptions) (BorrowConnectionsResult, error) { 840 m.ctrl.T.Helper() 841 ret := m.ctrl.Call(m, "BorrowConnections", shardID, fn, opts) 842 ret0, _ := ret[0].(BorrowConnectionsResult) 843 ret1, _ := ret[1].(error) 844 return ret0, ret1 845 } 846 847 // BorrowConnections indicates an expected call of BorrowConnections. 848 func (mr *MockAdminSessionMockRecorder) BorrowConnections(shardID, fn, opts interface{}) *gomock.Call { 849 mr.mock.ctrl.T.Helper() 850 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnections", reflect.TypeOf((*MockAdminSession)(nil).BorrowConnections), shardID, fn, opts) 851 } 852 853 // Close mocks base method. 854 func (m *MockAdminSession) Close() error { 855 m.ctrl.T.Helper() 856 ret := m.ctrl.Call(m, "Close") 857 ret0, _ := ret[0].(error) 858 return ret0 859 } 860 861 // Close indicates an expected call of Close. 862 func (mr *MockAdminSessionMockRecorder) Close() *gomock.Call { 863 mr.mock.ctrl.T.Helper() 864 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAdminSession)(nil).Close)) 865 } 866 867 // DedicatedConnection mocks base method. 868 func (m *MockAdminSession) DedicatedConnection(shardID uint32, opts DedicatedConnectionOptions) (rpc.TChanNode, Channel, error) { 869 m.ctrl.T.Helper() 870 ret := m.ctrl.Call(m, "DedicatedConnection", shardID, opts) 871 ret0, _ := ret[0].(rpc.TChanNode) 872 ret1, _ := ret[1].(Channel) 873 ret2, _ := ret[2].(error) 874 return ret0, ret1, ret2 875 } 876 877 // DedicatedConnection indicates an expected call of DedicatedConnection. 878 func (mr *MockAdminSessionMockRecorder) DedicatedConnection(shardID, opts interface{}) *gomock.Call { 879 mr.mock.ctrl.T.Helper() 880 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DedicatedConnection", reflect.TypeOf((*MockAdminSession)(nil).DedicatedConnection), shardID, opts) 881 } 882 883 // Fetch mocks base method. 884 func (m *MockAdminSession) Fetch(namespace, id ident.ID, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterator, error) { 885 m.ctrl.T.Helper() 886 ret := m.ctrl.Call(m, "Fetch", namespace, id, startInclusive, endExclusive) 887 ret0, _ := ret[0].(encoding.SeriesIterator) 888 ret1, _ := ret[1].(error) 889 return ret0, ret1 890 } 891 892 // Fetch indicates an expected call of Fetch. 893 func (mr *MockAdminSessionMockRecorder) Fetch(namespace, id, startInclusive, endExclusive interface{}) *gomock.Call { 894 mr.mock.ctrl.T.Helper() 895 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockAdminSession)(nil).Fetch), namespace, id, startInclusive, endExclusive) 896 } 897 898 // FetchBlocksFromPeers mocks base method. 899 func (m *MockAdminSession) FetchBlocksFromPeers(namespace namespace.Metadata, shard uint32, consistencyLevel topology.ReadConsistencyLevel, metadatas []block.ReplicaMetadata, opts result.Options) (PeerBlocksIter, error) { 900 m.ctrl.T.Helper() 901 ret := m.ctrl.Call(m, "FetchBlocksFromPeers", namespace, shard, consistencyLevel, metadatas, opts) 902 ret0, _ := ret[0].(PeerBlocksIter) 903 ret1, _ := ret[1].(error) 904 return ret0, ret1 905 } 906 907 // FetchBlocksFromPeers indicates an expected call of FetchBlocksFromPeers. 908 func (mr *MockAdminSessionMockRecorder) FetchBlocksFromPeers(namespace, shard, consistencyLevel, metadatas, opts interface{}) *gomock.Call { 909 mr.mock.ctrl.T.Helper() 910 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBlocksFromPeers), namespace, shard, consistencyLevel, metadatas, opts) 911 } 912 913 // FetchBlocksMetadataFromPeers mocks base method. 914 func (m *MockAdminSession) FetchBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, consistencyLevel topology.ReadConsistencyLevel, result result.Options) (PeerBlockMetadataIter, error) { 915 m.ctrl.T.Helper() 916 ret := m.ctrl.Call(m, "FetchBlocksMetadataFromPeers", namespace, shard, start, end, consistencyLevel, result) 917 ret0, _ := ret[0].(PeerBlockMetadataIter) 918 ret1, _ := ret[1].(error) 919 return ret0, ret1 920 } 921 922 // FetchBlocksMetadataFromPeers indicates an expected call of FetchBlocksMetadataFromPeers. 923 func (mr *MockAdminSessionMockRecorder) FetchBlocksMetadataFromPeers(namespace, shard, start, end, consistencyLevel, result interface{}) *gomock.Call { 924 mr.mock.ctrl.T.Helper() 925 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksMetadataFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBlocksMetadataFromPeers), namespace, shard, start, end, consistencyLevel, result) 926 } 927 928 // FetchBootstrapBlocksFromPeers mocks base method. 929 func (m *MockAdminSession) FetchBootstrapBlocksFromPeers(namespace namespace.Metadata, shard uint32, start, end time0.UnixNano, opts result.Options) (result.ShardResult, error) { 930 m.ctrl.T.Helper() 931 ret := m.ctrl.Call(m, "FetchBootstrapBlocksFromPeers", namespace, shard, start, end, opts) 932 ret0, _ := ret[0].(result.ShardResult) 933 ret1, _ := ret[1].(error) 934 return ret0, ret1 935 } 936 937 // FetchBootstrapBlocksFromPeers indicates an expected call of FetchBootstrapBlocksFromPeers. 938 func (mr *MockAdminSessionMockRecorder) FetchBootstrapBlocksFromPeers(namespace, shard, start, end, opts interface{}) *gomock.Call { 939 mr.mock.ctrl.T.Helper() 940 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBootstrapBlocksFromPeers), namespace, shard, start, end, opts) 941 } 942 943 // FetchBootstrapBlocksMetadataFromPeers mocks base method. 944 func (m *MockAdminSession) FetchBootstrapBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, result result.Options) (PeerBlockMetadataIter, error) { 945 m.ctrl.T.Helper() 946 ret := m.ctrl.Call(m, "FetchBootstrapBlocksMetadataFromPeers", namespace, shard, start, end, result) 947 ret0, _ := ret[0].(PeerBlockMetadataIter) 948 ret1, _ := ret[1].(error) 949 return ret0, ret1 950 } 951 952 // FetchBootstrapBlocksMetadataFromPeers indicates an expected call of FetchBootstrapBlocksMetadataFromPeers. 953 func (mr *MockAdminSessionMockRecorder) FetchBootstrapBlocksMetadataFromPeers(namespace, shard, start, end, result interface{}) *gomock.Call { 954 mr.mock.ctrl.T.Helper() 955 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksMetadataFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBootstrapBlocksMetadataFromPeers), namespace, shard, start, end, result) 956 } 957 958 // FetchIDs mocks base method. 959 func (m *MockAdminSession) FetchIDs(namespace ident.ID, ids ident.Iterator, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterators, error) { 960 m.ctrl.T.Helper() 961 ret := m.ctrl.Call(m, "FetchIDs", namespace, ids, startInclusive, endExclusive) 962 ret0, _ := ret[0].(encoding.SeriesIterators) 963 ret1, _ := ret[1].(error) 964 return ret0, ret1 965 } 966 967 // FetchIDs indicates an expected call of FetchIDs. 968 func (mr *MockAdminSessionMockRecorder) FetchIDs(namespace, ids, startInclusive, endExclusive interface{}) *gomock.Call { 969 mr.mock.ctrl.T.Helper() 970 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchIDs", reflect.TypeOf((*MockAdminSession)(nil).FetchIDs), namespace, ids, startInclusive, endExclusive) 971 } 972 973 // FetchTagged mocks base method. 974 func (m *MockAdminSession) FetchTagged(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (encoding.SeriesIterators, FetchResponseMetadata, error) { 975 m.ctrl.T.Helper() 976 ret := m.ctrl.Call(m, "FetchTagged", ctx, namespace, q, opts) 977 ret0, _ := ret[0].(encoding.SeriesIterators) 978 ret1, _ := ret[1].(FetchResponseMetadata) 979 ret2, _ := ret[2].(error) 980 return ret0, ret1, ret2 981 } 982 983 // FetchTagged indicates an expected call of FetchTagged. 984 func (mr *MockAdminSessionMockRecorder) FetchTagged(ctx, namespace, q, opts interface{}) *gomock.Call { 985 mr.mock.ctrl.T.Helper() 986 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTagged", reflect.TypeOf((*MockAdminSession)(nil).FetchTagged), ctx, namespace, q, opts) 987 } 988 989 // FetchTaggedIDs mocks base method. 990 func (m *MockAdminSession) FetchTaggedIDs(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (TaggedIDsIterator, FetchResponseMetadata, error) { 991 m.ctrl.T.Helper() 992 ret := m.ctrl.Call(m, "FetchTaggedIDs", ctx, namespace, q, opts) 993 ret0, _ := ret[0].(TaggedIDsIterator) 994 ret1, _ := ret[1].(FetchResponseMetadata) 995 ret2, _ := ret[2].(error) 996 return ret0, ret1, ret2 997 } 998 999 // FetchTaggedIDs indicates an expected call of FetchTaggedIDs. 1000 func (mr *MockAdminSessionMockRecorder) FetchTaggedIDs(ctx, namespace, q, opts interface{}) *gomock.Call { 1001 mr.mock.ctrl.T.Helper() 1002 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaggedIDs", reflect.TypeOf((*MockAdminSession)(nil).FetchTaggedIDs), ctx, namespace, q, opts) 1003 } 1004 1005 // IteratorPools mocks base method. 1006 func (m *MockAdminSession) IteratorPools() (encoding.IteratorPools, error) { 1007 m.ctrl.T.Helper() 1008 ret := m.ctrl.Call(m, "IteratorPools") 1009 ret0, _ := ret[0].(encoding.IteratorPools) 1010 ret1, _ := ret[1].(error) 1011 return ret0, ret1 1012 } 1013 1014 // IteratorPools indicates an expected call of IteratorPools. 1015 func (mr *MockAdminSessionMockRecorder) IteratorPools() *gomock.Call { 1016 mr.mock.ctrl.T.Helper() 1017 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IteratorPools", reflect.TypeOf((*MockAdminSession)(nil).IteratorPools)) 1018 } 1019 1020 // Origin mocks base method. 1021 func (m *MockAdminSession) Origin() topology.Host { 1022 m.ctrl.T.Helper() 1023 ret := m.ctrl.Call(m, "Origin") 1024 ret0, _ := ret[0].(topology.Host) 1025 return ret0 1026 } 1027 1028 // Origin indicates an expected call of Origin. 1029 func (mr *MockAdminSessionMockRecorder) Origin() *gomock.Call { 1030 mr.mock.ctrl.T.Helper() 1031 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Origin", reflect.TypeOf((*MockAdminSession)(nil).Origin)) 1032 } 1033 1034 // ReadClusterAvailability mocks base method. 1035 func (m *MockAdminSession) ReadClusterAvailability() (bool, error) { 1036 m.ctrl.T.Helper() 1037 ret := m.ctrl.Call(m, "ReadClusterAvailability") 1038 ret0, _ := ret[0].(bool) 1039 ret1, _ := ret[1].(error) 1040 return ret0, ret1 1041 } 1042 1043 // ReadClusterAvailability indicates an expected call of ReadClusterAvailability. 1044 func (mr *MockAdminSessionMockRecorder) ReadClusterAvailability() *gomock.Call { 1045 mr.mock.ctrl.T.Helper() 1046 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadClusterAvailability", reflect.TypeOf((*MockAdminSession)(nil).ReadClusterAvailability)) 1047 } 1048 1049 // Replicas mocks base method. 1050 func (m *MockAdminSession) Replicas() int { 1051 m.ctrl.T.Helper() 1052 ret := m.ctrl.Call(m, "Replicas") 1053 ret0, _ := ret[0].(int) 1054 return ret0 1055 } 1056 1057 // Replicas indicates an expected call of Replicas. 1058 func (mr *MockAdminSessionMockRecorder) Replicas() *gomock.Call { 1059 mr.mock.ctrl.T.Helper() 1060 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replicas", reflect.TypeOf((*MockAdminSession)(nil).Replicas)) 1061 } 1062 1063 // ShardID mocks base method. 1064 func (m *MockAdminSession) ShardID(id ident.ID) (uint32, error) { 1065 m.ctrl.T.Helper() 1066 ret := m.ctrl.Call(m, "ShardID", id) 1067 ret0, _ := ret[0].(uint32) 1068 ret1, _ := ret[1].(error) 1069 return ret0, ret1 1070 } 1071 1072 // ShardID indicates an expected call of ShardID. 1073 func (mr *MockAdminSessionMockRecorder) ShardID(id interface{}) *gomock.Call { 1074 mr.mock.ctrl.T.Helper() 1075 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardID", reflect.TypeOf((*MockAdminSession)(nil).ShardID), id) 1076 } 1077 1078 // TopologyMap mocks base method. 1079 func (m *MockAdminSession) TopologyMap() (topology.Map, error) { 1080 m.ctrl.T.Helper() 1081 ret := m.ctrl.Call(m, "TopologyMap") 1082 ret0, _ := ret[0].(topology.Map) 1083 ret1, _ := ret[1].(error) 1084 return ret0, ret1 1085 } 1086 1087 // TopologyMap indicates an expected call of TopologyMap. 1088 func (mr *MockAdminSessionMockRecorder) TopologyMap() *gomock.Call { 1089 mr.mock.ctrl.T.Helper() 1090 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyMap", reflect.TypeOf((*MockAdminSession)(nil).TopologyMap)) 1091 } 1092 1093 // Truncate mocks base method. 1094 func (m *MockAdminSession) Truncate(namespace ident.ID) (int64, error) { 1095 m.ctrl.T.Helper() 1096 ret := m.ctrl.Call(m, "Truncate", namespace) 1097 ret0, _ := ret[0].(int64) 1098 ret1, _ := ret[1].(error) 1099 return ret0, ret1 1100 } 1101 1102 // Truncate indicates an expected call of Truncate. 1103 func (mr *MockAdminSessionMockRecorder) Truncate(namespace interface{}) *gomock.Call { 1104 mr.mock.ctrl.T.Helper() 1105 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Truncate", reflect.TypeOf((*MockAdminSession)(nil).Truncate), namespace) 1106 } 1107 1108 // Write mocks base method. 1109 func (m *MockAdminSession) Write(namespace, id ident.ID, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 1110 m.ctrl.T.Helper() 1111 ret := m.ctrl.Call(m, "Write", namespace, id, t, value, unit, annotation) 1112 ret0, _ := ret[0].(error) 1113 return ret0 1114 } 1115 1116 // Write indicates an expected call of Write. 1117 func (mr *MockAdminSessionMockRecorder) Write(namespace, id, t, value, unit, annotation interface{}) *gomock.Call { 1118 mr.mock.ctrl.T.Helper() 1119 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockAdminSession)(nil).Write), namespace, id, t, value, unit, annotation) 1120 } 1121 1122 // WriteClusterAvailability mocks base method. 1123 func (m *MockAdminSession) WriteClusterAvailability() (bool, error) { 1124 m.ctrl.T.Helper() 1125 ret := m.ctrl.Call(m, "WriteClusterAvailability") 1126 ret0, _ := ret[0].(bool) 1127 ret1, _ := ret[1].(error) 1128 return ret0, ret1 1129 } 1130 1131 // WriteClusterAvailability indicates an expected call of WriteClusterAvailability. 1132 func (mr *MockAdminSessionMockRecorder) WriteClusterAvailability() *gomock.Call { 1133 mr.mock.ctrl.T.Helper() 1134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteClusterAvailability", reflect.TypeOf((*MockAdminSession)(nil).WriteClusterAvailability)) 1135 } 1136 1137 // WriteTagged mocks base method. 1138 func (m *MockAdminSession) WriteTagged(namespace, id ident.ID, tags ident.TagIterator, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 1139 m.ctrl.T.Helper() 1140 ret := m.ctrl.Call(m, "WriteTagged", namespace, id, tags, t, value, unit, annotation) 1141 ret0, _ := ret[0].(error) 1142 return ret0 1143 } 1144 1145 // WriteTagged indicates an expected call of WriteTagged. 1146 func (mr *MockAdminSessionMockRecorder) WriteTagged(namespace, id, tags, t, value, unit, annotation interface{}) *gomock.Call { 1147 mr.mock.ctrl.T.Helper() 1148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTagged", reflect.TypeOf((*MockAdminSession)(nil).WriteTagged), namespace, id, tags, t, value, unit, annotation) 1149 } 1150 1151 // MockOptions is a mock of Options interface. 1152 type MockOptions struct { 1153 ctrl *gomock.Controller 1154 recorder *MockOptionsMockRecorder 1155 } 1156 1157 // MockOptionsMockRecorder is the mock recorder for MockOptions. 1158 type MockOptionsMockRecorder struct { 1159 mock *MockOptions 1160 } 1161 1162 // NewMockOptions creates a new mock instance. 1163 func NewMockOptions(ctrl *gomock.Controller) *MockOptions { 1164 mock := &MockOptions{ctrl: ctrl} 1165 mock.recorder = &MockOptionsMockRecorder{mock} 1166 return mock 1167 } 1168 1169 // EXPECT returns an object that allows the caller to indicate expected use. 1170 func (m *MockOptions) EXPECT() *MockOptionsMockRecorder { 1171 return m.recorder 1172 } 1173 1174 // AsyncTopologyInitializers mocks base method. 1175 func (m *MockOptions) AsyncTopologyInitializers() []topology.Initializer { 1176 m.ctrl.T.Helper() 1177 ret := m.ctrl.Call(m, "AsyncTopologyInitializers") 1178 ret0, _ := ret[0].([]topology.Initializer) 1179 return ret0 1180 } 1181 1182 // AsyncTopologyInitializers indicates an expected call of AsyncTopologyInitializers. 1183 func (mr *MockOptionsMockRecorder) AsyncTopologyInitializers() *gomock.Call { 1184 mr.mock.ctrl.T.Helper() 1185 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncTopologyInitializers", reflect.TypeOf((*MockOptions)(nil).AsyncTopologyInitializers)) 1186 } 1187 1188 // AsyncWriteMaxConcurrency mocks base method. 1189 func (m *MockOptions) AsyncWriteMaxConcurrency() int { 1190 m.ctrl.T.Helper() 1191 ret := m.ctrl.Call(m, "AsyncWriteMaxConcurrency") 1192 ret0, _ := ret[0].(int) 1193 return ret0 1194 } 1195 1196 // AsyncWriteMaxConcurrency indicates an expected call of AsyncWriteMaxConcurrency. 1197 func (mr *MockOptionsMockRecorder) AsyncWriteMaxConcurrency() *gomock.Call { 1198 mr.mock.ctrl.T.Helper() 1199 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteMaxConcurrency", reflect.TypeOf((*MockOptions)(nil).AsyncWriteMaxConcurrency)) 1200 } 1201 1202 // AsyncWriteWorkerPool mocks base method. 1203 func (m *MockOptions) AsyncWriteWorkerPool() sync.PooledWorkerPool { 1204 m.ctrl.T.Helper() 1205 ret := m.ctrl.Call(m, "AsyncWriteWorkerPool") 1206 ret0, _ := ret[0].(sync.PooledWorkerPool) 1207 return ret0 1208 } 1209 1210 // AsyncWriteWorkerPool indicates an expected call of AsyncWriteWorkerPool. 1211 func (mr *MockOptionsMockRecorder) AsyncWriteWorkerPool() *gomock.Call { 1212 mr.mock.ctrl.T.Helper() 1213 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteWorkerPool", reflect.TypeOf((*MockOptions)(nil).AsyncWriteWorkerPool)) 1214 } 1215 1216 // BackgroundConnectInterval mocks base method. 1217 func (m *MockOptions) BackgroundConnectInterval() time.Duration { 1218 m.ctrl.T.Helper() 1219 ret := m.ctrl.Call(m, "BackgroundConnectInterval") 1220 ret0, _ := ret[0].(time.Duration) 1221 return ret0 1222 } 1223 1224 // BackgroundConnectInterval indicates an expected call of BackgroundConnectInterval. 1225 func (mr *MockOptionsMockRecorder) BackgroundConnectInterval() *gomock.Call { 1226 mr.mock.ctrl.T.Helper() 1227 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectInterval", reflect.TypeOf((*MockOptions)(nil).BackgroundConnectInterval)) 1228 } 1229 1230 // BackgroundConnectStutter mocks base method. 1231 func (m *MockOptions) BackgroundConnectStutter() time.Duration { 1232 m.ctrl.T.Helper() 1233 ret := m.ctrl.Call(m, "BackgroundConnectStutter") 1234 ret0, _ := ret[0].(time.Duration) 1235 return ret0 1236 } 1237 1238 // BackgroundConnectStutter indicates an expected call of BackgroundConnectStutter. 1239 func (mr *MockOptionsMockRecorder) BackgroundConnectStutter() *gomock.Call { 1240 mr.mock.ctrl.T.Helper() 1241 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectStutter", reflect.TypeOf((*MockOptions)(nil).BackgroundConnectStutter)) 1242 } 1243 1244 // BackgroundHealthCheckFailLimit mocks base method. 1245 func (m *MockOptions) BackgroundHealthCheckFailLimit() int { 1246 m.ctrl.T.Helper() 1247 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailLimit") 1248 ret0, _ := ret[0].(int) 1249 return ret0 1250 } 1251 1252 // BackgroundHealthCheckFailLimit indicates an expected call of BackgroundHealthCheckFailLimit. 1253 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckFailLimit() *gomock.Call { 1254 mr.mock.ctrl.T.Helper() 1255 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailLimit", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckFailLimit)) 1256 } 1257 1258 // BackgroundHealthCheckFailThrottleFactor mocks base method. 1259 func (m *MockOptions) BackgroundHealthCheckFailThrottleFactor() float64 { 1260 m.ctrl.T.Helper() 1261 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailThrottleFactor") 1262 ret0, _ := ret[0].(float64) 1263 return ret0 1264 } 1265 1266 // BackgroundHealthCheckFailThrottleFactor indicates an expected call of BackgroundHealthCheckFailThrottleFactor. 1267 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckFailThrottleFactor() *gomock.Call { 1268 mr.mock.ctrl.T.Helper() 1269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckFailThrottleFactor)) 1270 } 1271 1272 // BackgroundHealthCheckInterval mocks base method. 1273 func (m *MockOptions) BackgroundHealthCheckInterval() time.Duration { 1274 m.ctrl.T.Helper() 1275 ret := m.ctrl.Call(m, "BackgroundHealthCheckInterval") 1276 ret0, _ := ret[0].(time.Duration) 1277 return ret0 1278 } 1279 1280 // BackgroundHealthCheckInterval indicates an expected call of BackgroundHealthCheckInterval. 1281 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckInterval() *gomock.Call { 1282 mr.mock.ctrl.T.Helper() 1283 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckInterval", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckInterval)) 1284 } 1285 1286 // BackgroundHealthCheckStutter mocks base method. 1287 func (m *MockOptions) BackgroundHealthCheckStutter() time.Duration { 1288 m.ctrl.T.Helper() 1289 ret := m.ctrl.Call(m, "BackgroundHealthCheckStutter") 1290 ret0, _ := ret[0].(time.Duration) 1291 return ret0 1292 } 1293 1294 // BackgroundHealthCheckStutter indicates an expected call of BackgroundHealthCheckStutter. 1295 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckStutter() *gomock.Call { 1296 mr.mock.ctrl.T.Helper() 1297 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckStutter", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckStutter)) 1298 } 1299 1300 // ChannelOptions mocks base method. 1301 func (m *MockOptions) ChannelOptions() *tchannel_go.ChannelOptions { 1302 m.ctrl.T.Helper() 1303 ret := m.ctrl.Call(m, "ChannelOptions") 1304 ret0, _ := ret[0].(*tchannel_go.ChannelOptions) 1305 return ret0 1306 } 1307 1308 // ChannelOptions indicates an expected call of ChannelOptions. 1309 func (mr *MockOptionsMockRecorder) ChannelOptions() *gomock.Call { 1310 mr.mock.ctrl.T.Helper() 1311 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChannelOptions", reflect.TypeOf((*MockOptions)(nil).ChannelOptions)) 1312 } 1313 1314 // CheckedBytesPool mocks base method. 1315 func (m *MockOptions) CheckedBytesPool() pool.CheckedBytesPool { 1316 m.ctrl.T.Helper() 1317 ret := m.ctrl.Call(m, "CheckedBytesPool") 1318 ret0, _ := ret[0].(pool.CheckedBytesPool) 1319 return ret0 1320 } 1321 1322 // CheckedBytesPool indicates an expected call of CheckedBytesPool. 1323 func (mr *MockOptionsMockRecorder) CheckedBytesPool() *gomock.Call { 1324 mr.mock.ctrl.T.Helper() 1325 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesPool", reflect.TypeOf((*MockOptions)(nil).CheckedBytesPool)) 1326 } 1327 1328 // CheckedBytesWrapperPoolSize mocks base method. 1329 func (m *MockOptions) CheckedBytesWrapperPoolSize() pool.Size { 1330 m.ctrl.T.Helper() 1331 ret := m.ctrl.Call(m, "CheckedBytesWrapperPoolSize") 1332 ret0, _ := ret[0].(pool.Size) 1333 return ret0 1334 } 1335 1336 // CheckedBytesWrapperPoolSize indicates an expected call of CheckedBytesWrapperPoolSize. 1337 func (mr *MockOptionsMockRecorder) CheckedBytesWrapperPoolSize() *gomock.Call { 1338 mr.mock.ctrl.T.Helper() 1339 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesWrapperPoolSize", reflect.TypeOf((*MockOptions)(nil).CheckedBytesWrapperPoolSize)) 1340 } 1341 1342 // ClockOptions mocks base method. 1343 func (m *MockOptions) ClockOptions() clock.Options { 1344 m.ctrl.T.Helper() 1345 ret := m.ctrl.Call(m, "ClockOptions") 1346 ret0, _ := ret[0].(clock.Options) 1347 return ret0 1348 } 1349 1350 // ClockOptions indicates an expected call of ClockOptions. 1351 func (mr *MockOptionsMockRecorder) ClockOptions() *gomock.Call { 1352 mr.mock.ctrl.T.Helper() 1353 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClockOptions", reflect.TypeOf((*MockOptions)(nil).ClockOptions)) 1354 } 1355 1356 // ClusterConnectConsistencyLevel mocks base method. 1357 func (m *MockOptions) ClusterConnectConsistencyLevel() topology.ConnectConsistencyLevel { 1358 m.ctrl.T.Helper() 1359 ret := m.ctrl.Call(m, "ClusterConnectConsistencyLevel") 1360 ret0, _ := ret[0].(topology.ConnectConsistencyLevel) 1361 return ret0 1362 } 1363 1364 // ClusterConnectConsistencyLevel indicates an expected call of ClusterConnectConsistencyLevel. 1365 func (mr *MockOptionsMockRecorder) ClusterConnectConsistencyLevel() *gomock.Call { 1366 mr.mock.ctrl.T.Helper() 1367 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).ClusterConnectConsistencyLevel)) 1368 } 1369 1370 // ClusterConnectTimeout mocks base method. 1371 func (m *MockOptions) ClusterConnectTimeout() time.Duration { 1372 m.ctrl.T.Helper() 1373 ret := m.ctrl.Call(m, "ClusterConnectTimeout") 1374 ret0, _ := ret[0].(time.Duration) 1375 return ret0 1376 } 1377 1378 // ClusterConnectTimeout indicates an expected call of ClusterConnectTimeout. 1379 func (mr *MockOptionsMockRecorder) ClusterConnectTimeout() *gomock.Call { 1380 mr.mock.ctrl.T.Helper() 1381 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectTimeout", reflect.TypeOf((*MockOptions)(nil).ClusterConnectTimeout)) 1382 } 1383 1384 // ContextPool mocks base method. 1385 func (m *MockOptions) ContextPool() context0.Pool { 1386 m.ctrl.T.Helper() 1387 ret := m.ctrl.Call(m, "ContextPool") 1388 ret0, _ := ret[0].(context0.Pool) 1389 return ret0 1390 } 1391 1392 // ContextPool indicates an expected call of ContextPool. 1393 func (mr *MockOptionsMockRecorder) ContextPool() *gomock.Call { 1394 mr.mock.ctrl.T.Helper() 1395 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContextPool", reflect.TypeOf((*MockOptions)(nil).ContextPool)) 1396 } 1397 1398 // FetchBatchOpPoolSize mocks base method. 1399 func (m *MockOptions) FetchBatchOpPoolSize() pool.Size { 1400 m.ctrl.T.Helper() 1401 ret := m.ctrl.Call(m, "FetchBatchOpPoolSize") 1402 ret0, _ := ret[0].(pool.Size) 1403 return ret0 1404 } 1405 1406 // FetchBatchOpPoolSize indicates an expected call of FetchBatchOpPoolSize. 1407 func (mr *MockOptionsMockRecorder) FetchBatchOpPoolSize() *gomock.Call { 1408 mr.mock.ctrl.T.Helper() 1409 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchOpPoolSize", reflect.TypeOf((*MockOptions)(nil).FetchBatchOpPoolSize)) 1410 } 1411 1412 // FetchBatchSize mocks base method. 1413 func (m *MockOptions) FetchBatchSize() int { 1414 m.ctrl.T.Helper() 1415 ret := m.ctrl.Call(m, "FetchBatchSize") 1416 ret0, _ := ret[0].(int) 1417 return ret0 1418 } 1419 1420 // FetchBatchSize indicates an expected call of FetchBatchSize. 1421 func (mr *MockOptionsMockRecorder) FetchBatchSize() *gomock.Call { 1422 mr.mock.ctrl.T.Helper() 1423 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchSize", reflect.TypeOf((*MockOptions)(nil).FetchBatchSize)) 1424 } 1425 1426 // FetchRequestTimeout mocks base method. 1427 func (m *MockOptions) FetchRequestTimeout() time.Duration { 1428 m.ctrl.T.Helper() 1429 ret := m.ctrl.Call(m, "FetchRequestTimeout") 1430 ret0, _ := ret[0].(time.Duration) 1431 return ret0 1432 } 1433 1434 // FetchRequestTimeout indicates an expected call of FetchRequestTimeout. 1435 func (mr *MockOptionsMockRecorder) FetchRequestTimeout() *gomock.Call { 1436 mr.mock.ctrl.T.Helper() 1437 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRequestTimeout", reflect.TypeOf((*MockOptions)(nil).FetchRequestTimeout)) 1438 } 1439 1440 // FetchRetrier mocks base method. 1441 func (m *MockOptions) FetchRetrier() retry.Retrier { 1442 m.ctrl.T.Helper() 1443 ret := m.ctrl.Call(m, "FetchRetrier") 1444 ret0, _ := ret[0].(retry.Retrier) 1445 return ret0 1446 } 1447 1448 // FetchRetrier indicates an expected call of FetchRetrier. 1449 func (mr *MockOptionsMockRecorder) FetchRetrier() *gomock.Call { 1450 mr.mock.ctrl.T.Helper() 1451 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRetrier", reflect.TypeOf((*MockOptions)(nil).FetchRetrier)) 1452 } 1453 1454 // HostConnectTimeout mocks base method. 1455 func (m *MockOptions) HostConnectTimeout() time.Duration { 1456 m.ctrl.T.Helper() 1457 ret := m.ctrl.Call(m, "HostConnectTimeout") 1458 ret0, _ := ret[0].(time.Duration) 1459 return ret0 1460 } 1461 1462 // HostConnectTimeout indicates an expected call of HostConnectTimeout. 1463 func (mr *MockOptionsMockRecorder) HostConnectTimeout() *gomock.Call { 1464 mr.mock.ctrl.T.Helper() 1465 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostConnectTimeout", reflect.TypeOf((*MockOptions)(nil).HostConnectTimeout)) 1466 } 1467 1468 // HostQueueEmitsHealthStatus mocks base method. 1469 func (m *MockOptions) HostQueueEmitsHealthStatus() bool { 1470 m.ctrl.T.Helper() 1471 ret := m.ctrl.Call(m, "HostQueueEmitsHealthStatus") 1472 ret0, _ := ret[0].(bool) 1473 return ret0 1474 } 1475 1476 // HostQueueEmitsHealthStatus indicates an expected call of HostQueueEmitsHealthStatus. 1477 func (mr *MockOptionsMockRecorder) HostQueueEmitsHealthStatus() *gomock.Call { 1478 mr.mock.ctrl.T.Helper() 1479 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueEmitsHealthStatus", reflect.TypeOf((*MockOptions)(nil).HostQueueEmitsHealthStatus)) 1480 } 1481 1482 // HostQueueNewPooledWorkerFn mocks base method. 1483 func (m *MockOptions) HostQueueNewPooledWorkerFn() sync.NewPooledWorkerFn { 1484 m.ctrl.T.Helper() 1485 ret := m.ctrl.Call(m, "HostQueueNewPooledWorkerFn") 1486 ret0, _ := ret[0].(sync.NewPooledWorkerFn) 1487 return ret0 1488 } 1489 1490 // HostQueueNewPooledWorkerFn indicates an expected call of HostQueueNewPooledWorkerFn. 1491 func (mr *MockOptionsMockRecorder) HostQueueNewPooledWorkerFn() *gomock.Call { 1492 mr.mock.ctrl.T.Helper() 1493 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueNewPooledWorkerFn", reflect.TypeOf((*MockOptions)(nil).HostQueueNewPooledWorkerFn)) 1494 } 1495 1496 // HostQueueOpsArrayPoolSize mocks base method. 1497 func (m *MockOptions) HostQueueOpsArrayPoolSize() pool.Size { 1498 m.ctrl.T.Helper() 1499 ret := m.ctrl.Call(m, "HostQueueOpsArrayPoolSize") 1500 ret0, _ := ret[0].(pool.Size) 1501 return ret0 1502 } 1503 1504 // HostQueueOpsArrayPoolSize indicates an expected call of HostQueueOpsArrayPoolSize. 1505 func (mr *MockOptionsMockRecorder) HostQueueOpsArrayPoolSize() *gomock.Call { 1506 mr.mock.ctrl.T.Helper() 1507 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsArrayPoolSize", reflect.TypeOf((*MockOptions)(nil).HostQueueOpsArrayPoolSize)) 1508 } 1509 1510 // HostQueueOpsFlushInterval mocks base method. 1511 func (m *MockOptions) HostQueueOpsFlushInterval() time.Duration { 1512 m.ctrl.T.Helper() 1513 ret := m.ctrl.Call(m, "HostQueueOpsFlushInterval") 1514 ret0, _ := ret[0].(time.Duration) 1515 return ret0 1516 } 1517 1518 // HostQueueOpsFlushInterval indicates an expected call of HostQueueOpsFlushInterval. 1519 func (mr *MockOptionsMockRecorder) HostQueueOpsFlushInterval() *gomock.Call { 1520 mr.mock.ctrl.T.Helper() 1521 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushInterval", reflect.TypeOf((*MockOptions)(nil).HostQueueOpsFlushInterval)) 1522 } 1523 1524 // HostQueueOpsFlushSize mocks base method. 1525 func (m *MockOptions) HostQueueOpsFlushSize() int { 1526 m.ctrl.T.Helper() 1527 ret := m.ctrl.Call(m, "HostQueueOpsFlushSize") 1528 ret0, _ := ret[0].(int) 1529 return ret0 1530 } 1531 1532 // HostQueueOpsFlushSize indicates an expected call of HostQueueOpsFlushSize. 1533 func (mr *MockOptionsMockRecorder) HostQueueOpsFlushSize() *gomock.Call { 1534 mr.mock.ctrl.T.Helper() 1535 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushSize", reflect.TypeOf((*MockOptions)(nil).HostQueueOpsFlushSize)) 1536 } 1537 1538 // IdentifierPool mocks base method. 1539 func (m *MockOptions) IdentifierPool() ident.Pool { 1540 m.ctrl.T.Helper() 1541 ret := m.ctrl.Call(m, "IdentifierPool") 1542 ret0, _ := ret[0].(ident.Pool) 1543 return ret0 1544 } 1545 1546 // IdentifierPool indicates an expected call of IdentifierPool. 1547 func (mr *MockOptionsMockRecorder) IdentifierPool() *gomock.Call { 1548 mr.mock.ctrl.T.Helper() 1549 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentifierPool", reflect.TypeOf((*MockOptions)(nil).IdentifierPool)) 1550 } 1551 1552 // InstrumentOptions mocks base method. 1553 func (m *MockOptions) InstrumentOptions() instrument.Options { 1554 m.ctrl.T.Helper() 1555 ret := m.ctrl.Call(m, "InstrumentOptions") 1556 ret0, _ := ret[0].(instrument.Options) 1557 return ret0 1558 } 1559 1560 // InstrumentOptions indicates an expected call of InstrumentOptions. 1561 func (mr *MockOptionsMockRecorder) InstrumentOptions() *gomock.Call { 1562 mr.mock.ctrl.T.Helper() 1563 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstrumentOptions", reflect.TypeOf((*MockOptions)(nil).InstrumentOptions)) 1564 } 1565 1566 // IsSetEncodingProto mocks base method. 1567 func (m *MockOptions) IsSetEncodingProto() bool { 1568 m.ctrl.T.Helper() 1569 ret := m.ctrl.Call(m, "IsSetEncodingProto") 1570 ret0, _ := ret[0].(bool) 1571 return ret0 1572 } 1573 1574 // IsSetEncodingProto indicates an expected call of IsSetEncodingProto. 1575 func (mr *MockOptionsMockRecorder) IsSetEncodingProto() *gomock.Call { 1576 mr.mock.ctrl.T.Helper() 1577 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSetEncodingProto", reflect.TypeOf((*MockOptions)(nil).IsSetEncodingProto)) 1578 } 1579 1580 // IterationOptions mocks base method. 1581 func (m *MockOptions) IterationOptions() index.IterationOptions { 1582 m.ctrl.T.Helper() 1583 ret := m.ctrl.Call(m, "IterationOptions") 1584 ret0, _ := ret[0].(index.IterationOptions) 1585 return ret0 1586 } 1587 1588 // IterationOptions indicates an expected call of IterationOptions. 1589 func (mr *MockOptionsMockRecorder) IterationOptions() *gomock.Call { 1590 mr.mock.ctrl.T.Helper() 1591 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterationOptions", reflect.TypeOf((*MockOptions)(nil).IterationOptions)) 1592 } 1593 1594 // LogErrorSampleRate mocks base method. 1595 func (m *MockOptions) LogErrorSampleRate() sampler.Rate { 1596 m.ctrl.T.Helper() 1597 ret := m.ctrl.Call(m, "LogErrorSampleRate") 1598 ret0, _ := ret[0].(sampler.Rate) 1599 return ret0 1600 } 1601 1602 // LogErrorSampleRate indicates an expected call of LogErrorSampleRate. 1603 func (mr *MockOptionsMockRecorder) LogErrorSampleRate() *gomock.Call { 1604 mr.mock.ctrl.T.Helper() 1605 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).LogErrorSampleRate)) 1606 } 1607 1608 // LogHostFetchErrorSampleRate mocks base method. 1609 func (m *MockOptions) LogHostFetchErrorSampleRate() sampler.Rate { 1610 m.ctrl.T.Helper() 1611 ret := m.ctrl.Call(m, "LogHostFetchErrorSampleRate") 1612 ret0, _ := ret[0].(sampler.Rate) 1613 return ret0 1614 } 1615 1616 // LogHostFetchErrorSampleRate indicates an expected call of LogHostFetchErrorSampleRate. 1617 func (mr *MockOptionsMockRecorder) LogHostFetchErrorSampleRate() *gomock.Call { 1618 mr.mock.ctrl.T.Helper() 1619 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogHostFetchErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).LogHostFetchErrorSampleRate)) 1620 } 1621 1622 // LogHostWriteErrorSampleRate mocks base method. 1623 func (m *MockOptions) LogHostWriteErrorSampleRate() sampler.Rate { 1624 m.ctrl.T.Helper() 1625 ret := m.ctrl.Call(m, "LogHostWriteErrorSampleRate") 1626 ret0, _ := ret[0].(sampler.Rate) 1627 return ret0 1628 } 1629 1630 // LogHostWriteErrorSampleRate indicates an expected call of LogHostWriteErrorSampleRate. 1631 func (mr *MockOptionsMockRecorder) LogHostWriteErrorSampleRate() *gomock.Call { 1632 mr.mock.ctrl.T.Helper() 1633 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogHostWriteErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).LogHostWriteErrorSampleRate)) 1634 } 1635 1636 // MaxConnectionCount mocks base method. 1637 func (m *MockOptions) MaxConnectionCount() int { 1638 m.ctrl.T.Helper() 1639 ret := m.ctrl.Call(m, "MaxConnectionCount") 1640 ret0, _ := ret[0].(int) 1641 return ret0 1642 } 1643 1644 // MaxConnectionCount indicates an expected call of MaxConnectionCount. 1645 func (mr *MockOptionsMockRecorder) MaxConnectionCount() *gomock.Call { 1646 mr.mock.ctrl.T.Helper() 1647 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxConnectionCount", reflect.TypeOf((*MockOptions)(nil).MaxConnectionCount)) 1648 } 1649 1650 // MinConnectionCount mocks base method. 1651 func (m *MockOptions) MinConnectionCount() int { 1652 m.ctrl.T.Helper() 1653 ret := m.ctrl.Call(m, "MinConnectionCount") 1654 ret0, _ := ret[0].(int) 1655 return ret0 1656 } 1657 1658 // MinConnectionCount indicates an expected call of MinConnectionCount. 1659 func (mr *MockOptionsMockRecorder) MinConnectionCount() *gomock.Call { 1660 mr.mock.ctrl.T.Helper() 1661 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinConnectionCount", reflect.TypeOf((*MockOptions)(nil).MinConnectionCount)) 1662 } 1663 1664 // NamespaceInitializer mocks base method. 1665 func (m *MockOptions) NamespaceInitializer() namespace.Initializer { 1666 m.ctrl.T.Helper() 1667 ret := m.ctrl.Call(m, "NamespaceInitializer") 1668 ret0, _ := ret[0].(namespace.Initializer) 1669 return ret0 1670 } 1671 1672 // NamespaceInitializer indicates an expected call of NamespaceInitializer. 1673 func (mr *MockOptionsMockRecorder) NamespaceInitializer() *gomock.Call { 1674 mr.mock.ctrl.T.Helper() 1675 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NamespaceInitializer", reflect.TypeOf((*MockOptions)(nil).NamespaceInitializer)) 1676 } 1677 1678 // NewConnectionFn mocks base method. 1679 func (m *MockOptions) NewConnectionFn() NewConnectionFn { 1680 m.ctrl.T.Helper() 1681 ret := m.ctrl.Call(m, "NewConnectionFn") 1682 ret0, _ := ret[0].(NewConnectionFn) 1683 return ret0 1684 } 1685 1686 // NewConnectionFn indicates an expected call of NewConnectionFn. 1687 func (mr *MockOptionsMockRecorder) NewConnectionFn() *gomock.Call { 1688 mr.mock.ctrl.T.Helper() 1689 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewConnectionFn", reflect.TypeOf((*MockOptions)(nil).NewConnectionFn)) 1690 } 1691 1692 // ReadConsistencyLevel mocks base method. 1693 func (m *MockOptions) ReadConsistencyLevel() topology.ReadConsistencyLevel { 1694 m.ctrl.T.Helper() 1695 ret := m.ctrl.Call(m, "ReadConsistencyLevel") 1696 ret0, _ := ret[0].(topology.ReadConsistencyLevel) 1697 return ret0 1698 } 1699 1700 // ReadConsistencyLevel indicates an expected call of ReadConsistencyLevel. 1701 func (mr *MockOptionsMockRecorder) ReadConsistencyLevel() *gomock.Call { 1702 mr.mock.ctrl.T.Helper() 1703 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).ReadConsistencyLevel)) 1704 } 1705 1706 // ReaderIteratorAllocate mocks base method. 1707 func (m *MockOptions) ReaderIteratorAllocate() encoding.ReaderIteratorAllocate { 1708 m.ctrl.T.Helper() 1709 ret := m.ctrl.Call(m, "ReaderIteratorAllocate") 1710 ret0, _ := ret[0].(encoding.ReaderIteratorAllocate) 1711 return ret0 1712 } 1713 1714 // ReaderIteratorAllocate indicates an expected call of ReaderIteratorAllocate. 1715 func (mr *MockOptionsMockRecorder) ReaderIteratorAllocate() *gomock.Call { 1716 mr.mock.ctrl.T.Helper() 1717 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReaderIteratorAllocate", reflect.TypeOf((*MockOptions)(nil).ReaderIteratorAllocate)) 1718 } 1719 1720 // RuntimeOptionsManager mocks base method. 1721 func (m *MockOptions) RuntimeOptionsManager() runtime.OptionsManager { 1722 m.ctrl.T.Helper() 1723 ret := m.ctrl.Call(m, "RuntimeOptionsManager") 1724 ret0, _ := ret[0].(runtime.OptionsManager) 1725 return ret0 1726 } 1727 1728 // RuntimeOptionsManager indicates an expected call of RuntimeOptionsManager. 1729 func (mr *MockOptionsMockRecorder) RuntimeOptionsManager() *gomock.Call { 1730 mr.mock.ctrl.T.Helper() 1731 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RuntimeOptionsManager", reflect.TypeOf((*MockOptions)(nil).RuntimeOptionsManager)) 1732 } 1733 1734 // SchemaRegistry mocks base method. 1735 func (m *MockOptions) SchemaRegistry() namespace.SchemaRegistry { 1736 m.ctrl.T.Helper() 1737 ret := m.ctrl.Call(m, "SchemaRegistry") 1738 ret0, _ := ret[0].(namespace.SchemaRegistry) 1739 return ret0 1740 } 1741 1742 // SchemaRegistry indicates an expected call of SchemaRegistry. 1743 func (mr *MockOptionsMockRecorder) SchemaRegistry() *gomock.Call { 1744 mr.mock.ctrl.T.Helper() 1745 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SchemaRegistry", reflect.TypeOf((*MockOptions)(nil).SchemaRegistry)) 1746 } 1747 1748 // SeriesIteratorPoolSize mocks base method. 1749 func (m *MockOptions) SeriesIteratorPoolSize() pool.Size { 1750 m.ctrl.T.Helper() 1751 ret := m.ctrl.Call(m, "SeriesIteratorPoolSize") 1752 ret0, _ := ret[0].(pool.Size) 1753 return ret0 1754 } 1755 1756 // SeriesIteratorPoolSize indicates an expected call of SeriesIteratorPoolSize. 1757 func (mr *MockOptionsMockRecorder) SeriesIteratorPoolSize() *gomock.Call { 1758 mr.mock.ctrl.T.Helper() 1759 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeriesIteratorPoolSize", reflect.TypeOf((*MockOptions)(nil).SeriesIteratorPoolSize)) 1760 } 1761 1762 // SetAsyncTopologyInitializers mocks base method. 1763 func (m *MockOptions) SetAsyncTopologyInitializers(value []topology.Initializer) Options { 1764 m.ctrl.T.Helper() 1765 ret := m.ctrl.Call(m, "SetAsyncTopologyInitializers", value) 1766 ret0, _ := ret[0].(Options) 1767 return ret0 1768 } 1769 1770 // SetAsyncTopologyInitializers indicates an expected call of SetAsyncTopologyInitializers. 1771 func (mr *MockOptionsMockRecorder) SetAsyncTopologyInitializers(value interface{}) *gomock.Call { 1772 mr.mock.ctrl.T.Helper() 1773 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncTopologyInitializers", reflect.TypeOf((*MockOptions)(nil).SetAsyncTopologyInitializers), value) 1774 } 1775 1776 // SetAsyncWriteMaxConcurrency mocks base method. 1777 func (m *MockOptions) SetAsyncWriteMaxConcurrency(value int) Options { 1778 m.ctrl.T.Helper() 1779 ret := m.ctrl.Call(m, "SetAsyncWriteMaxConcurrency", value) 1780 ret0, _ := ret[0].(Options) 1781 return ret0 1782 } 1783 1784 // SetAsyncWriteMaxConcurrency indicates an expected call of SetAsyncWriteMaxConcurrency. 1785 func (mr *MockOptionsMockRecorder) SetAsyncWriteMaxConcurrency(value interface{}) *gomock.Call { 1786 mr.mock.ctrl.T.Helper() 1787 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteMaxConcurrency", reflect.TypeOf((*MockOptions)(nil).SetAsyncWriteMaxConcurrency), value) 1788 } 1789 1790 // SetAsyncWriteWorkerPool mocks base method. 1791 func (m *MockOptions) SetAsyncWriteWorkerPool(value sync.PooledWorkerPool) Options { 1792 m.ctrl.T.Helper() 1793 ret := m.ctrl.Call(m, "SetAsyncWriteWorkerPool", value) 1794 ret0, _ := ret[0].(Options) 1795 return ret0 1796 } 1797 1798 // SetAsyncWriteWorkerPool indicates an expected call of SetAsyncWriteWorkerPool. 1799 func (mr *MockOptionsMockRecorder) SetAsyncWriteWorkerPool(value interface{}) *gomock.Call { 1800 mr.mock.ctrl.T.Helper() 1801 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteWorkerPool", reflect.TypeOf((*MockOptions)(nil).SetAsyncWriteWorkerPool), value) 1802 } 1803 1804 // SetBackgroundConnectInterval mocks base method. 1805 func (m *MockOptions) SetBackgroundConnectInterval(value time.Duration) Options { 1806 m.ctrl.T.Helper() 1807 ret := m.ctrl.Call(m, "SetBackgroundConnectInterval", value) 1808 ret0, _ := ret[0].(Options) 1809 return ret0 1810 } 1811 1812 // SetBackgroundConnectInterval indicates an expected call of SetBackgroundConnectInterval. 1813 func (mr *MockOptionsMockRecorder) SetBackgroundConnectInterval(value interface{}) *gomock.Call { 1814 mr.mock.ctrl.T.Helper() 1815 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectInterval", reflect.TypeOf((*MockOptions)(nil).SetBackgroundConnectInterval), value) 1816 } 1817 1818 // SetBackgroundConnectStutter mocks base method. 1819 func (m *MockOptions) SetBackgroundConnectStutter(value time.Duration) Options { 1820 m.ctrl.T.Helper() 1821 ret := m.ctrl.Call(m, "SetBackgroundConnectStutter", value) 1822 ret0, _ := ret[0].(Options) 1823 return ret0 1824 } 1825 1826 // SetBackgroundConnectStutter indicates an expected call of SetBackgroundConnectStutter. 1827 func (mr *MockOptionsMockRecorder) SetBackgroundConnectStutter(value interface{}) *gomock.Call { 1828 mr.mock.ctrl.T.Helper() 1829 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectStutter", reflect.TypeOf((*MockOptions)(nil).SetBackgroundConnectStutter), value) 1830 } 1831 1832 // SetBackgroundHealthCheckFailLimit mocks base method. 1833 func (m *MockOptions) SetBackgroundHealthCheckFailLimit(value int) Options { 1834 m.ctrl.T.Helper() 1835 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailLimit", value) 1836 ret0, _ := ret[0].(Options) 1837 return ret0 1838 } 1839 1840 // SetBackgroundHealthCheckFailLimit indicates an expected call of SetBackgroundHealthCheckFailLimit. 1841 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckFailLimit(value interface{}) *gomock.Call { 1842 mr.mock.ctrl.T.Helper() 1843 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailLimit", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckFailLimit), value) 1844 } 1845 1846 // SetBackgroundHealthCheckFailThrottleFactor mocks base method. 1847 func (m *MockOptions) SetBackgroundHealthCheckFailThrottleFactor(value float64) Options { 1848 m.ctrl.T.Helper() 1849 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailThrottleFactor", value) 1850 ret0, _ := ret[0].(Options) 1851 return ret0 1852 } 1853 1854 // SetBackgroundHealthCheckFailThrottleFactor indicates an expected call of SetBackgroundHealthCheckFailThrottleFactor. 1855 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckFailThrottleFactor(value interface{}) *gomock.Call { 1856 mr.mock.ctrl.T.Helper() 1857 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckFailThrottleFactor), value) 1858 } 1859 1860 // SetBackgroundHealthCheckInterval mocks base method. 1861 func (m *MockOptions) SetBackgroundHealthCheckInterval(value time.Duration) Options { 1862 m.ctrl.T.Helper() 1863 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckInterval", value) 1864 ret0, _ := ret[0].(Options) 1865 return ret0 1866 } 1867 1868 // SetBackgroundHealthCheckInterval indicates an expected call of SetBackgroundHealthCheckInterval. 1869 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckInterval(value interface{}) *gomock.Call { 1870 mr.mock.ctrl.T.Helper() 1871 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckInterval", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckInterval), value) 1872 } 1873 1874 // SetBackgroundHealthCheckStutter mocks base method. 1875 func (m *MockOptions) SetBackgroundHealthCheckStutter(value time.Duration) Options { 1876 m.ctrl.T.Helper() 1877 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckStutter", value) 1878 ret0, _ := ret[0].(Options) 1879 return ret0 1880 } 1881 1882 // SetBackgroundHealthCheckStutter indicates an expected call of SetBackgroundHealthCheckStutter. 1883 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckStutter(value interface{}) *gomock.Call { 1884 mr.mock.ctrl.T.Helper() 1885 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckStutter", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckStutter), value) 1886 } 1887 1888 // SetChannelOptions mocks base method. 1889 func (m *MockOptions) SetChannelOptions(value *tchannel_go.ChannelOptions) Options { 1890 m.ctrl.T.Helper() 1891 ret := m.ctrl.Call(m, "SetChannelOptions", value) 1892 ret0, _ := ret[0].(Options) 1893 return ret0 1894 } 1895 1896 // SetChannelOptions indicates an expected call of SetChannelOptions. 1897 func (mr *MockOptionsMockRecorder) SetChannelOptions(value interface{}) *gomock.Call { 1898 mr.mock.ctrl.T.Helper() 1899 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetChannelOptions", reflect.TypeOf((*MockOptions)(nil).SetChannelOptions), value) 1900 } 1901 1902 // SetCheckedBytesPool mocks base method. 1903 func (m *MockOptions) SetCheckedBytesPool(value pool.CheckedBytesPool) Options { 1904 m.ctrl.T.Helper() 1905 ret := m.ctrl.Call(m, "SetCheckedBytesPool", value) 1906 ret0, _ := ret[0].(Options) 1907 return ret0 1908 } 1909 1910 // SetCheckedBytesPool indicates an expected call of SetCheckedBytesPool. 1911 func (mr *MockOptionsMockRecorder) SetCheckedBytesPool(value interface{}) *gomock.Call { 1912 mr.mock.ctrl.T.Helper() 1913 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesPool", reflect.TypeOf((*MockOptions)(nil).SetCheckedBytesPool), value) 1914 } 1915 1916 // SetCheckedBytesWrapperPoolSize mocks base method. 1917 func (m *MockOptions) SetCheckedBytesWrapperPoolSize(value pool.Size) Options { 1918 m.ctrl.T.Helper() 1919 ret := m.ctrl.Call(m, "SetCheckedBytesWrapperPoolSize", value) 1920 ret0, _ := ret[0].(Options) 1921 return ret0 1922 } 1923 1924 // SetCheckedBytesWrapperPoolSize indicates an expected call of SetCheckedBytesWrapperPoolSize. 1925 func (mr *MockOptionsMockRecorder) SetCheckedBytesWrapperPoolSize(value interface{}) *gomock.Call { 1926 mr.mock.ctrl.T.Helper() 1927 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesWrapperPoolSize", reflect.TypeOf((*MockOptions)(nil).SetCheckedBytesWrapperPoolSize), value) 1928 } 1929 1930 // SetClockOptions mocks base method. 1931 func (m *MockOptions) SetClockOptions(value clock.Options) Options { 1932 m.ctrl.T.Helper() 1933 ret := m.ctrl.Call(m, "SetClockOptions", value) 1934 ret0, _ := ret[0].(Options) 1935 return ret0 1936 } 1937 1938 // SetClockOptions indicates an expected call of SetClockOptions. 1939 func (mr *MockOptionsMockRecorder) SetClockOptions(value interface{}) *gomock.Call { 1940 mr.mock.ctrl.T.Helper() 1941 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClockOptions", reflect.TypeOf((*MockOptions)(nil).SetClockOptions), value) 1942 } 1943 1944 // SetClusterConnectConsistencyLevel mocks base method. 1945 func (m *MockOptions) SetClusterConnectConsistencyLevel(value topology.ConnectConsistencyLevel) Options { 1946 m.ctrl.T.Helper() 1947 ret := m.ctrl.Call(m, "SetClusterConnectConsistencyLevel", value) 1948 ret0, _ := ret[0].(Options) 1949 return ret0 1950 } 1951 1952 // SetClusterConnectConsistencyLevel indicates an expected call of SetClusterConnectConsistencyLevel. 1953 func (mr *MockOptionsMockRecorder) SetClusterConnectConsistencyLevel(value interface{}) *gomock.Call { 1954 mr.mock.ctrl.T.Helper() 1955 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).SetClusterConnectConsistencyLevel), value) 1956 } 1957 1958 // SetClusterConnectTimeout mocks base method. 1959 func (m *MockOptions) SetClusterConnectTimeout(value time.Duration) Options { 1960 m.ctrl.T.Helper() 1961 ret := m.ctrl.Call(m, "SetClusterConnectTimeout", value) 1962 ret0, _ := ret[0].(Options) 1963 return ret0 1964 } 1965 1966 // SetClusterConnectTimeout indicates an expected call of SetClusterConnectTimeout. 1967 func (mr *MockOptionsMockRecorder) SetClusterConnectTimeout(value interface{}) *gomock.Call { 1968 mr.mock.ctrl.T.Helper() 1969 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectTimeout", reflect.TypeOf((*MockOptions)(nil).SetClusterConnectTimeout), value) 1970 } 1971 1972 // SetContextPool mocks base method. 1973 func (m *MockOptions) SetContextPool(value context0.Pool) Options { 1974 m.ctrl.T.Helper() 1975 ret := m.ctrl.Call(m, "SetContextPool", value) 1976 ret0, _ := ret[0].(Options) 1977 return ret0 1978 } 1979 1980 // SetContextPool indicates an expected call of SetContextPool. 1981 func (mr *MockOptionsMockRecorder) SetContextPool(value interface{}) *gomock.Call { 1982 mr.mock.ctrl.T.Helper() 1983 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetContextPool", reflect.TypeOf((*MockOptions)(nil).SetContextPool), value) 1984 } 1985 1986 // SetEncodingM3TSZ mocks base method. 1987 func (m *MockOptions) SetEncodingM3TSZ() Options { 1988 m.ctrl.T.Helper() 1989 ret := m.ctrl.Call(m, "SetEncodingM3TSZ") 1990 ret0, _ := ret[0].(Options) 1991 return ret0 1992 } 1993 1994 // SetEncodingM3TSZ indicates an expected call of SetEncodingM3TSZ. 1995 func (mr *MockOptionsMockRecorder) SetEncodingM3TSZ() *gomock.Call { 1996 mr.mock.ctrl.T.Helper() 1997 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingM3TSZ", reflect.TypeOf((*MockOptions)(nil).SetEncodingM3TSZ)) 1998 } 1999 2000 // SetEncodingProto mocks base method. 2001 func (m *MockOptions) SetEncodingProto(encodingOpts encoding.Options) Options { 2002 m.ctrl.T.Helper() 2003 ret := m.ctrl.Call(m, "SetEncodingProto", encodingOpts) 2004 ret0, _ := ret[0].(Options) 2005 return ret0 2006 } 2007 2008 // SetEncodingProto indicates an expected call of SetEncodingProto. 2009 func (mr *MockOptionsMockRecorder) SetEncodingProto(encodingOpts interface{}) *gomock.Call { 2010 mr.mock.ctrl.T.Helper() 2011 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingProto", reflect.TypeOf((*MockOptions)(nil).SetEncodingProto), encodingOpts) 2012 } 2013 2014 // SetFetchBatchOpPoolSize mocks base method. 2015 func (m *MockOptions) SetFetchBatchOpPoolSize(value pool.Size) Options { 2016 m.ctrl.T.Helper() 2017 ret := m.ctrl.Call(m, "SetFetchBatchOpPoolSize", value) 2018 ret0, _ := ret[0].(Options) 2019 return ret0 2020 } 2021 2022 // SetFetchBatchOpPoolSize indicates an expected call of SetFetchBatchOpPoolSize. 2023 func (mr *MockOptionsMockRecorder) SetFetchBatchOpPoolSize(value interface{}) *gomock.Call { 2024 mr.mock.ctrl.T.Helper() 2025 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchOpPoolSize", reflect.TypeOf((*MockOptions)(nil).SetFetchBatchOpPoolSize), value) 2026 } 2027 2028 // SetFetchBatchSize mocks base method. 2029 func (m *MockOptions) SetFetchBatchSize(value int) Options { 2030 m.ctrl.T.Helper() 2031 ret := m.ctrl.Call(m, "SetFetchBatchSize", value) 2032 ret0, _ := ret[0].(Options) 2033 return ret0 2034 } 2035 2036 // SetFetchBatchSize indicates an expected call of SetFetchBatchSize. 2037 func (mr *MockOptionsMockRecorder) SetFetchBatchSize(value interface{}) *gomock.Call { 2038 mr.mock.ctrl.T.Helper() 2039 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchSize", reflect.TypeOf((*MockOptions)(nil).SetFetchBatchSize), value) 2040 } 2041 2042 // SetFetchRequestTimeout mocks base method. 2043 func (m *MockOptions) SetFetchRequestTimeout(value time.Duration) Options { 2044 m.ctrl.T.Helper() 2045 ret := m.ctrl.Call(m, "SetFetchRequestTimeout", value) 2046 ret0, _ := ret[0].(Options) 2047 return ret0 2048 } 2049 2050 // SetFetchRequestTimeout indicates an expected call of SetFetchRequestTimeout. 2051 func (mr *MockOptionsMockRecorder) SetFetchRequestTimeout(value interface{}) *gomock.Call { 2052 mr.mock.ctrl.T.Helper() 2053 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRequestTimeout", reflect.TypeOf((*MockOptions)(nil).SetFetchRequestTimeout), value) 2054 } 2055 2056 // SetFetchRetrier mocks base method. 2057 func (m *MockOptions) SetFetchRetrier(value retry.Retrier) Options { 2058 m.ctrl.T.Helper() 2059 ret := m.ctrl.Call(m, "SetFetchRetrier", value) 2060 ret0, _ := ret[0].(Options) 2061 return ret0 2062 } 2063 2064 // SetFetchRetrier indicates an expected call of SetFetchRetrier. 2065 func (mr *MockOptionsMockRecorder) SetFetchRetrier(value interface{}) *gomock.Call { 2066 mr.mock.ctrl.T.Helper() 2067 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRetrier", reflect.TypeOf((*MockOptions)(nil).SetFetchRetrier), value) 2068 } 2069 2070 // SetHostConnectTimeout mocks base method. 2071 func (m *MockOptions) SetHostConnectTimeout(value time.Duration) Options { 2072 m.ctrl.T.Helper() 2073 ret := m.ctrl.Call(m, "SetHostConnectTimeout", value) 2074 ret0, _ := ret[0].(Options) 2075 return ret0 2076 } 2077 2078 // SetHostConnectTimeout indicates an expected call of SetHostConnectTimeout. 2079 func (mr *MockOptionsMockRecorder) SetHostConnectTimeout(value interface{}) *gomock.Call { 2080 mr.mock.ctrl.T.Helper() 2081 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostConnectTimeout", reflect.TypeOf((*MockOptions)(nil).SetHostConnectTimeout), value) 2082 } 2083 2084 // SetHostQueueEmitsHealthStatus mocks base method. 2085 func (m *MockOptions) SetHostQueueEmitsHealthStatus(value bool) Options { 2086 m.ctrl.T.Helper() 2087 ret := m.ctrl.Call(m, "SetHostQueueEmitsHealthStatus", value) 2088 ret0, _ := ret[0].(Options) 2089 return ret0 2090 } 2091 2092 // SetHostQueueEmitsHealthStatus indicates an expected call of SetHostQueueEmitsHealthStatus. 2093 func (mr *MockOptionsMockRecorder) SetHostQueueEmitsHealthStatus(value interface{}) *gomock.Call { 2094 mr.mock.ctrl.T.Helper() 2095 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueEmitsHealthStatus", reflect.TypeOf((*MockOptions)(nil).SetHostQueueEmitsHealthStatus), value) 2096 } 2097 2098 // SetHostQueueNewPooledWorkerFn mocks base method. 2099 func (m *MockOptions) SetHostQueueNewPooledWorkerFn(value sync.NewPooledWorkerFn) Options { 2100 m.ctrl.T.Helper() 2101 ret := m.ctrl.Call(m, "SetHostQueueNewPooledWorkerFn", value) 2102 ret0, _ := ret[0].(Options) 2103 return ret0 2104 } 2105 2106 // SetHostQueueNewPooledWorkerFn indicates an expected call of SetHostQueueNewPooledWorkerFn. 2107 func (mr *MockOptionsMockRecorder) SetHostQueueNewPooledWorkerFn(value interface{}) *gomock.Call { 2108 mr.mock.ctrl.T.Helper() 2109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueNewPooledWorkerFn", reflect.TypeOf((*MockOptions)(nil).SetHostQueueNewPooledWorkerFn), value) 2110 } 2111 2112 // SetHostQueueOpsArrayPoolSize mocks base method. 2113 func (m *MockOptions) SetHostQueueOpsArrayPoolSize(value pool.Size) Options { 2114 m.ctrl.T.Helper() 2115 ret := m.ctrl.Call(m, "SetHostQueueOpsArrayPoolSize", value) 2116 ret0, _ := ret[0].(Options) 2117 return ret0 2118 } 2119 2120 // SetHostQueueOpsArrayPoolSize indicates an expected call of SetHostQueueOpsArrayPoolSize. 2121 func (mr *MockOptionsMockRecorder) SetHostQueueOpsArrayPoolSize(value interface{}) *gomock.Call { 2122 mr.mock.ctrl.T.Helper() 2123 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsArrayPoolSize", reflect.TypeOf((*MockOptions)(nil).SetHostQueueOpsArrayPoolSize), value) 2124 } 2125 2126 // SetHostQueueOpsFlushInterval mocks base method. 2127 func (m *MockOptions) SetHostQueueOpsFlushInterval(value time.Duration) Options { 2128 m.ctrl.T.Helper() 2129 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushInterval", value) 2130 ret0, _ := ret[0].(Options) 2131 return ret0 2132 } 2133 2134 // SetHostQueueOpsFlushInterval indicates an expected call of SetHostQueueOpsFlushInterval. 2135 func (mr *MockOptionsMockRecorder) SetHostQueueOpsFlushInterval(value interface{}) *gomock.Call { 2136 mr.mock.ctrl.T.Helper() 2137 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushInterval", reflect.TypeOf((*MockOptions)(nil).SetHostQueueOpsFlushInterval), value) 2138 } 2139 2140 // SetHostQueueOpsFlushSize mocks base method. 2141 func (m *MockOptions) SetHostQueueOpsFlushSize(value int) Options { 2142 m.ctrl.T.Helper() 2143 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushSize", value) 2144 ret0, _ := ret[0].(Options) 2145 return ret0 2146 } 2147 2148 // SetHostQueueOpsFlushSize indicates an expected call of SetHostQueueOpsFlushSize. 2149 func (mr *MockOptionsMockRecorder) SetHostQueueOpsFlushSize(value interface{}) *gomock.Call { 2150 mr.mock.ctrl.T.Helper() 2151 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushSize", reflect.TypeOf((*MockOptions)(nil).SetHostQueueOpsFlushSize), value) 2152 } 2153 2154 // SetIdentifierPool mocks base method. 2155 func (m *MockOptions) SetIdentifierPool(value ident.Pool) Options { 2156 m.ctrl.T.Helper() 2157 ret := m.ctrl.Call(m, "SetIdentifierPool", value) 2158 ret0, _ := ret[0].(Options) 2159 return ret0 2160 } 2161 2162 // SetIdentifierPool indicates an expected call of SetIdentifierPool. 2163 func (mr *MockOptionsMockRecorder) SetIdentifierPool(value interface{}) *gomock.Call { 2164 mr.mock.ctrl.T.Helper() 2165 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIdentifierPool", reflect.TypeOf((*MockOptions)(nil).SetIdentifierPool), value) 2166 } 2167 2168 // SetInstrumentOptions mocks base method. 2169 func (m *MockOptions) SetInstrumentOptions(value instrument.Options) Options { 2170 m.ctrl.T.Helper() 2171 ret := m.ctrl.Call(m, "SetInstrumentOptions", value) 2172 ret0, _ := ret[0].(Options) 2173 return ret0 2174 } 2175 2176 // SetInstrumentOptions indicates an expected call of SetInstrumentOptions. 2177 func (mr *MockOptionsMockRecorder) SetInstrumentOptions(value interface{}) *gomock.Call { 2178 mr.mock.ctrl.T.Helper() 2179 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetInstrumentOptions", reflect.TypeOf((*MockOptions)(nil).SetInstrumentOptions), value) 2180 } 2181 2182 // SetIterationOptions mocks base method. 2183 func (m *MockOptions) SetIterationOptions(arg0 index.IterationOptions) Options { 2184 m.ctrl.T.Helper() 2185 ret := m.ctrl.Call(m, "SetIterationOptions", arg0) 2186 ret0, _ := ret[0].(Options) 2187 return ret0 2188 } 2189 2190 // SetIterationOptions indicates an expected call of SetIterationOptions. 2191 func (mr *MockOptionsMockRecorder) SetIterationOptions(arg0 interface{}) *gomock.Call { 2192 mr.mock.ctrl.T.Helper() 2193 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIterationOptions", reflect.TypeOf((*MockOptions)(nil).SetIterationOptions), arg0) 2194 } 2195 2196 // SetLogErrorSampleRate mocks base method. 2197 func (m *MockOptions) SetLogErrorSampleRate(value sampler.Rate) Options { 2198 m.ctrl.T.Helper() 2199 ret := m.ctrl.Call(m, "SetLogErrorSampleRate", value) 2200 ret0, _ := ret[0].(Options) 2201 return ret0 2202 } 2203 2204 // SetLogErrorSampleRate indicates an expected call of SetLogErrorSampleRate. 2205 func (mr *MockOptionsMockRecorder) SetLogErrorSampleRate(value interface{}) *gomock.Call { 2206 mr.mock.ctrl.T.Helper() 2207 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).SetLogErrorSampleRate), value) 2208 } 2209 2210 // SetLogHostFetchErrorSampleRate mocks base method. 2211 func (m *MockOptions) SetLogHostFetchErrorSampleRate(value sampler.Rate) Options { 2212 m.ctrl.T.Helper() 2213 ret := m.ctrl.Call(m, "SetLogHostFetchErrorSampleRate", value) 2214 ret0, _ := ret[0].(Options) 2215 return ret0 2216 } 2217 2218 // SetLogHostFetchErrorSampleRate indicates an expected call of SetLogHostFetchErrorSampleRate. 2219 func (mr *MockOptionsMockRecorder) SetLogHostFetchErrorSampleRate(value interface{}) *gomock.Call { 2220 mr.mock.ctrl.T.Helper() 2221 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogHostFetchErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).SetLogHostFetchErrorSampleRate), value) 2222 } 2223 2224 // SetLogHostWriteErrorSampleRate mocks base method. 2225 func (m *MockOptions) SetLogHostWriteErrorSampleRate(value sampler.Rate) Options { 2226 m.ctrl.T.Helper() 2227 ret := m.ctrl.Call(m, "SetLogHostWriteErrorSampleRate", value) 2228 ret0, _ := ret[0].(Options) 2229 return ret0 2230 } 2231 2232 // SetLogHostWriteErrorSampleRate indicates an expected call of SetLogHostWriteErrorSampleRate. 2233 func (mr *MockOptionsMockRecorder) SetLogHostWriteErrorSampleRate(value interface{}) *gomock.Call { 2234 mr.mock.ctrl.T.Helper() 2235 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogHostWriteErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).SetLogHostWriteErrorSampleRate), value) 2236 } 2237 2238 // SetMaxConnectionCount mocks base method. 2239 func (m *MockOptions) SetMaxConnectionCount(value int) Options { 2240 m.ctrl.T.Helper() 2241 ret := m.ctrl.Call(m, "SetMaxConnectionCount", value) 2242 ret0, _ := ret[0].(Options) 2243 return ret0 2244 } 2245 2246 // SetMaxConnectionCount indicates an expected call of SetMaxConnectionCount. 2247 func (mr *MockOptionsMockRecorder) SetMaxConnectionCount(value interface{}) *gomock.Call { 2248 mr.mock.ctrl.T.Helper() 2249 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMaxConnectionCount", reflect.TypeOf((*MockOptions)(nil).SetMaxConnectionCount), value) 2250 } 2251 2252 // SetMinConnectionCount mocks base method. 2253 func (m *MockOptions) SetMinConnectionCount(value int) Options { 2254 m.ctrl.T.Helper() 2255 ret := m.ctrl.Call(m, "SetMinConnectionCount", value) 2256 ret0, _ := ret[0].(Options) 2257 return ret0 2258 } 2259 2260 // SetMinConnectionCount indicates an expected call of SetMinConnectionCount. 2261 func (mr *MockOptionsMockRecorder) SetMinConnectionCount(value interface{}) *gomock.Call { 2262 mr.mock.ctrl.T.Helper() 2263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMinConnectionCount", reflect.TypeOf((*MockOptions)(nil).SetMinConnectionCount), value) 2264 } 2265 2266 // SetNamespaceInitializer mocks base method. 2267 func (m *MockOptions) SetNamespaceInitializer(value namespace.Initializer) Options { 2268 m.ctrl.T.Helper() 2269 ret := m.ctrl.Call(m, "SetNamespaceInitializer", value) 2270 ret0, _ := ret[0].(Options) 2271 return ret0 2272 } 2273 2274 // SetNamespaceInitializer indicates an expected call of SetNamespaceInitializer. 2275 func (mr *MockOptionsMockRecorder) SetNamespaceInitializer(value interface{}) *gomock.Call { 2276 mr.mock.ctrl.T.Helper() 2277 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespaceInitializer", reflect.TypeOf((*MockOptions)(nil).SetNamespaceInitializer), value) 2278 } 2279 2280 // SetNewConnectionFn mocks base method. 2281 func (m *MockOptions) SetNewConnectionFn(value NewConnectionFn) AdminOptions { 2282 m.ctrl.T.Helper() 2283 ret := m.ctrl.Call(m, "SetNewConnectionFn", value) 2284 ret0, _ := ret[0].(AdminOptions) 2285 return ret0 2286 } 2287 2288 // SetNewConnectionFn indicates an expected call of SetNewConnectionFn. 2289 func (mr *MockOptionsMockRecorder) SetNewConnectionFn(value interface{}) *gomock.Call { 2290 mr.mock.ctrl.T.Helper() 2291 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNewConnectionFn", reflect.TypeOf((*MockOptions)(nil).SetNewConnectionFn), value) 2292 } 2293 2294 // SetReadConsistencyLevel mocks base method. 2295 func (m *MockOptions) SetReadConsistencyLevel(value topology.ReadConsistencyLevel) Options { 2296 m.ctrl.T.Helper() 2297 ret := m.ctrl.Call(m, "SetReadConsistencyLevel", value) 2298 ret0, _ := ret[0].(Options) 2299 return ret0 2300 } 2301 2302 // SetReadConsistencyLevel indicates an expected call of SetReadConsistencyLevel. 2303 func (mr *MockOptionsMockRecorder) SetReadConsistencyLevel(value interface{}) *gomock.Call { 2304 mr.mock.ctrl.T.Helper() 2305 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReadConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).SetReadConsistencyLevel), value) 2306 } 2307 2308 // SetReaderIteratorAllocate mocks base method. 2309 func (m *MockOptions) SetReaderIteratorAllocate(value encoding.ReaderIteratorAllocate) Options { 2310 m.ctrl.T.Helper() 2311 ret := m.ctrl.Call(m, "SetReaderIteratorAllocate", value) 2312 ret0, _ := ret[0].(Options) 2313 return ret0 2314 } 2315 2316 // SetReaderIteratorAllocate indicates an expected call of SetReaderIteratorAllocate. 2317 func (mr *MockOptionsMockRecorder) SetReaderIteratorAllocate(value interface{}) *gomock.Call { 2318 mr.mock.ctrl.T.Helper() 2319 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReaderIteratorAllocate", reflect.TypeOf((*MockOptions)(nil).SetReaderIteratorAllocate), value) 2320 } 2321 2322 // SetRuntimeOptionsManager mocks base method. 2323 func (m *MockOptions) SetRuntimeOptionsManager(value runtime.OptionsManager) Options { 2324 m.ctrl.T.Helper() 2325 ret := m.ctrl.Call(m, "SetRuntimeOptionsManager", value) 2326 ret0, _ := ret[0].(Options) 2327 return ret0 2328 } 2329 2330 // SetRuntimeOptionsManager indicates an expected call of SetRuntimeOptionsManager. 2331 func (mr *MockOptionsMockRecorder) SetRuntimeOptionsManager(value interface{}) *gomock.Call { 2332 mr.mock.ctrl.T.Helper() 2333 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRuntimeOptionsManager", reflect.TypeOf((*MockOptions)(nil).SetRuntimeOptionsManager), value) 2334 } 2335 2336 // SetSchemaRegistry mocks base method. 2337 func (m *MockOptions) SetSchemaRegistry(registry namespace.SchemaRegistry) AdminOptions { 2338 m.ctrl.T.Helper() 2339 ret := m.ctrl.Call(m, "SetSchemaRegistry", registry) 2340 ret0, _ := ret[0].(AdminOptions) 2341 return ret0 2342 } 2343 2344 // SetSchemaRegistry indicates an expected call of SetSchemaRegistry. 2345 func (mr *MockOptionsMockRecorder) SetSchemaRegistry(registry interface{}) *gomock.Call { 2346 mr.mock.ctrl.T.Helper() 2347 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaRegistry", reflect.TypeOf((*MockOptions)(nil).SetSchemaRegistry), registry) 2348 } 2349 2350 // SetSeriesIteratorPoolSize mocks base method. 2351 func (m *MockOptions) SetSeriesIteratorPoolSize(value pool.Size) Options { 2352 m.ctrl.T.Helper() 2353 ret := m.ctrl.Call(m, "SetSeriesIteratorPoolSize", value) 2354 ret0, _ := ret[0].(Options) 2355 return ret0 2356 } 2357 2358 // SetSeriesIteratorPoolSize indicates an expected call of SetSeriesIteratorPoolSize. 2359 func (mr *MockOptionsMockRecorder) SetSeriesIteratorPoolSize(value interface{}) *gomock.Call { 2360 mr.mock.ctrl.T.Helper() 2361 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSeriesIteratorPoolSize", reflect.TypeOf((*MockOptions)(nil).SetSeriesIteratorPoolSize), value) 2362 } 2363 2364 // SetShardsLeavingAndInitializingCountTowardsConsistency mocks base method. 2365 func (m *MockOptions) SetShardsLeavingAndInitializingCountTowardsConsistency(value bool) Options { 2366 m.ctrl.T.Helper() 2367 ret := m.ctrl.Call(m, "SetShardsLeavingAndInitializingCountTowardsConsistency", value) 2368 ret0, _ := ret[0].(Options) 2369 return ret0 2370 } 2371 2372 // SetShardsLeavingAndInitializingCountTowardsConsistency indicates an expected call of SetShardsLeavingAndInitializingCountTowardsConsistency. 2373 func (mr *MockOptionsMockRecorder) SetShardsLeavingAndInitializingCountTowardsConsistency(value interface{}) *gomock.Call { 2374 mr.mock.ctrl.T.Helper() 2375 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetShardsLeavingAndInitializingCountTowardsConsistency", reflect.TypeOf((*MockOptions)(nil).SetShardsLeavingAndInitializingCountTowardsConsistency), value) 2376 } 2377 2378 // SetShardsLeavingCountTowardsConsistency mocks base method. 2379 func (m *MockOptions) SetShardsLeavingCountTowardsConsistency(value bool) Options { 2380 m.ctrl.T.Helper() 2381 ret := m.ctrl.Call(m, "SetShardsLeavingCountTowardsConsistency", value) 2382 ret0, _ := ret[0].(Options) 2383 return ret0 2384 } 2385 2386 // SetShardsLeavingCountTowardsConsistency indicates an expected call of SetShardsLeavingCountTowardsConsistency. 2387 func (mr *MockOptionsMockRecorder) SetShardsLeavingCountTowardsConsistency(value interface{}) *gomock.Call { 2388 mr.mock.ctrl.T.Helper() 2389 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockOptions)(nil).SetShardsLeavingCountTowardsConsistency), value) 2390 } 2391 2392 // SetTagDecoderOptions mocks base method. 2393 func (m *MockOptions) SetTagDecoderOptions(value serialize.TagDecoderOptions) Options { 2394 m.ctrl.T.Helper() 2395 ret := m.ctrl.Call(m, "SetTagDecoderOptions", value) 2396 ret0, _ := ret[0].(Options) 2397 return ret0 2398 } 2399 2400 // SetTagDecoderOptions indicates an expected call of SetTagDecoderOptions. 2401 func (mr *MockOptionsMockRecorder) SetTagDecoderOptions(value interface{}) *gomock.Call { 2402 mr.mock.ctrl.T.Helper() 2403 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderOptions", reflect.TypeOf((*MockOptions)(nil).SetTagDecoderOptions), value) 2404 } 2405 2406 // SetTagDecoderPoolSize mocks base method. 2407 func (m *MockOptions) SetTagDecoderPoolSize(value pool.Size) Options { 2408 m.ctrl.T.Helper() 2409 ret := m.ctrl.Call(m, "SetTagDecoderPoolSize", value) 2410 ret0, _ := ret[0].(Options) 2411 return ret0 2412 } 2413 2414 // SetTagDecoderPoolSize indicates an expected call of SetTagDecoderPoolSize. 2415 func (mr *MockOptionsMockRecorder) SetTagDecoderPoolSize(value interface{}) *gomock.Call { 2416 mr.mock.ctrl.T.Helper() 2417 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderPoolSize", reflect.TypeOf((*MockOptions)(nil).SetTagDecoderPoolSize), value) 2418 } 2419 2420 // SetTagEncoderOptions mocks base method. 2421 func (m *MockOptions) SetTagEncoderOptions(value serialize.TagEncoderOptions) Options { 2422 m.ctrl.T.Helper() 2423 ret := m.ctrl.Call(m, "SetTagEncoderOptions", value) 2424 ret0, _ := ret[0].(Options) 2425 return ret0 2426 } 2427 2428 // SetTagEncoderOptions indicates an expected call of SetTagEncoderOptions. 2429 func (mr *MockOptionsMockRecorder) SetTagEncoderOptions(value interface{}) *gomock.Call { 2430 mr.mock.ctrl.T.Helper() 2431 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderOptions", reflect.TypeOf((*MockOptions)(nil).SetTagEncoderOptions), value) 2432 } 2433 2434 // SetTagEncoderPoolSize mocks base method. 2435 func (m *MockOptions) SetTagEncoderPoolSize(value pool.Size) Options { 2436 m.ctrl.T.Helper() 2437 ret := m.ctrl.Call(m, "SetTagEncoderPoolSize", value) 2438 ret0, _ := ret[0].(Options) 2439 return ret0 2440 } 2441 2442 // SetTagEncoderPoolSize indicates an expected call of SetTagEncoderPoolSize. 2443 func (mr *MockOptionsMockRecorder) SetTagEncoderPoolSize(value interface{}) *gomock.Call { 2444 mr.mock.ctrl.T.Helper() 2445 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderPoolSize", reflect.TypeOf((*MockOptions)(nil).SetTagEncoderPoolSize), value) 2446 } 2447 2448 // SetThriftContextFn mocks base method. 2449 func (m *MockOptions) SetThriftContextFn(value ThriftContextFn) Options { 2450 m.ctrl.T.Helper() 2451 ret := m.ctrl.Call(m, "SetThriftContextFn", value) 2452 ret0, _ := ret[0].(Options) 2453 return ret0 2454 } 2455 2456 // SetThriftContextFn indicates an expected call of SetThriftContextFn. 2457 func (mr *MockOptionsMockRecorder) SetThriftContextFn(value interface{}) *gomock.Call { 2458 mr.mock.ctrl.T.Helper() 2459 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetThriftContextFn", reflect.TypeOf((*MockOptions)(nil).SetThriftContextFn), value) 2460 } 2461 2462 // SetTopologyInitializer mocks base method. 2463 func (m *MockOptions) SetTopologyInitializer(value topology.Initializer) Options { 2464 m.ctrl.T.Helper() 2465 ret := m.ctrl.Call(m, "SetTopologyInitializer", value) 2466 ret0, _ := ret[0].(Options) 2467 return ret0 2468 } 2469 2470 // SetTopologyInitializer indicates an expected call of SetTopologyInitializer. 2471 func (mr *MockOptionsMockRecorder) SetTopologyInitializer(value interface{}) *gomock.Call { 2472 mr.mock.ctrl.T.Helper() 2473 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopologyInitializer", reflect.TypeOf((*MockOptions)(nil).SetTopologyInitializer), value) 2474 } 2475 2476 // SetTruncateRequestTimeout mocks base method. 2477 func (m *MockOptions) SetTruncateRequestTimeout(value time.Duration) Options { 2478 m.ctrl.T.Helper() 2479 ret := m.ctrl.Call(m, "SetTruncateRequestTimeout", value) 2480 ret0, _ := ret[0].(Options) 2481 return ret0 2482 } 2483 2484 // SetTruncateRequestTimeout indicates an expected call of SetTruncateRequestTimeout. 2485 func (mr *MockOptionsMockRecorder) SetTruncateRequestTimeout(value interface{}) *gomock.Call { 2486 mr.mock.ctrl.T.Helper() 2487 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTruncateRequestTimeout", reflect.TypeOf((*MockOptions)(nil).SetTruncateRequestTimeout), value) 2488 } 2489 2490 // SetUseV2BatchAPIs mocks base method. 2491 func (m *MockOptions) SetUseV2BatchAPIs(value bool) Options { 2492 m.ctrl.T.Helper() 2493 ret := m.ctrl.Call(m, "SetUseV2BatchAPIs", value) 2494 ret0, _ := ret[0].(Options) 2495 return ret0 2496 } 2497 2498 // SetUseV2BatchAPIs indicates an expected call of SetUseV2BatchAPIs. 2499 func (mr *MockOptionsMockRecorder) SetUseV2BatchAPIs(value interface{}) *gomock.Call { 2500 mr.mock.ctrl.T.Helper() 2501 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUseV2BatchAPIs", reflect.TypeOf((*MockOptions)(nil).SetUseV2BatchAPIs), value) 2502 } 2503 2504 // SetWriteBatchSize mocks base method. 2505 func (m *MockOptions) SetWriteBatchSize(value int) Options { 2506 m.ctrl.T.Helper() 2507 ret := m.ctrl.Call(m, "SetWriteBatchSize", value) 2508 ret0, _ := ret[0].(Options) 2509 return ret0 2510 } 2511 2512 // SetWriteBatchSize indicates an expected call of SetWriteBatchSize. 2513 func (mr *MockOptionsMockRecorder) SetWriteBatchSize(value interface{}) *gomock.Call { 2514 mr.mock.ctrl.T.Helper() 2515 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteBatchSize", reflect.TypeOf((*MockOptions)(nil).SetWriteBatchSize), value) 2516 } 2517 2518 // SetWriteConsistencyLevel mocks base method. 2519 func (m *MockOptions) SetWriteConsistencyLevel(value topology.ConsistencyLevel) Options { 2520 m.ctrl.T.Helper() 2521 ret := m.ctrl.Call(m, "SetWriteConsistencyLevel", value) 2522 ret0, _ := ret[0].(Options) 2523 return ret0 2524 } 2525 2526 // SetWriteConsistencyLevel indicates an expected call of SetWriteConsistencyLevel. 2527 func (mr *MockOptionsMockRecorder) SetWriteConsistencyLevel(value interface{}) *gomock.Call { 2528 mr.mock.ctrl.T.Helper() 2529 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).SetWriteConsistencyLevel), value) 2530 } 2531 2532 // SetWriteOpPoolSize mocks base method. 2533 func (m *MockOptions) SetWriteOpPoolSize(value pool.Size) Options { 2534 m.ctrl.T.Helper() 2535 ret := m.ctrl.Call(m, "SetWriteOpPoolSize", value) 2536 ret0, _ := ret[0].(Options) 2537 return ret0 2538 } 2539 2540 // SetWriteOpPoolSize indicates an expected call of SetWriteOpPoolSize. 2541 func (mr *MockOptionsMockRecorder) SetWriteOpPoolSize(value interface{}) *gomock.Call { 2542 mr.mock.ctrl.T.Helper() 2543 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteOpPoolSize", reflect.TypeOf((*MockOptions)(nil).SetWriteOpPoolSize), value) 2544 } 2545 2546 // SetWriteRequestTimeout mocks base method. 2547 func (m *MockOptions) SetWriteRequestTimeout(value time.Duration) Options { 2548 m.ctrl.T.Helper() 2549 ret := m.ctrl.Call(m, "SetWriteRequestTimeout", value) 2550 ret0, _ := ret[0].(Options) 2551 return ret0 2552 } 2553 2554 // SetWriteRequestTimeout indicates an expected call of SetWriteRequestTimeout. 2555 func (mr *MockOptionsMockRecorder) SetWriteRequestTimeout(value interface{}) *gomock.Call { 2556 mr.mock.ctrl.T.Helper() 2557 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRequestTimeout", reflect.TypeOf((*MockOptions)(nil).SetWriteRequestTimeout), value) 2558 } 2559 2560 // SetWriteRetrier mocks base method. 2561 func (m *MockOptions) SetWriteRetrier(value retry.Retrier) Options { 2562 m.ctrl.T.Helper() 2563 ret := m.ctrl.Call(m, "SetWriteRetrier", value) 2564 ret0, _ := ret[0].(Options) 2565 return ret0 2566 } 2567 2568 // SetWriteRetrier indicates an expected call of SetWriteRetrier. 2569 func (mr *MockOptionsMockRecorder) SetWriteRetrier(value interface{}) *gomock.Call { 2570 mr.mock.ctrl.T.Helper() 2571 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRetrier", reflect.TypeOf((*MockOptions)(nil).SetWriteRetrier), value) 2572 } 2573 2574 // SetWriteShardsInitializing mocks base method. 2575 func (m *MockOptions) SetWriteShardsInitializing(value bool) Options { 2576 m.ctrl.T.Helper() 2577 ret := m.ctrl.Call(m, "SetWriteShardsInitializing", value) 2578 ret0, _ := ret[0].(Options) 2579 return ret0 2580 } 2581 2582 // SetWriteShardsInitializing indicates an expected call of SetWriteShardsInitializing. 2583 func (mr *MockOptionsMockRecorder) SetWriteShardsInitializing(value interface{}) *gomock.Call { 2584 mr.mock.ctrl.T.Helper() 2585 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteShardsInitializing", reflect.TypeOf((*MockOptions)(nil).SetWriteShardsInitializing), value) 2586 } 2587 2588 // SetWriteTaggedOpPoolSize mocks base method. 2589 func (m *MockOptions) SetWriteTaggedOpPoolSize(value pool.Size) Options { 2590 m.ctrl.T.Helper() 2591 ret := m.ctrl.Call(m, "SetWriteTaggedOpPoolSize", value) 2592 ret0, _ := ret[0].(Options) 2593 return ret0 2594 } 2595 2596 // SetWriteTaggedOpPoolSize indicates an expected call of SetWriteTaggedOpPoolSize. 2597 func (mr *MockOptionsMockRecorder) SetWriteTaggedOpPoolSize(value interface{}) *gomock.Call { 2598 mr.mock.ctrl.T.Helper() 2599 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTaggedOpPoolSize", reflect.TypeOf((*MockOptions)(nil).SetWriteTaggedOpPoolSize), value) 2600 } 2601 2602 // SetWriteTimestampOffset mocks base method. 2603 func (m *MockOptions) SetWriteTimestampOffset(value time.Duration) AdminOptions { 2604 m.ctrl.T.Helper() 2605 ret := m.ctrl.Call(m, "SetWriteTimestampOffset", value) 2606 ret0, _ := ret[0].(AdminOptions) 2607 return ret0 2608 } 2609 2610 // SetWriteTimestampOffset indicates an expected call of SetWriteTimestampOffset. 2611 func (mr *MockOptionsMockRecorder) SetWriteTimestampOffset(value interface{}) *gomock.Call { 2612 mr.mock.ctrl.T.Helper() 2613 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTimestampOffset", reflect.TypeOf((*MockOptions)(nil).SetWriteTimestampOffset), value) 2614 } 2615 2616 // ShardsLeavingAndInitializingCountTowardsConsistency mocks base method. 2617 func (m *MockOptions) ShardsLeavingAndInitializingCountTowardsConsistency() bool { 2618 m.ctrl.T.Helper() 2619 ret := m.ctrl.Call(m, "ShardsLeavingAndInitializingCountTowardsConsistency") 2620 ret0, _ := ret[0].(bool) 2621 return ret0 2622 } 2623 2624 // ShardsLeavingAndInitializingCountTowardsConsistency indicates an expected call of ShardsLeavingAndInitializingCountTowardsConsistency. 2625 func (mr *MockOptionsMockRecorder) ShardsLeavingAndInitializingCountTowardsConsistency() *gomock.Call { 2626 mr.mock.ctrl.T.Helper() 2627 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardsLeavingAndInitializingCountTowardsConsistency", reflect.TypeOf((*MockOptions)(nil).ShardsLeavingAndInitializingCountTowardsConsistency)) 2628 } 2629 2630 // ShardsLeavingCountTowardsConsistency mocks base method. 2631 func (m *MockOptions) ShardsLeavingCountTowardsConsistency() bool { 2632 m.ctrl.T.Helper() 2633 ret := m.ctrl.Call(m, "ShardsLeavingCountTowardsConsistency") 2634 ret0, _ := ret[0].(bool) 2635 return ret0 2636 } 2637 2638 // ShardsLeavingCountTowardsConsistency indicates an expected call of ShardsLeavingCountTowardsConsistency. 2639 func (mr *MockOptionsMockRecorder) ShardsLeavingCountTowardsConsistency() *gomock.Call { 2640 mr.mock.ctrl.T.Helper() 2641 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockOptions)(nil).ShardsLeavingCountTowardsConsistency)) 2642 } 2643 2644 // TagDecoderOptions mocks base method. 2645 func (m *MockOptions) TagDecoderOptions() serialize.TagDecoderOptions { 2646 m.ctrl.T.Helper() 2647 ret := m.ctrl.Call(m, "TagDecoderOptions") 2648 ret0, _ := ret[0].(serialize.TagDecoderOptions) 2649 return ret0 2650 } 2651 2652 // TagDecoderOptions indicates an expected call of TagDecoderOptions. 2653 func (mr *MockOptionsMockRecorder) TagDecoderOptions() *gomock.Call { 2654 mr.mock.ctrl.T.Helper() 2655 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderOptions", reflect.TypeOf((*MockOptions)(nil).TagDecoderOptions)) 2656 } 2657 2658 // TagDecoderPoolSize mocks base method. 2659 func (m *MockOptions) TagDecoderPoolSize() pool.Size { 2660 m.ctrl.T.Helper() 2661 ret := m.ctrl.Call(m, "TagDecoderPoolSize") 2662 ret0, _ := ret[0].(pool.Size) 2663 return ret0 2664 } 2665 2666 // TagDecoderPoolSize indicates an expected call of TagDecoderPoolSize. 2667 func (mr *MockOptionsMockRecorder) TagDecoderPoolSize() *gomock.Call { 2668 mr.mock.ctrl.T.Helper() 2669 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderPoolSize", reflect.TypeOf((*MockOptions)(nil).TagDecoderPoolSize)) 2670 } 2671 2672 // TagEncoderOptions mocks base method. 2673 func (m *MockOptions) TagEncoderOptions() serialize.TagEncoderOptions { 2674 m.ctrl.T.Helper() 2675 ret := m.ctrl.Call(m, "TagEncoderOptions") 2676 ret0, _ := ret[0].(serialize.TagEncoderOptions) 2677 return ret0 2678 } 2679 2680 // TagEncoderOptions indicates an expected call of TagEncoderOptions. 2681 func (mr *MockOptionsMockRecorder) TagEncoderOptions() *gomock.Call { 2682 mr.mock.ctrl.T.Helper() 2683 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderOptions", reflect.TypeOf((*MockOptions)(nil).TagEncoderOptions)) 2684 } 2685 2686 // TagEncoderPoolSize mocks base method. 2687 func (m *MockOptions) TagEncoderPoolSize() pool.Size { 2688 m.ctrl.T.Helper() 2689 ret := m.ctrl.Call(m, "TagEncoderPoolSize") 2690 ret0, _ := ret[0].(pool.Size) 2691 return ret0 2692 } 2693 2694 // TagEncoderPoolSize indicates an expected call of TagEncoderPoolSize. 2695 func (mr *MockOptionsMockRecorder) TagEncoderPoolSize() *gomock.Call { 2696 mr.mock.ctrl.T.Helper() 2697 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderPoolSize", reflect.TypeOf((*MockOptions)(nil).TagEncoderPoolSize)) 2698 } 2699 2700 // ThriftContextFn mocks base method. 2701 func (m *MockOptions) ThriftContextFn() ThriftContextFn { 2702 m.ctrl.T.Helper() 2703 ret := m.ctrl.Call(m, "ThriftContextFn") 2704 ret0, _ := ret[0].(ThriftContextFn) 2705 return ret0 2706 } 2707 2708 // ThriftContextFn indicates an expected call of ThriftContextFn. 2709 func (mr *MockOptionsMockRecorder) ThriftContextFn() *gomock.Call { 2710 mr.mock.ctrl.T.Helper() 2711 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ThriftContextFn", reflect.TypeOf((*MockOptions)(nil).ThriftContextFn)) 2712 } 2713 2714 // TopologyInitializer mocks base method. 2715 func (m *MockOptions) TopologyInitializer() topology.Initializer { 2716 m.ctrl.T.Helper() 2717 ret := m.ctrl.Call(m, "TopologyInitializer") 2718 ret0, _ := ret[0].(topology.Initializer) 2719 return ret0 2720 } 2721 2722 // TopologyInitializer indicates an expected call of TopologyInitializer. 2723 func (mr *MockOptionsMockRecorder) TopologyInitializer() *gomock.Call { 2724 mr.mock.ctrl.T.Helper() 2725 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyInitializer", reflect.TypeOf((*MockOptions)(nil).TopologyInitializer)) 2726 } 2727 2728 // TruncateRequestTimeout mocks base method. 2729 func (m *MockOptions) TruncateRequestTimeout() time.Duration { 2730 m.ctrl.T.Helper() 2731 ret := m.ctrl.Call(m, "TruncateRequestTimeout") 2732 ret0, _ := ret[0].(time.Duration) 2733 return ret0 2734 } 2735 2736 // TruncateRequestTimeout indicates an expected call of TruncateRequestTimeout. 2737 func (mr *MockOptionsMockRecorder) TruncateRequestTimeout() *gomock.Call { 2738 mr.mock.ctrl.T.Helper() 2739 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TruncateRequestTimeout", reflect.TypeOf((*MockOptions)(nil).TruncateRequestTimeout)) 2740 } 2741 2742 // UseV2BatchAPIs mocks base method. 2743 func (m *MockOptions) UseV2BatchAPIs() bool { 2744 m.ctrl.T.Helper() 2745 ret := m.ctrl.Call(m, "UseV2BatchAPIs") 2746 ret0, _ := ret[0].(bool) 2747 return ret0 2748 } 2749 2750 // UseV2BatchAPIs indicates an expected call of UseV2BatchAPIs. 2751 func (mr *MockOptionsMockRecorder) UseV2BatchAPIs() *gomock.Call { 2752 mr.mock.ctrl.T.Helper() 2753 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseV2BatchAPIs", reflect.TypeOf((*MockOptions)(nil).UseV2BatchAPIs)) 2754 } 2755 2756 // Validate mocks base method. 2757 func (m *MockOptions) Validate() error { 2758 m.ctrl.T.Helper() 2759 ret := m.ctrl.Call(m, "Validate") 2760 ret0, _ := ret[0].(error) 2761 return ret0 2762 } 2763 2764 // Validate indicates an expected call of Validate. 2765 func (mr *MockOptionsMockRecorder) Validate() *gomock.Call { 2766 mr.mock.ctrl.T.Helper() 2767 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockOptions)(nil).Validate)) 2768 } 2769 2770 // WriteBatchSize mocks base method. 2771 func (m *MockOptions) WriteBatchSize() int { 2772 m.ctrl.T.Helper() 2773 ret := m.ctrl.Call(m, "WriteBatchSize") 2774 ret0, _ := ret[0].(int) 2775 return ret0 2776 } 2777 2778 // WriteBatchSize indicates an expected call of WriteBatchSize. 2779 func (mr *MockOptionsMockRecorder) WriteBatchSize() *gomock.Call { 2780 mr.mock.ctrl.T.Helper() 2781 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBatchSize", reflect.TypeOf((*MockOptions)(nil).WriteBatchSize)) 2782 } 2783 2784 // WriteConsistencyLevel mocks base method. 2785 func (m *MockOptions) WriteConsistencyLevel() topology.ConsistencyLevel { 2786 m.ctrl.T.Helper() 2787 ret := m.ctrl.Call(m, "WriteConsistencyLevel") 2788 ret0, _ := ret[0].(topology.ConsistencyLevel) 2789 return ret0 2790 } 2791 2792 // WriteConsistencyLevel indicates an expected call of WriteConsistencyLevel. 2793 func (mr *MockOptionsMockRecorder) WriteConsistencyLevel() *gomock.Call { 2794 mr.mock.ctrl.T.Helper() 2795 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).WriteConsistencyLevel)) 2796 } 2797 2798 // WriteOpPoolSize mocks base method. 2799 func (m *MockOptions) WriteOpPoolSize() pool.Size { 2800 m.ctrl.T.Helper() 2801 ret := m.ctrl.Call(m, "WriteOpPoolSize") 2802 ret0, _ := ret[0].(pool.Size) 2803 return ret0 2804 } 2805 2806 // WriteOpPoolSize indicates an expected call of WriteOpPoolSize. 2807 func (mr *MockOptionsMockRecorder) WriteOpPoolSize() *gomock.Call { 2808 mr.mock.ctrl.T.Helper() 2809 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteOpPoolSize", reflect.TypeOf((*MockOptions)(nil).WriteOpPoolSize)) 2810 } 2811 2812 // WriteRequestTimeout mocks base method. 2813 func (m *MockOptions) WriteRequestTimeout() time.Duration { 2814 m.ctrl.T.Helper() 2815 ret := m.ctrl.Call(m, "WriteRequestTimeout") 2816 ret0, _ := ret[0].(time.Duration) 2817 return ret0 2818 } 2819 2820 // WriteRequestTimeout indicates an expected call of WriteRequestTimeout. 2821 func (mr *MockOptionsMockRecorder) WriteRequestTimeout() *gomock.Call { 2822 mr.mock.ctrl.T.Helper() 2823 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRequestTimeout", reflect.TypeOf((*MockOptions)(nil).WriteRequestTimeout)) 2824 } 2825 2826 // WriteRetrier mocks base method. 2827 func (m *MockOptions) WriteRetrier() retry.Retrier { 2828 m.ctrl.T.Helper() 2829 ret := m.ctrl.Call(m, "WriteRetrier") 2830 ret0, _ := ret[0].(retry.Retrier) 2831 return ret0 2832 } 2833 2834 // WriteRetrier indicates an expected call of WriteRetrier. 2835 func (mr *MockOptionsMockRecorder) WriteRetrier() *gomock.Call { 2836 mr.mock.ctrl.T.Helper() 2837 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRetrier", reflect.TypeOf((*MockOptions)(nil).WriteRetrier)) 2838 } 2839 2840 // WriteShardsInitializing mocks base method. 2841 func (m *MockOptions) WriteShardsInitializing() bool { 2842 m.ctrl.T.Helper() 2843 ret := m.ctrl.Call(m, "WriteShardsInitializing") 2844 ret0, _ := ret[0].(bool) 2845 return ret0 2846 } 2847 2848 // WriteShardsInitializing indicates an expected call of WriteShardsInitializing. 2849 func (mr *MockOptionsMockRecorder) WriteShardsInitializing() *gomock.Call { 2850 mr.mock.ctrl.T.Helper() 2851 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteShardsInitializing", reflect.TypeOf((*MockOptions)(nil).WriteShardsInitializing)) 2852 } 2853 2854 // WriteTaggedOpPoolSize mocks base method. 2855 func (m *MockOptions) WriteTaggedOpPoolSize() pool.Size { 2856 m.ctrl.T.Helper() 2857 ret := m.ctrl.Call(m, "WriteTaggedOpPoolSize") 2858 ret0, _ := ret[0].(pool.Size) 2859 return ret0 2860 } 2861 2862 // WriteTaggedOpPoolSize indicates an expected call of WriteTaggedOpPoolSize. 2863 func (mr *MockOptionsMockRecorder) WriteTaggedOpPoolSize() *gomock.Call { 2864 mr.mock.ctrl.T.Helper() 2865 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTaggedOpPoolSize", reflect.TypeOf((*MockOptions)(nil).WriteTaggedOpPoolSize)) 2866 } 2867 2868 // WriteTimestampOffset mocks base method. 2869 func (m *MockOptions) WriteTimestampOffset() time.Duration { 2870 m.ctrl.T.Helper() 2871 ret := m.ctrl.Call(m, "WriteTimestampOffset") 2872 ret0, _ := ret[0].(time.Duration) 2873 return ret0 2874 } 2875 2876 // WriteTimestampOffset indicates an expected call of WriteTimestampOffset. 2877 func (mr *MockOptionsMockRecorder) WriteTimestampOffset() *gomock.Call { 2878 mr.mock.ctrl.T.Helper() 2879 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTimestampOffset", reflect.TypeOf((*MockOptions)(nil).WriteTimestampOffset)) 2880 } 2881 2882 // MockAdminOptions is a mock of AdminOptions interface. 2883 type MockAdminOptions struct { 2884 ctrl *gomock.Controller 2885 recorder *MockAdminOptionsMockRecorder 2886 } 2887 2888 // MockAdminOptionsMockRecorder is the mock recorder for MockAdminOptions. 2889 type MockAdminOptionsMockRecorder struct { 2890 mock *MockAdminOptions 2891 } 2892 2893 // NewMockAdminOptions creates a new mock instance. 2894 func NewMockAdminOptions(ctrl *gomock.Controller) *MockAdminOptions { 2895 mock := &MockAdminOptions{ctrl: ctrl} 2896 mock.recorder = &MockAdminOptionsMockRecorder{mock} 2897 return mock 2898 } 2899 2900 // EXPECT returns an object that allows the caller to indicate expected use. 2901 func (m *MockAdminOptions) EXPECT() *MockAdminOptionsMockRecorder { 2902 return m.recorder 2903 } 2904 2905 // AsyncTopologyInitializers mocks base method. 2906 func (m *MockAdminOptions) AsyncTopologyInitializers() []topology.Initializer { 2907 m.ctrl.T.Helper() 2908 ret := m.ctrl.Call(m, "AsyncTopologyInitializers") 2909 ret0, _ := ret[0].([]topology.Initializer) 2910 return ret0 2911 } 2912 2913 // AsyncTopologyInitializers indicates an expected call of AsyncTopologyInitializers. 2914 func (mr *MockAdminOptionsMockRecorder) AsyncTopologyInitializers() *gomock.Call { 2915 mr.mock.ctrl.T.Helper() 2916 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncTopologyInitializers", reflect.TypeOf((*MockAdminOptions)(nil).AsyncTopologyInitializers)) 2917 } 2918 2919 // AsyncWriteMaxConcurrency mocks base method. 2920 func (m *MockAdminOptions) AsyncWriteMaxConcurrency() int { 2921 m.ctrl.T.Helper() 2922 ret := m.ctrl.Call(m, "AsyncWriteMaxConcurrency") 2923 ret0, _ := ret[0].(int) 2924 return ret0 2925 } 2926 2927 // AsyncWriteMaxConcurrency indicates an expected call of AsyncWriteMaxConcurrency. 2928 func (mr *MockAdminOptionsMockRecorder) AsyncWriteMaxConcurrency() *gomock.Call { 2929 mr.mock.ctrl.T.Helper() 2930 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteMaxConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).AsyncWriteMaxConcurrency)) 2931 } 2932 2933 // AsyncWriteWorkerPool mocks base method. 2934 func (m *MockAdminOptions) AsyncWriteWorkerPool() sync.PooledWorkerPool { 2935 m.ctrl.T.Helper() 2936 ret := m.ctrl.Call(m, "AsyncWriteWorkerPool") 2937 ret0, _ := ret[0].(sync.PooledWorkerPool) 2938 return ret0 2939 } 2940 2941 // AsyncWriteWorkerPool indicates an expected call of AsyncWriteWorkerPool. 2942 func (mr *MockAdminOptionsMockRecorder) AsyncWriteWorkerPool() *gomock.Call { 2943 mr.mock.ctrl.T.Helper() 2944 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteWorkerPool", reflect.TypeOf((*MockAdminOptions)(nil).AsyncWriteWorkerPool)) 2945 } 2946 2947 // BackgroundConnectInterval mocks base method. 2948 func (m *MockAdminOptions) BackgroundConnectInterval() time.Duration { 2949 m.ctrl.T.Helper() 2950 ret := m.ctrl.Call(m, "BackgroundConnectInterval") 2951 ret0, _ := ret[0].(time.Duration) 2952 return ret0 2953 } 2954 2955 // BackgroundConnectInterval indicates an expected call of BackgroundConnectInterval. 2956 func (mr *MockAdminOptionsMockRecorder) BackgroundConnectInterval() *gomock.Call { 2957 mr.mock.ctrl.T.Helper() 2958 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectInterval", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundConnectInterval)) 2959 } 2960 2961 // BackgroundConnectStutter mocks base method. 2962 func (m *MockAdminOptions) BackgroundConnectStutter() time.Duration { 2963 m.ctrl.T.Helper() 2964 ret := m.ctrl.Call(m, "BackgroundConnectStutter") 2965 ret0, _ := ret[0].(time.Duration) 2966 return ret0 2967 } 2968 2969 // BackgroundConnectStutter indicates an expected call of BackgroundConnectStutter. 2970 func (mr *MockAdminOptionsMockRecorder) BackgroundConnectStutter() *gomock.Call { 2971 mr.mock.ctrl.T.Helper() 2972 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectStutter", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundConnectStutter)) 2973 } 2974 2975 // BackgroundHealthCheckFailLimit mocks base method. 2976 func (m *MockAdminOptions) BackgroundHealthCheckFailLimit() int { 2977 m.ctrl.T.Helper() 2978 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailLimit") 2979 ret0, _ := ret[0].(int) 2980 return ret0 2981 } 2982 2983 // BackgroundHealthCheckFailLimit indicates an expected call of BackgroundHealthCheckFailLimit. 2984 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckFailLimit() *gomock.Call { 2985 mr.mock.ctrl.T.Helper() 2986 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailLimit", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckFailLimit)) 2987 } 2988 2989 // BackgroundHealthCheckFailThrottleFactor mocks base method. 2990 func (m *MockAdminOptions) BackgroundHealthCheckFailThrottleFactor() float64 { 2991 m.ctrl.T.Helper() 2992 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailThrottleFactor") 2993 ret0, _ := ret[0].(float64) 2994 return ret0 2995 } 2996 2997 // BackgroundHealthCheckFailThrottleFactor indicates an expected call of BackgroundHealthCheckFailThrottleFactor. 2998 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckFailThrottleFactor() *gomock.Call { 2999 mr.mock.ctrl.T.Helper() 3000 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckFailThrottleFactor)) 3001 } 3002 3003 // BackgroundHealthCheckInterval mocks base method. 3004 func (m *MockAdminOptions) BackgroundHealthCheckInterval() time.Duration { 3005 m.ctrl.T.Helper() 3006 ret := m.ctrl.Call(m, "BackgroundHealthCheckInterval") 3007 ret0, _ := ret[0].(time.Duration) 3008 return ret0 3009 } 3010 3011 // BackgroundHealthCheckInterval indicates an expected call of BackgroundHealthCheckInterval. 3012 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckInterval() *gomock.Call { 3013 mr.mock.ctrl.T.Helper() 3014 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckInterval", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckInterval)) 3015 } 3016 3017 // BackgroundHealthCheckStutter mocks base method. 3018 func (m *MockAdminOptions) BackgroundHealthCheckStutter() time.Duration { 3019 m.ctrl.T.Helper() 3020 ret := m.ctrl.Call(m, "BackgroundHealthCheckStutter") 3021 ret0, _ := ret[0].(time.Duration) 3022 return ret0 3023 } 3024 3025 // BackgroundHealthCheckStutter indicates an expected call of BackgroundHealthCheckStutter. 3026 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckStutter() *gomock.Call { 3027 mr.mock.ctrl.T.Helper() 3028 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckStutter", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckStutter)) 3029 } 3030 3031 // BootstrapConsistencyLevel mocks base method. 3032 func (m *MockAdminOptions) BootstrapConsistencyLevel() topology.ReadConsistencyLevel { 3033 m.ctrl.T.Helper() 3034 ret := m.ctrl.Call(m, "BootstrapConsistencyLevel") 3035 ret0, _ := ret[0].(topology.ReadConsistencyLevel) 3036 return ret0 3037 } 3038 3039 // BootstrapConsistencyLevel indicates an expected call of BootstrapConsistencyLevel. 3040 func (mr *MockAdminOptionsMockRecorder) BootstrapConsistencyLevel() *gomock.Call { 3041 mr.mock.ctrl.T.Helper() 3042 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BootstrapConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).BootstrapConsistencyLevel)) 3043 } 3044 3045 // ChannelOptions mocks base method. 3046 func (m *MockAdminOptions) ChannelOptions() *tchannel_go.ChannelOptions { 3047 m.ctrl.T.Helper() 3048 ret := m.ctrl.Call(m, "ChannelOptions") 3049 ret0, _ := ret[0].(*tchannel_go.ChannelOptions) 3050 return ret0 3051 } 3052 3053 // ChannelOptions indicates an expected call of ChannelOptions. 3054 func (mr *MockAdminOptionsMockRecorder) ChannelOptions() *gomock.Call { 3055 mr.mock.ctrl.T.Helper() 3056 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChannelOptions", reflect.TypeOf((*MockAdminOptions)(nil).ChannelOptions)) 3057 } 3058 3059 // CheckedBytesPool mocks base method. 3060 func (m *MockAdminOptions) CheckedBytesPool() pool.CheckedBytesPool { 3061 m.ctrl.T.Helper() 3062 ret := m.ctrl.Call(m, "CheckedBytesPool") 3063 ret0, _ := ret[0].(pool.CheckedBytesPool) 3064 return ret0 3065 } 3066 3067 // CheckedBytesPool indicates an expected call of CheckedBytesPool. 3068 func (mr *MockAdminOptionsMockRecorder) CheckedBytesPool() *gomock.Call { 3069 mr.mock.ctrl.T.Helper() 3070 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesPool", reflect.TypeOf((*MockAdminOptions)(nil).CheckedBytesPool)) 3071 } 3072 3073 // CheckedBytesWrapperPoolSize mocks base method. 3074 func (m *MockAdminOptions) CheckedBytesWrapperPoolSize() pool.Size { 3075 m.ctrl.T.Helper() 3076 ret := m.ctrl.Call(m, "CheckedBytesWrapperPoolSize") 3077 ret0, _ := ret[0].(pool.Size) 3078 return ret0 3079 } 3080 3081 // CheckedBytesWrapperPoolSize indicates an expected call of CheckedBytesWrapperPoolSize. 3082 func (mr *MockAdminOptionsMockRecorder) CheckedBytesWrapperPoolSize() *gomock.Call { 3083 mr.mock.ctrl.T.Helper() 3084 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesWrapperPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).CheckedBytesWrapperPoolSize)) 3085 } 3086 3087 // ClockOptions mocks base method. 3088 func (m *MockAdminOptions) ClockOptions() clock.Options { 3089 m.ctrl.T.Helper() 3090 ret := m.ctrl.Call(m, "ClockOptions") 3091 ret0, _ := ret[0].(clock.Options) 3092 return ret0 3093 } 3094 3095 // ClockOptions indicates an expected call of ClockOptions. 3096 func (mr *MockAdminOptionsMockRecorder) ClockOptions() *gomock.Call { 3097 mr.mock.ctrl.T.Helper() 3098 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClockOptions", reflect.TypeOf((*MockAdminOptions)(nil).ClockOptions)) 3099 } 3100 3101 // ClusterConnectConsistencyLevel mocks base method. 3102 func (m *MockAdminOptions) ClusterConnectConsistencyLevel() topology.ConnectConsistencyLevel { 3103 m.ctrl.T.Helper() 3104 ret := m.ctrl.Call(m, "ClusterConnectConsistencyLevel") 3105 ret0, _ := ret[0].(topology.ConnectConsistencyLevel) 3106 return ret0 3107 } 3108 3109 // ClusterConnectConsistencyLevel indicates an expected call of ClusterConnectConsistencyLevel. 3110 func (mr *MockAdminOptionsMockRecorder) ClusterConnectConsistencyLevel() *gomock.Call { 3111 mr.mock.ctrl.T.Helper() 3112 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).ClusterConnectConsistencyLevel)) 3113 } 3114 3115 // ClusterConnectTimeout mocks base method. 3116 func (m *MockAdminOptions) ClusterConnectTimeout() time.Duration { 3117 m.ctrl.T.Helper() 3118 ret := m.ctrl.Call(m, "ClusterConnectTimeout") 3119 ret0, _ := ret[0].(time.Duration) 3120 return ret0 3121 } 3122 3123 // ClusterConnectTimeout indicates an expected call of ClusterConnectTimeout. 3124 func (mr *MockAdminOptionsMockRecorder) ClusterConnectTimeout() *gomock.Call { 3125 mr.mock.ctrl.T.Helper() 3126 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).ClusterConnectTimeout)) 3127 } 3128 3129 // ContextPool mocks base method. 3130 func (m *MockAdminOptions) ContextPool() context0.Pool { 3131 m.ctrl.T.Helper() 3132 ret := m.ctrl.Call(m, "ContextPool") 3133 ret0, _ := ret[0].(context0.Pool) 3134 return ret0 3135 } 3136 3137 // ContextPool indicates an expected call of ContextPool. 3138 func (mr *MockAdminOptionsMockRecorder) ContextPool() *gomock.Call { 3139 mr.mock.ctrl.T.Helper() 3140 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContextPool", reflect.TypeOf((*MockAdminOptions)(nil).ContextPool)) 3141 } 3142 3143 // FetchBatchOpPoolSize mocks base method. 3144 func (m *MockAdminOptions) FetchBatchOpPoolSize() pool.Size { 3145 m.ctrl.T.Helper() 3146 ret := m.ctrl.Call(m, "FetchBatchOpPoolSize") 3147 ret0, _ := ret[0].(pool.Size) 3148 return ret0 3149 } 3150 3151 // FetchBatchOpPoolSize indicates an expected call of FetchBatchOpPoolSize. 3152 func (mr *MockAdminOptionsMockRecorder) FetchBatchOpPoolSize() *gomock.Call { 3153 mr.mock.ctrl.T.Helper() 3154 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).FetchBatchOpPoolSize)) 3155 } 3156 3157 // FetchBatchSize mocks base method. 3158 func (m *MockAdminOptions) FetchBatchSize() int { 3159 m.ctrl.T.Helper() 3160 ret := m.ctrl.Call(m, "FetchBatchSize") 3161 ret0, _ := ret[0].(int) 3162 return ret0 3163 } 3164 3165 // FetchBatchSize indicates an expected call of FetchBatchSize. 3166 func (mr *MockAdminOptionsMockRecorder) FetchBatchSize() *gomock.Call { 3167 mr.mock.ctrl.T.Helper() 3168 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).FetchBatchSize)) 3169 } 3170 3171 // FetchRequestTimeout mocks base method. 3172 func (m *MockAdminOptions) FetchRequestTimeout() time.Duration { 3173 m.ctrl.T.Helper() 3174 ret := m.ctrl.Call(m, "FetchRequestTimeout") 3175 ret0, _ := ret[0].(time.Duration) 3176 return ret0 3177 } 3178 3179 // FetchRequestTimeout indicates an expected call of FetchRequestTimeout. 3180 func (mr *MockAdminOptionsMockRecorder) FetchRequestTimeout() *gomock.Call { 3181 mr.mock.ctrl.T.Helper() 3182 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).FetchRequestTimeout)) 3183 } 3184 3185 // FetchRetrier mocks base method. 3186 func (m *MockAdminOptions) FetchRetrier() retry.Retrier { 3187 m.ctrl.T.Helper() 3188 ret := m.ctrl.Call(m, "FetchRetrier") 3189 ret0, _ := ret[0].(retry.Retrier) 3190 return ret0 3191 } 3192 3193 // FetchRetrier indicates an expected call of FetchRetrier. 3194 func (mr *MockAdminOptionsMockRecorder) FetchRetrier() *gomock.Call { 3195 mr.mock.ctrl.T.Helper() 3196 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRetrier", reflect.TypeOf((*MockAdminOptions)(nil).FetchRetrier)) 3197 } 3198 3199 // FetchSeriesBlocksBatchConcurrency mocks base method. 3200 func (m *MockAdminOptions) FetchSeriesBlocksBatchConcurrency() int { 3201 m.ctrl.T.Helper() 3202 ret := m.ctrl.Call(m, "FetchSeriesBlocksBatchConcurrency") 3203 ret0, _ := ret[0].(int) 3204 return ret0 3205 } 3206 3207 // FetchSeriesBlocksBatchConcurrency indicates an expected call of FetchSeriesBlocksBatchConcurrency. 3208 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksBatchConcurrency() *gomock.Call { 3209 mr.mock.ctrl.T.Helper() 3210 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksBatchConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksBatchConcurrency)) 3211 } 3212 3213 // FetchSeriesBlocksBatchSize mocks base method. 3214 func (m *MockAdminOptions) FetchSeriesBlocksBatchSize() int { 3215 m.ctrl.T.Helper() 3216 ret := m.ctrl.Call(m, "FetchSeriesBlocksBatchSize") 3217 ret0, _ := ret[0].(int) 3218 return ret0 3219 } 3220 3221 // FetchSeriesBlocksBatchSize indicates an expected call of FetchSeriesBlocksBatchSize. 3222 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksBatchSize() *gomock.Call { 3223 mr.mock.ctrl.T.Helper() 3224 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksBatchSize)) 3225 } 3226 3227 // FetchSeriesBlocksBatchTimeout mocks base method. 3228 func (m *MockAdminOptions) FetchSeriesBlocksBatchTimeout() time.Duration { 3229 m.ctrl.T.Helper() 3230 ret := m.ctrl.Call(m, "FetchSeriesBlocksBatchTimeout") 3231 ret0, _ := ret[0].(time.Duration) 3232 return ret0 3233 } 3234 3235 // FetchSeriesBlocksBatchTimeout indicates an expected call of FetchSeriesBlocksBatchTimeout. 3236 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksBatchTimeout() *gomock.Call { 3237 mr.mock.ctrl.T.Helper() 3238 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksBatchTimeout)) 3239 } 3240 3241 // FetchSeriesBlocksMaxBlockRetries mocks base method. 3242 func (m *MockAdminOptions) FetchSeriesBlocksMaxBlockRetries() int { 3243 m.ctrl.T.Helper() 3244 ret := m.ctrl.Call(m, "FetchSeriesBlocksMaxBlockRetries") 3245 ret0, _ := ret[0].(int) 3246 return ret0 3247 } 3248 3249 // FetchSeriesBlocksMaxBlockRetries indicates an expected call of FetchSeriesBlocksMaxBlockRetries. 3250 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksMaxBlockRetries() *gomock.Call { 3251 mr.mock.ctrl.T.Helper() 3252 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksMaxBlockRetries", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksMaxBlockRetries)) 3253 } 3254 3255 // FetchSeriesBlocksMetadataBatchTimeout mocks base method. 3256 func (m *MockAdminOptions) FetchSeriesBlocksMetadataBatchTimeout() time.Duration { 3257 m.ctrl.T.Helper() 3258 ret := m.ctrl.Call(m, "FetchSeriesBlocksMetadataBatchTimeout") 3259 ret0, _ := ret[0].(time.Duration) 3260 return ret0 3261 } 3262 3263 // FetchSeriesBlocksMetadataBatchTimeout indicates an expected call of FetchSeriesBlocksMetadataBatchTimeout. 3264 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksMetadataBatchTimeout() *gomock.Call { 3265 mr.mock.ctrl.T.Helper() 3266 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksMetadataBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksMetadataBatchTimeout)) 3267 } 3268 3269 // HostConnectTimeout mocks base method. 3270 func (m *MockAdminOptions) HostConnectTimeout() time.Duration { 3271 m.ctrl.T.Helper() 3272 ret := m.ctrl.Call(m, "HostConnectTimeout") 3273 ret0, _ := ret[0].(time.Duration) 3274 return ret0 3275 } 3276 3277 // HostConnectTimeout indicates an expected call of HostConnectTimeout. 3278 func (mr *MockAdminOptionsMockRecorder) HostConnectTimeout() *gomock.Call { 3279 mr.mock.ctrl.T.Helper() 3280 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).HostConnectTimeout)) 3281 } 3282 3283 // HostQueueEmitsHealthStatus mocks base method. 3284 func (m *MockAdminOptions) HostQueueEmitsHealthStatus() bool { 3285 m.ctrl.T.Helper() 3286 ret := m.ctrl.Call(m, "HostQueueEmitsHealthStatus") 3287 ret0, _ := ret[0].(bool) 3288 return ret0 3289 } 3290 3291 // HostQueueEmitsHealthStatus indicates an expected call of HostQueueEmitsHealthStatus. 3292 func (mr *MockAdminOptionsMockRecorder) HostQueueEmitsHealthStatus() *gomock.Call { 3293 mr.mock.ctrl.T.Helper() 3294 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueEmitsHealthStatus", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueEmitsHealthStatus)) 3295 } 3296 3297 // HostQueueNewPooledWorkerFn mocks base method. 3298 func (m *MockAdminOptions) HostQueueNewPooledWorkerFn() sync.NewPooledWorkerFn { 3299 m.ctrl.T.Helper() 3300 ret := m.ctrl.Call(m, "HostQueueNewPooledWorkerFn") 3301 ret0, _ := ret[0].(sync.NewPooledWorkerFn) 3302 return ret0 3303 } 3304 3305 // HostQueueNewPooledWorkerFn indicates an expected call of HostQueueNewPooledWorkerFn. 3306 func (mr *MockAdminOptionsMockRecorder) HostQueueNewPooledWorkerFn() *gomock.Call { 3307 mr.mock.ctrl.T.Helper() 3308 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueNewPooledWorkerFn", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueNewPooledWorkerFn)) 3309 } 3310 3311 // HostQueueOpsArrayPoolSize mocks base method. 3312 func (m *MockAdminOptions) HostQueueOpsArrayPoolSize() pool.Size { 3313 m.ctrl.T.Helper() 3314 ret := m.ctrl.Call(m, "HostQueueOpsArrayPoolSize") 3315 ret0, _ := ret[0].(pool.Size) 3316 return ret0 3317 } 3318 3319 // HostQueueOpsArrayPoolSize indicates an expected call of HostQueueOpsArrayPoolSize. 3320 func (mr *MockAdminOptionsMockRecorder) HostQueueOpsArrayPoolSize() *gomock.Call { 3321 mr.mock.ctrl.T.Helper() 3322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsArrayPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueOpsArrayPoolSize)) 3323 } 3324 3325 // HostQueueOpsFlushInterval mocks base method. 3326 func (m *MockAdminOptions) HostQueueOpsFlushInterval() time.Duration { 3327 m.ctrl.T.Helper() 3328 ret := m.ctrl.Call(m, "HostQueueOpsFlushInterval") 3329 ret0, _ := ret[0].(time.Duration) 3330 return ret0 3331 } 3332 3333 // HostQueueOpsFlushInterval indicates an expected call of HostQueueOpsFlushInterval. 3334 func (mr *MockAdminOptionsMockRecorder) HostQueueOpsFlushInterval() *gomock.Call { 3335 mr.mock.ctrl.T.Helper() 3336 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushInterval", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueOpsFlushInterval)) 3337 } 3338 3339 // HostQueueOpsFlushSize mocks base method. 3340 func (m *MockAdminOptions) HostQueueOpsFlushSize() int { 3341 m.ctrl.T.Helper() 3342 ret := m.ctrl.Call(m, "HostQueueOpsFlushSize") 3343 ret0, _ := ret[0].(int) 3344 return ret0 3345 } 3346 3347 // HostQueueOpsFlushSize indicates an expected call of HostQueueOpsFlushSize. 3348 func (mr *MockAdminOptionsMockRecorder) HostQueueOpsFlushSize() *gomock.Call { 3349 mr.mock.ctrl.T.Helper() 3350 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushSize", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueOpsFlushSize)) 3351 } 3352 3353 // IdentifierPool mocks base method. 3354 func (m *MockAdminOptions) IdentifierPool() ident.Pool { 3355 m.ctrl.T.Helper() 3356 ret := m.ctrl.Call(m, "IdentifierPool") 3357 ret0, _ := ret[0].(ident.Pool) 3358 return ret0 3359 } 3360 3361 // IdentifierPool indicates an expected call of IdentifierPool. 3362 func (mr *MockAdminOptionsMockRecorder) IdentifierPool() *gomock.Call { 3363 mr.mock.ctrl.T.Helper() 3364 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentifierPool", reflect.TypeOf((*MockAdminOptions)(nil).IdentifierPool)) 3365 } 3366 3367 // InstrumentOptions mocks base method. 3368 func (m *MockAdminOptions) InstrumentOptions() instrument.Options { 3369 m.ctrl.T.Helper() 3370 ret := m.ctrl.Call(m, "InstrumentOptions") 3371 ret0, _ := ret[0].(instrument.Options) 3372 return ret0 3373 } 3374 3375 // InstrumentOptions indicates an expected call of InstrumentOptions. 3376 func (mr *MockAdminOptionsMockRecorder) InstrumentOptions() *gomock.Call { 3377 mr.mock.ctrl.T.Helper() 3378 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstrumentOptions", reflect.TypeOf((*MockAdminOptions)(nil).InstrumentOptions)) 3379 } 3380 3381 // IsSetEncodingProto mocks base method. 3382 func (m *MockAdminOptions) IsSetEncodingProto() bool { 3383 m.ctrl.T.Helper() 3384 ret := m.ctrl.Call(m, "IsSetEncodingProto") 3385 ret0, _ := ret[0].(bool) 3386 return ret0 3387 } 3388 3389 // IsSetEncodingProto indicates an expected call of IsSetEncodingProto. 3390 func (mr *MockAdminOptionsMockRecorder) IsSetEncodingProto() *gomock.Call { 3391 mr.mock.ctrl.T.Helper() 3392 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSetEncodingProto", reflect.TypeOf((*MockAdminOptions)(nil).IsSetEncodingProto)) 3393 } 3394 3395 // IterationOptions mocks base method. 3396 func (m *MockAdminOptions) IterationOptions() index.IterationOptions { 3397 m.ctrl.T.Helper() 3398 ret := m.ctrl.Call(m, "IterationOptions") 3399 ret0, _ := ret[0].(index.IterationOptions) 3400 return ret0 3401 } 3402 3403 // IterationOptions indicates an expected call of IterationOptions. 3404 func (mr *MockAdminOptionsMockRecorder) IterationOptions() *gomock.Call { 3405 mr.mock.ctrl.T.Helper() 3406 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterationOptions", reflect.TypeOf((*MockAdminOptions)(nil).IterationOptions)) 3407 } 3408 3409 // LogErrorSampleRate mocks base method. 3410 func (m *MockAdminOptions) LogErrorSampleRate() sampler.Rate { 3411 m.ctrl.T.Helper() 3412 ret := m.ctrl.Call(m, "LogErrorSampleRate") 3413 ret0, _ := ret[0].(sampler.Rate) 3414 return ret0 3415 } 3416 3417 // LogErrorSampleRate indicates an expected call of LogErrorSampleRate. 3418 func (mr *MockAdminOptionsMockRecorder) LogErrorSampleRate() *gomock.Call { 3419 mr.mock.ctrl.T.Helper() 3420 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).LogErrorSampleRate)) 3421 } 3422 3423 // LogHostFetchErrorSampleRate mocks base method. 3424 func (m *MockAdminOptions) LogHostFetchErrorSampleRate() sampler.Rate { 3425 m.ctrl.T.Helper() 3426 ret := m.ctrl.Call(m, "LogHostFetchErrorSampleRate") 3427 ret0, _ := ret[0].(sampler.Rate) 3428 return ret0 3429 } 3430 3431 // LogHostFetchErrorSampleRate indicates an expected call of LogHostFetchErrorSampleRate. 3432 func (mr *MockAdminOptionsMockRecorder) LogHostFetchErrorSampleRate() *gomock.Call { 3433 mr.mock.ctrl.T.Helper() 3434 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogHostFetchErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).LogHostFetchErrorSampleRate)) 3435 } 3436 3437 // LogHostWriteErrorSampleRate mocks base method. 3438 func (m *MockAdminOptions) LogHostWriteErrorSampleRate() sampler.Rate { 3439 m.ctrl.T.Helper() 3440 ret := m.ctrl.Call(m, "LogHostWriteErrorSampleRate") 3441 ret0, _ := ret[0].(sampler.Rate) 3442 return ret0 3443 } 3444 3445 // LogHostWriteErrorSampleRate indicates an expected call of LogHostWriteErrorSampleRate. 3446 func (mr *MockAdminOptionsMockRecorder) LogHostWriteErrorSampleRate() *gomock.Call { 3447 mr.mock.ctrl.T.Helper() 3448 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogHostWriteErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).LogHostWriteErrorSampleRate)) 3449 } 3450 3451 // MaxConnectionCount mocks base method. 3452 func (m *MockAdminOptions) MaxConnectionCount() int { 3453 m.ctrl.T.Helper() 3454 ret := m.ctrl.Call(m, "MaxConnectionCount") 3455 ret0, _ := ret[0].(int) 3456 return ret0 3457 } 3458 3459 // MaxConnectionCount indicates an expected call of MaxConnectionCount. 3460 func (mr *MockAdminOptionsMockRecorder) MaxConnectionCount() *gomock.Call { 3461 mr.mock.ctrl.T.Helper() 3462 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).MaxConnectionCount)) 3463 } 3464 3465 // MinConnectionCount mocks base method. 3466 func (m *MockAdminOptions) MinConnectionCount() int { 3467 m.ctrl.T.Helper() 3468 ret := m.ctrl.Call(m, "MinConnectionCount") 3469 ret0, _ := ret[0].(int) 3470 return ret0 3471 } 3472 3473 // MinConnectionCount indicates an expected call of MinConnectionCount. 3474 func (mr *MockAdminOptionsMockRecorder) MinConnectionCount() *gomock.Call { 3475 mr.mock.ctrl.T.Helper() 3476 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).MinConnectionCount)) 3477 } 3478 3479 // NamespaceInitializer mocks base method. 3480 func (m *MockAdminOptions) NamespaceInitializer() namespace.Initializer { 3481 m.ctrl.T.Helper() 3482 ret := m.ctrl.Call(m, "NamespaceInitializer") 3483 ret0, _ := ret[0].(namespace.Initializer) 3484 return ret0 3485 } 3486 3487 // NamespaceInitializer indicates an expected call of NamespaceInitializer. 3488 func (mr *MockAdminOptionsMockRecorder) NamespaceInitializer() *gomock.Call { 3489 mr.mock.ctrl.T.Helper() 3490 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NamespaceInitializer", reflect.TypeOf((*MockAdminOptions)(nil).NamespaceInitializer)) 3491 } 3492 3493 // NewConnectionFn mocks base method. 3494 func (m *MockAdminOptions) NewConnectionFn() NewConnectionFn { 3495 m.ctrl.T.Helper() 3496 ret := m.ctrl.Call(m, "NewConnectionFn") 3497 ret0, _ := ret[0].(NewConnectionFn) 3498 return ret0 3499 } 3500 3501 // NewConnectionFn indicates an expected call of NewConnectionFn. 3502 func (mr *MockAdminOptionsMockRecorder) NewConnectionFn() *gomock.Call { 3503 mr.mock.ctrl.T.Helper() 3504 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewConnectionFn", reflect.TypeOf((*MockAdminOptions)(nil).NewConnectionFn)) 3505 } 3506 3507 // Origin mocks base method. 3508 func (m *MockAdminOptions) Origin() topology.Host { 3509 m.ctrl.T.Helper() 3510 ret := m.ctrl.Call(m, "Origin") 3511 ret0, _ := ret[0].(topology.Host) 3512 return ret0 3513 } 3514 3515 // Origin indicates an expected call of Origin. 3516 func (mr *MockAdminOptionsMockRecorder) Origin() *gomock.Call { 3517 mr.mock.ctrl.T.Helper() 3518 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Origin", reflect.TypeOf((*MockAdminOptions)(nil).Origin)) 3519 } 3520 3521 // ReadConsistencyLevel mocks base method. 3522 func (m *MockAdminOptions) ReadConsistencyLevel() topology.ReadConsistencyLevel { 3523 m.ctrl.T.Helper() 3524 ret := m.ctrl.Call(m, "ReadConsistencyLevel") 3525 ret0, _ := ret[0].(topology.ReadConsistencyLevel) 3526 return ret0 3527 } 3528 3529 // ReadConsistencyLevel indicates an expected call of ReadConsistencyLevel. 3530 func (mr *MockAdminOptionsMockRecorder) ReadConsistencyLevel() *gomock.Call { 3531 mr.mock.ctrl.T.Helper() 3532 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).ReadConsistencyLevel)) 3533 } 3534 3535 // ReaderIteratorAllocate mocks base method. 3536 func (m *MockAdminOptions) ReaderIteratorAllocate() encoding.ReaderIteratorAllocate { 3537 m.ctrl.T.Helper() 3538 ret := m.ctrl.Call(m, "ReaderIteratorAllocate") 3539 ret0, _ := ret[0].(encoding.ReaderIteratorAllocate) 3540 return ret0 3541 } 3542 3543 // ReaderIteratorAllocate indicates an expected call of ReaderIteratorAllocate. 3544 func (mr *MockAdminOptionsMockRecorder) ReaderIteratorAllocate() *gomock.Call { 3545 mr.mock.ctrl.T.Helper() 3546 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReaderIteratorAllocate", reflect.TypeOf((*MockAdminOptions)(nil).ReaderIteratorAllocate)) 3547 } 3548 3549 // RuntimeOptionsManager mocks base method. 3550 func (m *MockAdminOptions) RuntimeOptionsManager() runtime.OptionsManager { 3551 m.ctrl.T.Helper() 3552 ret := m.ctrl.Call(m, "RuntimeOptionsManager") 3553 ret0, _ := ret[0].(runtime.OptionsManager) 3554 return ret0 3555 } 3556 3557 // RuntimeOptionsManager indicates an expected call of RuntimeOptionsManager. 3558 func (mr *MockAdminOptionsMockRecorder) RuntimeOptionsManager() *gomock.Call { 3559 mr.mock.ctrl.T.Helper() 3560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RuntimeOptionsManager", reflect.TypeOf((*MockAdminOptions)(nil).RuntimeOptionsManager)) 3561 } 3562 3563 // SchemaRegistry mocks base method. 3564 func (m *MockAdminOptions) SchemaRegistry() namespace.SchemaRegistry { 3565 m.ctrl.T.Helper() 3566 ret := m.ctrl.Call(m, "SchemaRegistry") 3567 ret0, _ := ret[0].(namespace.SchemaRegistry) 3568 return ret0 3569 } 3570 3571 // SchemaRegistry indicates an expected call of SchemaRegistry. 3572 func (mr *MockAdminOptionsMockRecorder) SchemaRegistry() *gomock.Call { 3573 mr.mock.ctrl.T.Helper() 3574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SchemaRegistry", reflect.TypeOf((*MockAdminOptions)(nil).SchemaRegistry)) 3575 } 3576 3577 // SeriesIteratorPoolSize mocks base method. 3578 func (m *MockAdminOptions) SeriesIteratorPoolSize() pool.Size { 3579 m.ctrl.T.Helper() 3580 ret := m.ctrl.Call(m, "SeriesIteratorPoolSize") 3581 ret0, _ := ret[0].(pool.Size) 3582 return ret0 3583 } 3584 3585 // SeriesIteratorPoolSize indicates an expected call of SeriesIteratorPoolSize. 3586 func (mr *MockAdminOptionsMockRecorder) SeriesIteratorPoolSize() *gomock.Call { 3587 mr.mock.ctrl.T.Helper() 3588 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeriesIteratorPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SeriesIteratorPoolSize)) 3589 } 3590 3591 // SetAsyncTopologyInitializers mocks base method. 3592 func (m *MockAdminOptions) SetAsyncTopologyInitializers(value []topology.Initializer) Options { 3593 m.ctrl.T.Helper() 3594 ret := m.ctrl.Call(m, "SetAsyncTopologyInitializers", value) 3595 ret0, _ := ret[0].(Options) 3596 return ret0 3597 } 3598 3599 // SetAsyncTopologyInitializers indicates an expected call of SetAsyncTopologyInitializers. 3600 func (mr *MockAdminOptionsMockRecorder) SetAsyncTopologyInitializers(value interface{}) *gomock.Call { 3601 mr.mock.ctrl.T.Helper() 3602 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncTopologyInitializers", reflect.TypeOf((*MockAdminOptions)(nil).SetAsyncTopologyInitializers), value) 3603 } 3604 3605 // SetAsyncWriteMaxConcurrency mocks base method. 3606 func (m *MockAdminOptions) SetAsyncWriteMaxConcurrency(value int) Options { 3607 m.ctrl.T.Helper() 3608 ret := m.ctrl.Call(m, "SetAsyncWriteMaxConcurrency", value) 3609 ret0, _ := ret[0].(Options) 3610 return ret0 3611 } 3612 3613 // SetAsyncWriteMaxConcurrency indicates an expected call of SetAsyncWriteMaxConcurrency. 3614 func (mr *MockAdminOptionsMockRecorder) SetAsyncWriteMaxConcurrency(value interface{}) *gomock.Call { 3615 mr.mock.ctrl.T.Helper() 3616 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteMaxConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).SetAsyncWriteMaxConcurrency), value) 3617 } 3618 3619 // SetAsyncWriteWorkerPool mocks base method. 3620 func (m *MockAdminOptions) SetAsyncWriteWorkerPool(value sync.PooledWorkerPool) Options { 3621 m.ctrl.T.Helper() 3622 ret := m.ctrl.Call(m, "SetAsyncWriteWorkerPool", value) 3623 ret0, _ := ret[0].(Options) 3624 return ret0 3625 } 3626 3627 // SetAsyncWriteWorkerPool indicates an expected call of SetAsyncWriteWorkerPool. 3628 func (mr *MockAdminOptionsMockRecorder) SetAsyncWriteWorkerPool(value interface{}) *gomock.Call { 3629 mr.mock.ctrl.T.Helper() 3630 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteWorkerPool", reflect.TypeOf((*MockAdminOptions)(nil).SetAsyncWriteWorkerPool), value) 3631 } 3632 3633 // SetBackgroundConnectInterval mocks base method. 3634 func (m *MockAdminOptions) SetBackgroundConnectInterval(value time.Duration) Options { 3635 m.ctrl.T.Helper() 3636 ret := m.ctrl.Call(m, "SetBackgroundConnectInterval", value) 3637 ret0, _ := ret[0].(Options) 3638 return ret0 3639 } 3640 3641 // SetBackgroundConnectInterval indicates an expected call of SetBackgroundConnectInterval. 3642 func (mr *MockAdminOptionsMockRecorder) SetBackgroundConnectInterval(value interface{}) *gomock.Call { 3643 mr.mock.ctrl.T.Helper() 3644 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectInterval", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundConnectInterval), value) 3645 } 3646 3647 // SetBackgroundConnectStutter mocks base method. 3648 func (m *MockAdminOptions) SetBackgroundConnectStutter(value time.Duration) Options { 3649 m.ctrl.T.Helper() 3650 ret := m.ctrl.Call(m, "SetBackgroundConnectStutter", value) 3651 ret0, _ := ret[0].(Options) 3652 return ret0 3653 } 3654 3655 // SetBackgroundConnectStutter indicates an expected call of SetBackgroundConnectStutter. 3656 func (mr *MockAdminOptionsMockRecorder) SetBackgroundConnectStutter(value interface{}) *gomock.Call { 3657 mr.mock.ctrl.T.Helper() 3658 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectStutter", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundConnectStutter), value) 3659 } 3660 3661 // SetBackgroundHealthCheckFailLimit mocks base method. 3662 func (m *MockAdminOptions) SetBackgroundHealthCheckFailLimit(value int) Options { 3663 m.ctrl.T.Helper() 3664 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailLimit", value) 3665 ret0, _ := ret[0].(Options) 3666 return ret0 3667 } 3668 3669 // SetBackgroundHealthCheckFailLimit indicates an expected call of SetBackgroundHealthCheckFailLimit. 3670 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckFailLimit(value interface{}) *gomock.Call { 3671 mr.mock.ctrl.T.Helper() 3672 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailLimit", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckFailLimit), value) 3673 } 3674 3675 // SetBackgroundHealthCheckFailThrottleFactor mocks base method. 3676 func (m *MockAdminOptions) SetBackgroundHealthCheckFailThrottleFactor(value float64) Options { 3677 m.ctrl.T.Helper() 3678 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailThrottleFactor", value) 3679 ret0, _ := ret[0].(Options) 3680 return ret0 3681 } 3682 3683 // SetBackgroundHealthCheckFailThrottleFactor indicates an expected call of SetBackgroundHealthCheckFailThrottleFactor. 3684 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckFailThrottleFactor(value interface{}) *gomock.Call { 3685 mr.mock.ctrl.T.Helper() 3686 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckFailThrottleFactor), value) 3687 } 3688 3689 // SetBackgroundHealthCheckInterval mocks base method. 3690 func (m *MockAdminOptions) SetBackgroundHealthCheckInterval(value time.Duration) Options { 3691 m.ctrl.T.Helper() 3692 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckInterval", value) 3693 ret0, _ := ret[0].(Options) 3694 return ret0 3695 } 3696 3697 // SetBackgroundHealthCheckInterval indicates an expected call of SetBackgroundHealthCheckInterval. 3698 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckInterval(value interface{}) *gomock.Call { 3699 mr.mock.ctrl.T.Helper() 3700 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckInterval", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckInterval), value) 3701 } 3702 3703 // SetBackgroundHealthCheckStutter mocks base method. 3704 func (m *MockAdminOptions) SetBackgroundHealthCheckStutter(value time.Duration) Options { 3705 m.ctrl.T.Helper() 3706 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckStutter", value) 3707 ret0, _ := ret[0].(Options) 3708 return ret0 3709 } 3710 3711 // SetBackgroundHealthCheckStutter indicates an expected call of SetBackgroundHealthCheckStutter. 3712 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckStutter(value interface{}) *gomock.Call { 3713 mr.mock.ctrl.T.Helper() 3714 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckStutter", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckStutter), value) 3715 } 3716 3717 // SetBootstrapConsistencyLevel mocks base method. 3718 func (m *MockAdminOptions) SetBootstrapConsistencyLevel(value topology.ReadConsistencyLevel) AdminOptions { 3719 m.ctrl.T.Helper() 3720 ret := m.ctrl.Call(m, "SetBootstrapConsistencyLevel", value) 3721 ret0, _ := ret[0].(AdminOptions) 3722 return ret0 3723 } 3724 3725 // SetBootstrapConsistencyLevel indicates an expected call of SetBootstrapConsistencyLevel. 3726 func (mr *MockAdminOptionsMockRecorder) SetBootstrapConsistencyLevel(value interface{}) *gomock.Call { 3727 mr.mock.ctrl.T.Helper() 3728 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBootstrapConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetBootstrapConsistencyLevel), value) 3729 } 3730 3731 // SetChannelOptions mocks base method. 3732 func (m *MockAdminOptions) SetChannelOptions(value *tchannel_go.ChannelOptions) Options { 3733 m.ctrl.T.Helper() 3734 ret := m.ctrl.Call(m, "SetChannelOptions", value) 3735 ret0, _ := ret[0].(Options) 3736 return ret0 3737 } 3738 3739 // SetChannelOptions indicates an expected call of SetChannelOptions. 3740 func (mr *MockAdminOptionsMockRecorder) SetChannelOptions(value interface{}) *gomock.Call { 3741 mr.mock.ctrl.T.Helper() 3742 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetChannelOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetChannelOptions), value) 3743 } 3744 3745 // SetCheckedBytesPool mocks base method. 3746 func (m *MockAdminOptions) SetCheckedBytesPool(value pool.CheckedBytesPool) Options { 3747 m.ctrl.T.Helper() 3748 ret := m.ctrl.Call(m, "SetCheckedBytesPool", value) 3749 ret0, _ := ret[0].(Options) 3750 return ret0 3751 } 3752 3753 // SetCheckedBytesPool indicates an expected call of SetCheckedBytesPool. 3754 func (mr *MockAdminOptionsMockRecorder) SetCheckedBytesPool(value interface{}) *gomock.Call { 3755 mr.mock.ctrl.T.Helper() 3756 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesPool", reflect.TypeOf((*MockAdminOptions)(nil).SetCheckedBytesPool), value) 3757 } 3758 3759 // SetCheckedBytesWrapperPoolSize mocks base method. 3760 func (m *MockAdminOptions) SetCheckedBytesWrapperPoolSize(value pool.Size) Options { 3761 m.ctrl.T.Helper() 3762 ret := m.ctrl.Call(m, "SetCheckedBytesWrapperPoolSize", value) 3763 ret0, _ := ret[0].(Options) 3764 return ret0 3765 } 3766 3767 // SetCheckedBytesWrapperPoolSize indicates an expected call of SetCheckedBytesWrapperPoolSize. 3768 func (mr *MockAdminOptionsMockRecorder) SetCheckedBytesWrapperPoolSize(value interface{}) *gomock.Call { 3769 mr.mock.ctrl.T.Helper() 3770 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesWrapperPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetCheckedBytesWrapperPoolSize), value) 3771 } 3772 3773 // SetClockOptions mocks base method. 3774 func (m *MockAdminOptions) SetClockOptions(value clock.Options) Options { 3775 m.ctrl.T.Helper() 3776 ret := m.ctrl.Call(m, "SetClockOptions", value) 3777 ret0, _ := ret[0].(Options) 3778 return ret0 3779 } 3780 3781 // SetClockOptions indicates an expected call of SetClockOptions. 3782 func (mr *MockAdminOptionsMockRecorder) SetClockOptions(value interface{}) *gomock.Call { 3783 mr.mock.ctrl.T.Helper() 3784 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClockOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetClockOptions), value) 3785 } 3786 3787 // SetClusterConnectConsistencyLevel mocks base method. 3788 func (m *MockAdminOptions) SetClusterConnectConsistencyLevel(value topology.ConnectConsistencyLevel) Options { 3789 m.ctrl.T.Helper() 3790 ret := m.ctrl.Call(m, "SetClusterConnectConsistencyLevel", value) 3791 ret0, _ := ret[0].(Options) 3792 return ret0 3793 } 3794 3795 // SetClusterConnectConsistencyLevel indicates an expected call of SetClusterConnectConsistencyLevel. 3796 func (mr *MockAdminOptionsMockRecorder) SetClusterConnectConsistencyLevel(value interface{}) *gomock.Call { 3797 mr.mock.ctrl.T.Helper() 3798 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetClusterConnectConsistencyLevel), value) 3799 } 3800 3801 // SetClusterConnectTimeout mocks base method. 3802 func (m *MockAdminOptions) SetClusterConnectTimeout(value time.Duration) Options { 3803 m.ctrl.T.Helper() 3804 ret := m.ctrl.Call(m, "SetClusterConnectTimeout", value) 3805 ret0, _ := ret[0].(Options) 3806 return ret0 3807 } 3808 3809 // SetClusterConnectTimeout indicates an expected call of SetClusterConnectTimeout. 3810 func (mr *MockAdminOptionsMockRecorder) SetClusterConnectTimeout(value interface{}) *gomock.Call { 3811 mr.mock.ctrl.T.Helper() 3812 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetClusterConnectTimeout), value) 3813 } 3814 3815 // SetContextPool mocks base method. 3816 func (m *MockAdminOptions) SetContextPool(value context0.Pool) Options { 3817 m.ctrl.T.Helper() 3818 ret := m.ctrl.Call(m, "SetContextPool", value) 3819 ret0, _ := ret[0].(Options) 3820 return ret0 3821 } 3822 3823 // SetContextPool indicates an expected call of SetContextPool. 3824 func (mr *MockAdminOptionsMockRecorder) SetContextPool(value interface{}) *gomock.Call { 3825 mr.mock.ctrl.T.Helper() 3826 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetContextPool", reflect.TypeOf((*MockAdminOptions)(nil).SetContextPool), value) 3827 } 3828 3829 // SetEncodingM3TSZ mocks base method. 3830 func (m *MockAdminOptions) SetEncodingM3TSZ() Options { 3831 m.ctrl.T.Helper() 3832 ret := m.ctrl.Call(m, "SetEncodingM3TSZ") 3833 ret0, _ := ret[0].(Options) 3834 return ret0 3835 } 3836 3837 // SetEncodingM3TSZ indicates an expected call of SetEncodingM3TSZ. 3838 func (mr *MockAdminOptionsMockRecorder) SetEncodingM3TSZ() *gomock.Call { 3839 mr.mock.ctrl.T.Helper() 3840 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingM3TSZ", reflect.TypeOf((*MockAdminOptions)(nil).SetEncodingM3TSZ)) 3841 } 3842 3843 // SetEncodingProto mocks base method. 3844 func (m *MockAdminOptions) SetEncodingProto(encodingOpts encoding.Options) Options { 3845 m.ctrl.T.Helper() 3846 ret := m.ctrl.Call(m, "SetEncodingProto", encodingOpts) 3847 ret0, _ := ret[0].(Options) 3848 return ret0 3849 } 3850 3851 // SetEncodingProto indicates an expected call of SetEncodingProto. 3852 func (mr *MockAdminOptionsMockRecorder) SetEncodingProto(encodingOpts interface{}) *gomock.Call { 3853 mr.mock.ctrl.T.Helper() 3854 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingProto", reflect.TypeOf((*MockAdminOptions)(nil).SetEncodingProto), encodingOpts) 3855 } 3856 3857 // SetFetchBatchOpPoolSize mocks base method. 3858 func (m *MockAdminOptions) SetFetchBatchOpPoolSize(value pool.Size) Options { 3859 m.ctrl.T.Helper() 3860 ret := m.ctrl.Call(m, "SetFetchBatchOpPoolSize", value) 3861 ret0, _ := ret[0].(Options) 3862 return ret0 3863 } 3864 3865 // SetFetchBatchOpPoolSize indicates an expected call of SetFetchBatchOpPoolSize. 3866 func (mr *MockAdminOptionsMockRecorder) SetFetchBatchOpPoolSize(value interface{}) *gomock.Call { 3867 mr.mock.ctrl.T.Helper() 3868 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchBatchOpPoolSize), value) 3869 } 3870 3871 // SetFetchBatchSize mocks base method. 3872 func (m *MockAdminOptions) SetFetchBatchSize(value int) Options { 3873 m.ctrl.T.Helper() 3874 ret := m.ctrl.Call(m, "SetFetchBatchSize", value) 3875 ret0, _ := ret[0].(Options) 3876 return ret0 3877 } 3878 3879 // SetFetchBatchSize indicates an expected call of SetFetchBatchSize. 3880 func (mr *MockAdminOptionsMockRecorder) SetFetchBatchSize(value interface{}) *gomock.Call { 3881 mr.mock.ctrl.T.Helper() 3882 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchBatchSize), value) 3883 } 3884 3885 // SetFetchRequestTimeout mocks base method. 3886 func (m *MockAdminOptions) SetFetchRequestTimeout(value time.Duration) Options { 3887 m.ctrl.T.Helper() 3888 ret := m.ctrl.Call(m, "SetFetchRequestTimeout", value) 3889 ret0, _ := ret[0].(Options) 3890 return ret0 3891 } 3892 3893 // SetFetchRequestTimeout indicates an expected call of SetFetchRequestTimeout. 3894 func (mr *MockAdminOptionsMockRecorder) SetFetchRequestTimeout(value interface{}) *gomock.Call { 3895 mr.mock.ctrl.T.Helper() 3896 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchRequestTimeout), value) 3897 } 3898 3899 // SetFetchRetrier mocks base method. 3900 func (m *MockAdminOptions) SetFetchRetrier(value retry.Retrier) Options { 3901 m.ctrl.T.Helper() 3902 ret := m.ctrl.Call(m, "SetFetchRetrier", value) 3903 ret0, _ := ret[0].(Options) 3904 return ret0 3905 } 3906 3907 // SetFetchRetrier indicates an expected call of SetFetchRetrier. 3908 func (mr *MockAdminOptionsMockRecorder) SetFetchRetrier(value interface{}) *gomock.Call { 3909 mr.mock.ctrl.T.Helper() 3910 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRetrier", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchRetrier), value) 3911 } 3912 3913 // SetFetchSeriesBlocksBatchConcurrency mocks base method. 3914 func (m *MockAdminOptions) SetFetchSeriesBlocksBatchConcurrency(value int) AdminOptions { 3915 m.ctrl.T.Helper() 3916 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksBatchConcurrency", value) 3917 ret0, _ := ret[0].(AdminOptions) 3918 return ret0 3919 } 3920 3921 // SetFetchSeriesBlocksBatchConcurrency indicates an expected call of SetFetchSeriesBlocksBatchConcurrency. 3922 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksBatchConcurrency(value interface{}) *gomock.Call { 3923 mr.mock.ctrl.T.Helper() 3924 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksBatchConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksBatchConcurrency), value) 3925 } 3926 3927 // SetFetchSeriesBlocksBatchSize mocks base method. 3928 func (m *MockAdminOptions) SetFetchSeriesBlocksBatchSize(value int) AdminOptions { 3929 m.ctrl.T.Helper() 3930 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksBatchSize", value) 3931 ret0, _ := ret[0].(AdminOptions) 3932 return ret0 3933 } 3934 3935 // SetFetchSeriesBlocksBatchSize indicates an expected call of SetFetchSeriesBlocksBatchSize. 3936 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksBatchSize(value interface{}) *gomock.Call { 3937 mr.mock.ctrl.T.Helper() 3938 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksBatchSize), value) 3939 } 3940 3941 // SetFetchSeriesBlocksBatchTimeout mocks base method. 3942 func (m *MockAdminOptions) SetFetchSeriesBlocksBatchTimeout(value time.Duration) AdminOptions { 3943 m.ctrl.T.Helper() 3944 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksBatchTimeout", value) 3945 ret0, _ := ret[0].(AdminOptions) 3946 return ret0 3947 } 3948 3949 // SetFetchSeriesBlocksBatchTimeout indicates an expected call of SetFetchSeriesBlocksBatchTimeout. 3950 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksBatchTimeout(value interface{}) *gomock.Call { 3951 mr.mock.ctrl.T.Helper() 3952 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksBatchTimeout), value) 3953 } 3954 3955 // SetFetchSeriesBlocksMaxBlockRetries mocks base method. 3956 func (m *MockAdminOptions) SetFetchSeriesBlocksMaxBlockRetries(value int) AdminOptions { 3957 m.ctrl.T.Helper() 3958 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksMaxBlockRetries", value) 3959 ret0, _ := ret[0].(AdminOptions) 3960 return ret0 3961 } 3962 3963 // SetFetchSeriesBlocksMaxBlockRetries indicates an expected call of SetFetchSeriesBlocksMaxBlockRetries. 3964 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksMaxBlockRetries(value interface{}) *gomock.Call { 3965 mr.mock.ctrl.T.Helper() 3966 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksMaxBlockRetries", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksMaxBlockRetries), value) 3967 } 3968 3969 // SetFetchSeriesBlocksMetadataBatchTimeout mocks base method. 3970 func (m *MockAdminOptions) SetFetchSeriesBlocksMetadataBatchTimeout(value time.Duration) AdminOptions { 3971 m.ctrl.T.Helper() 3972 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksMetadataBatchTimeout", value) 3973 ret0, _ := ret[0].(AdminOptions) 3974 return ret0 3975 } 3976 3977 // SetFetchSeriesBlocksMetadataBatchTimeout indicates an expected call of SetFetchSeriesBlocksMetadataBatchTimeout. 3978 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksMetadataBatchTimeout(value interface{}) *gomock.Call { 3979 mr.mock.ctrl.T.Helper() 3980 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksMetadataBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksMetadataBatchTimeout), value) 3981 } 3982 3983 // SetHostConnectTimeout mocks base method. 3984 func (m *MockAdminOptions) SetHostConnectTimeout(value time.Duration) Options { 3985 m.ctrl.T.Helper() 3986 ret := m.ctrl.Call(m, "SetHostConnectTimeout", value) 3987 ret0, _ := ret[0].(Options) 3988 return ret0 3989 } 3990 3991 // SetHostConnectTimeout indicates an expected call of SetHostConnectTimeout. 3992 func (mr *MockAdminOptionsMockRecorder) SetHostConnectTimeout(value interface{}) *gomock.Call { 3993 mr.mock.ctrl.T.Helper() 3994 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetHostConnectTimeout), value) 3995 } 3996 3997 // SetHostQueueEmitsHealthStatus mocks base method. 3998 func (m *MockAdminOptions) SetHostQueueEmitsHealthStatus(value bool) Options { 3999 m.ctrl.T.Helper() 4000 ret := m.ctrl.Call(m, "SetHostQueueEmitsHealthStatus", value) 4001 ret0, _ := ret[0].(Options) 4002 return ret0 4003 } 4004 4005 // SetHostQueueEmitsHealthStatus indicates an expected call of SetHostQueueEmitsHealthStatus. 4006 func (mr *MockAdminOptionsMockRecorder) SetHostQueueEmitsHealthStatus(value interface{}) *gomock.Call { 4007 mr.mock.ctrl.T.Helper() 4008 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueEmitsHealthStatus", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueEmitsHealthStatus), value) 4009 } 4010 4011 // SetHostQueueNewPooledWorkerFn mocks base method. 4012 func (m *MockAdminOptions) SetHostQueueNewPooledWorkerFn(value sync.NewPooledWorkerFn) Options { 4013 m.ctrl.T.Helper() 4014 ret := m.ctrl.Call(m, "SetHostQueueNewPooledWorkerFn", value) 4015 ret0, _ := ret[0].(Options) 4016 return ret0 4017 } 4018 4019 // SetHostQueueNewPooledWorkerFn indicates an expected call of SetHostQueueNewPooledWorkerFn. 4020 func (mr *MockAdminOptionsMockRecorder) SetHostQueueNewPooledWorkerFn(value interface{}) *gomock.Call { 4021 mr.mock.ctrl.T.Helper() 4022 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueNewPooledWorkerFn", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueNewPooledWorkerFn), value) 4023 } 4024 4025 // SetHostQueueOpsArrayPoolSize mocks base method. 4026 func (m *MockAdminOptions) SetHostQueueOpsArrayPoolSize(value pool.Size) Options { 4027 m.ctrl.T.Helper() 4028 ret := m.ctrl.Call(m, "SetHostQueueOpsArrayPoolSize", value) 4029 ret0, _ := ret[0].(Options) 4030 return ret0 4031 } 4032 4033 // SetHostQueueOpsArrayPoolSize indicates an expected call of SetHostQueueOpsArrayPoolSize. 4034 func (mr *MockAdminOptionsMockRecorder) SetHostQueueOpsArrayPoolSize(value interface{}) *gomock.Call { 4035 mr.mock.ctrl.T.Helper() 4036 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsArrayPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueOpsArrayPoolSize), value) 4037 } 4038 4039 // SetHostQueueOpsFlushInterval mocks base method. 4040 func (m *MockAdminOptions) SetHostQueueOpsFlushInterval(value time.Duration) Options { 4041 m.ctrl.T.Helper() 4042 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushInterval", value) 4043 ret0, _ := ret[0].(Options) 4044 return ret0 4045 } 4046 4047 // SetHostQueueOpsFlushInterval indicates an expected call of SetHostQueueOpsFlushInterval. 4048 func (mr *MockAdminOptionsMockRecorder) SetHostQueueOpsFlushInterval(value interface{}) *gomock.Call { 4049 mr.mock.ctrl.T.Helper() 4050 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushInterval", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueOpsFlushInterval), value) 4051 } 4052 4053 // SetHostQueueOpsFlushSize mocks base method. 4054 func (m *MockAdminOptions) SetHostQueueOpsFlushSize(value int) Options { 4055 m.ctrl.T.Helper() 4056 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushSize", value) 4057 ret0, _ := ret[0].(Options) 4058 return ret0 4059 } 4060 4061 // SetHostQueueOpsFlushSize indicates an expected call of SetHostQueueOpsFlushSize. 4062 func (mr *MockAdminOptionsMockRecorder) SetHostQueueOpsFlushSize(value interface{}) *gomock.Call { 4063 mr.mock.ctrl.T.Helper() 4064 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushSize", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueOpsFlushSize), value) 4065 } 4066 4067 // SetIdentifierPool mocks base method. 4068 func (m *MockAdminOptions) SetIdentifierPool(value ident.Pool) Options { 4069 m.ctrl.T.Helper() 4070 ret := m.ctrl.Call(m, "SetIdentifierPool", value) 4071 ret0, _ := ret[0].(Options) 4072 return ret0 4073 } 4074 4075 // SetIdentifierPool indicates an expected call of SetIdentifierPool. 4076 func (mr *MockAdminOptionsMockRecorder) SetIdentifierPool(value interface{}) *gomock.Call { 4077 mr.mock.ctrl.T.Helper() 4078 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIdentifierPool", reflect.TypeOf((*MockAdminOptions)(nil).SetIdentifierPool), value) 4079 } 4080 4081 // SetInstrumentOptions mocks base method. 4082 func (m *MockAdminOptions) SetInstrumentOptions(value instrument.Options) Options { 4083 m.ctrl.T.Helper() 4084 ret := m.ctrl.Call(m, "SetInstrumentOptions", value) 4085 ret0, _ := ret[0].(Options) 4086 return ret0 4087 } 4088 4089 // SetInstrumentOptions indicates an expected call of SetInstrumentOptions. 4090 func (mr *MockAdminOptionsMockRecorder) SetInstrumentOptions(value interface{}) *gomock.Call { 4091 mr.mock.ctrl.T.Helper() 4092 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetInstrumentOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetInstrumentOptions), value) 4093 } 4094 4095 // SetIterationOptions mocks base method. 4096 func (m *MockAdminOptions) SetIterationOptions(arg0 index.IterationOptions) Options { 4097 m.ctrl.T.Helper() 4098 ret := m.ctrl.Call(m, "SetIterationOptions", arg0) 4099 ret0, _ := ret[0].(Options) 4100 return ret0 4101 } 4102 4103 // SetIterationOptions indicates an expected call of SetIterationOptions. 4104 func (mr *MockAdminOptionsMockRecorder) SetIterationOptions(arg0 interface{}) *gomock.Call { 4105 mr.mock.ctrl.T.Helper() 4106 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIterationOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetIterationOptions), arg0) 4107 } 4108 4109 // SetLogErrorSampleRate mocks base method. 4110 func (m *MockAdminOptions) SetLogErrorSampleRate(value sampler.Rate) Options { 4111 m.ctrl.T.Helper() 4112 ret := m.ctrl.Call(m, "SetLogErrorSampleRate", value) 4113 ret0, _ := ret[0].(Options) 4114 return ret0 4115 } 4116 4117 // SetLogErrorSampleRate indicates an expected call of SetLogErrorSampleRate. 4118 func (mr *MockAdminOptionsMockRecorder) SetLogErrorSampleRate(value interface{}) *gomock.Call { 4119 mr.mock.ctrl.T.Helper() 4120 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).SetLogErrorSampleRate), value) 4121 } 4122 4123 // SetLogHostFetchErrorSampleRate mocks base method. 4124 func (m *MockAdminOptions) SetLogHostFetchErrorSampleRate(value sampler.Rate) Options { 4125 m.ctrl.T.Helper() 4126 ret := m.ctrl.Call(m, "SetLogHostFetchErrorSampleRate", value) 4127 ret0, _ := ret[0].(Options) 4128 return ret0 4129 } 4130 4131 // SetLogHostFetchErrorSampleRate indicates an expected call of SetLogHostFetchErrorSampleRate. 4132 func (mr *MockAdminOptionsMockRecorder) SetLogHostFetchErrorSampleRate(value interface{}) *gomock.Call { 4133 mr.mock.ctrl.T.Helper() 4134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogHostFetchErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).SetLogHostFetchErrorSampleRate), value) 4135 } 4136 4137 // SetLogHostWriteErrorSampleRate mocks base method. 4138 func (m *MockAdminOptions) SetLogHostWriteErrorSampleRate(value sampler.Rate) Options { 4139 m.ctrl.T.Helper() 4140 ret := m.ctrl.Call(m, "SetLogHostWriteErrorSampleRate", value) 4141 ret0, _ := ret[0].(Options) 4142 return ret0 4143 } 4144 4145 // SetLogHostWriteErrorSampleRate indicates an expected call of SetLogHostWriteErrorSampleRate. 4146 func (mr *MockAdminOptionsMockRecorder) SetLogHostWriteErrorSampleRate(value interface{}) *gomock.Call { 4147 mr.mock.ctrl.T.Helper() 4148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogHostWriteErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).SetLogHostWriteErrorSampleRate), value) 4149 } 4150 4151 // SetMaxConnectionCount mocks base method. 4152 func (m *MockAdminOptions) SetMaxConnectionCount(value int) Options { 4153 m.ctrl.T.Helper() 4154 ret := m.ctrl.Call(m, "SetMaxConnectionCount", value) 4155 ret0, _ := ret[0].(Options) 4156 return ret0 4157 } 4158 4159 // SetMaxConnectionCount indicates an expected call of SetMaxConnectionCount. 4160 func (mr *MockAdminOptionsMockRecorder) SetMaxConnectionCount(value interface{}) *gomock.Call { 4161 mr.mock.ctrl.T.Helper() 4162 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMaxConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).SetMaxConnectionCount), value) 4163 } 4164 4165 // SetMinConnectionCount mocks base method. 4166 func (m *MockAdminOptions) SetMinConnectionCount(value int) Options { 4167 m.ctrl.T.Helper() 4168 ret := m.ctrl.Call(m, "SetMinConnectionCount", value) 4169 ret0, _ := ret[0].(Options) 4170 return ret0 4171 } 4172 4173 // SetMinConnectionCount indicates an expected call of SetMinConnectionCount. 4174 func (mr *MockAdminOptionsMockRecorder) SetMinConnectionCount(value interface{}) *gomock.Call { 4175 mr.mock.ctrl.T.Helper() 4176 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMinConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).SetMinConnectionCount), value) 4177 } 4178 4179 // SetNamespaceInitializer mocks base method. 4180 func (m *MockAdminOptions) SetNamespaceInitializer(value namespace.Initializer) Options { 4181 m.ctrl.T.Helper() 4182 ret := m.ctrl.Call(m, "SetNamespaceInitializer", value) 4183 ret0, _ := ret[0].(Options) 4184 return ret0 4185 } 4186 4187 // SetNamespaceInitializer indicates an expected call of SetNamespaceInitializer. 4188 func (mr *MockAdminOptionsMockRecorder) SetNamespaceInitializer(value interface{}) *gomock.Call { 4189 mr.mock.ctrl.T.Helper() 4190 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespaceInitializer", reflect.TypeOf((*MockAdminOptions)(nil).SetNamespaceInitializer), value) 4191 } 4192 4193 // SetNewConnectionFn mocks base method. 4194 func (m *MockAdminOptions) SetNewConnectionFn(value NewConnectionFn) AdminOptions { 4195 m.ctrl.T.Helper() 4196 ret := m.ctrl.Call(m, "SetNewConnectionFn", value) 4197 ret0, _ := ret[0].(AdminOptions) 4198 return ret0 4199 } 4200 4201 // SetNewConnectionFn indicates an expected call of SetNewConnectionFn. 4202 func (mr *MockAdminOptionsMockRecorder) SetNewConnectionFn(value interface{}) *gomock.Call { 4203 mr.mock.ctrl.T.Helper() 4204 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNewConnectionFn", reflect.TypeOf((*MockAdminOptions)(nil).SetNewConnectionFn), value) 4205 } 4206 4207 // SetOrigin mocks base method. 4208 func (m *MockAdminOptions) SetOrigin(value topology.Host) AdminOptions { 4209 m.ctrl.T.Helper() 4210 ret := m.ctrl.Call(m, "SetOrigin", value) 4211 ret0, _ := ret[0].(AdminOptions) 4212 return ret0 4213 } 4214 4215 // SetOrigin indicates an expected call of SetOrigin. 4216 func (mr *MockAdminOptionsMockRecorder) SetOrigin(value interface{}) *gomock.Call { 4217 mr.mock.ctrl.T.Helper() 4218 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOrigin", reflect.TypeOf((*MockAdminOptions)(nil).SetOrigin), value) 4219 } 4220 4221 // SetReadConsistencyLevel mocks base method. 4222 func (m *MockAdminOptions) SetReadConsistencyLevel(value topology.ReadConsistencyLevel) Options { 4223 m.ctrl.T.Helper() 4224 ret := m.ctrl.Call(m, "SetReadConsistencyLevel", value) 4225 ret0, _ := ret[0].(Options) 4226 return ret0 4227 } 4228 4229 // SetReadConsistencyLevel indicates an expected call of SetReadConsistencyLevel. 4230 func (mr *MockAdminOptionsMockRecorder) SetReadConsistencyLevel(value interface{}) *gomock.Call { 4231 mr.mock.ctrl.T.Helper() 4232 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReadConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetReadConsistencyLevel), value) 4233 } 4234 4235 // SetReaderIteratorAllocate mocks base method. 4236 func (m *MockAdminOptions) SetReaderIteratorAllocate(value encoding.ReaderIteratorAllocate) Options { 4237 m.ctrl.T.Helper() 4238 ret := m.ctrl.Call(m, "SetReaderIteratorAllocate", value) 4239 ret0, _ := ret[0].(Options) 4240 return ret0 4241 } 4242 4243 // SetReaderIteratorAllocate indicates an expected call of SetReaderIteratorAllocate. 4244 func (mr *MockAdminOptionsMockRecorder) SetReaderIteratorAllocate(value interface{}) *gomock.Call { 4245 mr.mock.ctrl.T.Helper() 4246 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReaderIteratorAllocate", reflect.TypeOf((*MockAdminOptions)(nil).SetReaderIteratorAllocate), value) 4247 } 4248 4249 // SetRuntimeOptionsManager mocks base method. 4250 func (m *MockAdminOptions) SetRuntimeOptionsManager(value runtime.OptionsManager) Options { 4251 m.ctrl.T.Helper() 4252 ret := m.ctrl.Call(m, "SetRuntimeOptionsManager", value) 4253 ret0, _ := ret[0].(Options) 4254 return ret0 4255 } 4256 4257 // SetRuntimeOptionsManager indicates an expected call of SetRuntimeOptionsManager. 4258 func (mr *MockAdminOptionsMockRecorder) SetRuntimeOptionsManager(value interface{}) *gomock.Call { 4259 mr.mock.ctrl.T.Helper() 4260 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRuntimeOptionsManager", reflect.TypeOf((*MockAdminOptions)(nil).SetRuntimeOptionsManager), value) 4261 } 4262 4263 // SetSchemaRegistry mocks base method. 4264 func (m *MockAdminOptions) SetSchemaRegistry(registry namespace.SchemaRegistry) AdminOptions { 4265 m.ctrl.T.Helper() 4266 ret := m.ctrl.Call(m, "SetSchemaRegistry", registry) 4267 ret0, _ := ret[0].(AdminOptions) 4268 return ret0 4269 } 4270 4271 // SetSchemaRegistry indicates an expected call of SetSchemaRegistry. 4272 func (mr *MockAdminOptionsMockRecorder) SetSchemaRegistry(registry interface{}) *gomock.Call { 4273 mr.mock.ctrl.T.Helper() 4274 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaRegistry", reflect.TypeOf((*MockAdminOptions)(nil).SetSchemaRegistry), registry) 4275 } 4276 4277 // SetSeriesIteratorPoolSize mocks base method. 4278 func (m *MockAdminOptions) SetSeriesIteratorPoolSize(value pool.Size) Options { 4279 m.ctrl.T.Helper() 4280 ret := m.ctrl.Call(m, "SetSeriesIteratorPoolSize", value) 4281 ret0, _ := ret[0].(Options) 4282 return ret0 4283 } 4284 4285 // SetSeriesIteratorPoolSize indicates an expected call of SetSeriesIteratorPoolSize. 4286 func (mr *MockAdminOptionsMockRecorder) SetSeriesIteratorPoolSize(value interface{}) *gomock.Call { 4287 mr.mock.ctrl.T.Helper() 4288 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSeriesIteratorPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetSeriesIteratorPoolSize), value) 4289 } 4290 4291 // SetShardsLeavingAndInitializingCountTowardsConsistency mocks base method. 4292 func (m *MockAdminOptions) SetShardsLeavingAndInitializingCountTowardsConsistency(value bool) Options { 4293 m.ctrl.T.Helper() 4294 ret := m.ctrl.Call(m, "SetShardsLeavingAndInitializingCountTowardsConsistency", value) 4295 ret0, _ := ret[0].(Options) 4296 return ret0 4297 } 4298 4299 // SetShardsLeavingAndInitializingCountTowardsConsistency indicates an expected call of SetShardsLeavingAndInitializingCountTowardsConsistency. 4300 func (mr *MockAdminOptionsMockRecorder) SetShardsLeavingAndInitializingCountTowardsConsistency(value interface{}) *gomock.Call { 4301 mr.mock.ctrl.T.Helper() 4302 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetShardsLeavingAndInitializingCountTowardsConsistency", reflect.TypeOf((*MockAdminOptions)(nil).SetShardsLeavingAndInitializingCountTowardsConsistency), value) 4303 } 4304 4305 // SetShardsLeavingCountTowardsConsistency mocks base method. 4306 func (m *MockAdminOptions) SetShardsLeavingCountTowardsConsistency(value bool) Options { 4307 m.ctrl.T.Helper() 4308 ret := m.ctrl.Call(m, "SetShardsLeavingCountTowardsConsistency", value) 4309 ret0, _ := ret[0].(Options) 4310 return ret0 4311 } 4312 4313 // SetShardsLeavingCountTowardsConsistency indicates an expected call of SetShardsLeavingCountTowardsConsistency. 4314 func (mr *MockAdminOptionsMockRecorder) SetShardsLeavingCountTowardsConsistency(value interface{}) *gomock.Call { 4315 mr.mock.ctrl.T.Helper() 4316 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockAdminOptions)(nil).SetShardsLeavingCountTowardsConsistency), value) 4317 } 4318 4319 // SetStreamBlocksRetrier mocks base method. 4320 func (m *MockAdminOptions) SetStreamBlocksRetrier(value retry.Retrier) AdminOptions { 4321 m.ctrl.T.Helper() 4322 ret := m.ctrl.Call(m, "SetStreamBlocksRetrier", value) 4323 ret0, _ := ret[0].(AdminOptions) 4324 return ret0 4325 } 4326 4327 // SetStreamBlocksRetrier indicates an expected call of SetStreamBlocksRetrier. 4328 func (mr *MockAdminOptionsMockRecorder) SetStreamBlocksRetrier(value interface{}) *gomock.Call { 4329 mr.mock.ctrl.T.Helper() 4330 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetStreamBlocksRetrier", reflect.TypeOf((*MockAdminOptions)(nil).SetStreamBlocksRetrier), value) 4331 } 4332 4333 // SetTagDecoderOptions mocks base method. 4334 func (m *MockAdminOptions) SetTagDecoderOptions(value serialize.TagDecoderOptions) Options { 4335 m.ctrl.T.Helper() 4336 ret := m.ctrl.Call(m, "SetTagDecoderOptions", value) 4337 ret0, _ := ret[0].(Options) 4338 return ret0 4339 } 4340 4341 // SetTagDecoderOptions indicates an expected call of SetTagDecoderOptions. 4342 func (mr *MockAdminOptionsMockRecorder) SetTagDecoderOptions(value interface{}) *gomock.Call { 4343 mr.mock.ctrl.T.Helper() 4344 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetTagDecoderOptions), value) 4345 } 4346 4347 // SetTagDecoderPoolSize mocks base method. 4348 func (m *MockAdminOptions) SetTagDecoderPoolSize(value pool.Size) Options { 4349 m.ctrl.T.Helper() 4350 ret := m.ctrl.Call(m, "SetTagDecoderPoolSize", value) 4351 ret0, _ := ret[0].(Options) 4352 return ret0 4353 } 4354 4355 // SetTagDecoderPoolSize indicates an expected call of SetTagDecoderPoolSize. 4356 func (mr *MockAdminOptionsMockRecorder) SetTagDecoderPoolSize(value interface{}) *gomock.Call { 4357 mr.mock.ctrl.T.Helper() 4358 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetTagDecoderPoolSize), value) 4359 } 4360 4361 // SetTagEncoderOptions mocks base method. 4362 func (m *MockAdminOptions) SetTagEncoderOptions(value serialize.TagEncoderOptions) Options { 4363 m.ctrl.T.Helper() 4364 ret := m.ctrl.Call(m, "SetTagEncoderOptions", value) 4365 ret0, _ := ret[0].(Options) 4366 return ret0 4367 } 4368 4369 // SetTagEncoderOptions indicates an expected call of SetTagEncoderOptions. 4370 func (mr *MockAdminOptionsMockRecorder) SetTagEncoderOptions(value interface{}) *gomock.Call { 4371 mr.mock.ctrl.T.Helper() 4372 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetTagEncoderOptions), value) 4373 } 4374 4375 // SetTagEncoderPoolSize mocks base method. 4376 func (m *MockAdminOptions) SetTagEncoderPoolSize(value pool.Size) Options { 4377 m.ctrl.T.Helper() 4378 ret := m.ctrl.Call(m, "SetTagEncoderPoolSize", value) 4379 ret0, _ := ret[0].(Options) 4380 return ret0 4381 } 4382 4383 // SetTagEncoderPoolSize indicates an expected call of SetTagEncoderPoolSize. 4384 func (mr *MockAdminOptionsMockRecorder) SetTagEncoderPoolSize(value interface{}) *gomock.Call { 4385 mr.mock.ctrl.T.Helper() 4386 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetTagEncoderPoolSize), value) 4387 } 4388 4389 // SetThriftContextFn mocks base method. 4390 func (m *MockAdminOptions) SetThriftContextFn(value ThriftContextFn) Options { 4391 m.ctrl.T.Helper() 4392 ret := m.ctrl.Call(m, "SetThriftContextFn", value) 4393 ret0, _ := ret[0].(Options) 4394 return ret0 4395 } 4396 4397 // SetThriftContextFn indicates an expected call of SetThriftContextFn. 4398 func (mr *MockAdminOptionsMockRecorder) SetThriftContextFn(value interface{}) *gomock.Call { 4399 mr.mock.ctrl.T.Helper() 4400 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetThriftContextFn", reflect.TypeOf((*MockAdminOptions)(nil).SetThriftContextFn), value) 4401 } 4402 4403 // SetTopologyInitializer mocks base method. 4404 func (m *MockAdminOptions) SetTopologyInitializer(value topology.Initializer) Options { 4405 m.ctrl.T.Helper() 4406 ret := m.ctrl.Call(m, "SetTopologyInitializer", value) 4407 ret0, _ := ret[0].(Options) 4408 return ret0 4409 } 4410 4411 // SetTopologyInitializer indicates an expected call of SetTopologyInitializer. 4412 func (mr *MockAdminOptionsMockRecorder) SetTopologyInitializer(value interface{}) *gomock.Call { 4413 mr.mock.ctrl.T.Helper() 4414 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopologyInitializer", reflect.TypeOf((*MockAdminOptions)(nil).SetTopologyInitializer), value) 4415 } 4416 4417 // SetTruncateRequestTimeout mocks base method. 4418 func (m *MockAdminOptions) SetTruncateRequestTimeout(value time.Duration) Options { 4419 m.ctrl.T.Helper() 4420 ret := m.ctrl.Call(m, "SetTruncateRequestTimeout", value) 4421 ret0, _ := ret[0].(Options) 4422 return ret0 4423 } 4424 4425 // SetTruncateRequestTimeout indicates an expected call of SetTruncateRequestTimeout. 4426 func (mr *MockAdminOptionsMockRecorder) SetTruncateRequestTimeout(value interface{}) *gomock.Call { 4427 mr.mock.ctrl.T.Helper() 4428 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTruncateRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetTruncateRequestTimeout), value) 4429 } 4430 4431 // SetUseV2BatchAPIs mocks base method. 4432 func (m *MockAdminOptions) SetUseV2BatchAPIs(value bool) Options { 4433 m.ctrl.T.Helper() 4434 ret := m.ctrl.Call(m, "SetUseV2BatchAPIs", value) 4435 ret0, _ := ret[0].(Options) 4436 return ret0 4437 } 4438 4439 // SetUseV2BatchAPIs indicates an expected call of SetUseV2BatchAPIs. 4440 func (mr *MockAdminOptionsMockRecorder) SetUseV2BatchAPIs(value interface{}) *gomock.Call { 4441 mr.mock.ctrl.T.Helper() 4442 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUseV2BatchAPIs", reflect.TypeOf((*MockAdminOptions)(nil).SetUseV2BatchAPIs), value) 4443 } 4444 4445 // SetWriteBatchSize mocks base method. 4446 func (m *MockAdminOptions) SetWriteBatchSize(value int) Options { 4447 m.ctrl.T.Helper() 4448 ret := m.ctrl.Call(m, "SetWriteBatchSize", value) 4449 ret0, _ := ret[0].(Options) 4450 return ret0 4451 } 4452 4453 // SetWriteBatchSize indicates an expected call of SetWriteBatchSize. 4454 func (mr *MockAdminOptionsMockRecorder) SetWriteBatchSize(value interface{}) *gomock.Call { 4455 mr.mock.ctrl.T.Helper() 4456 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteBatchSize), value) 4457 } 4458 4459 // SetWriteConsistencyLevel mocks base method. 4460 func (m *MockAdminOptions) SetWriteConsistencyLevel(value topology.ConsistencyLevel) Options { 4461 m.ctrl.T.Helper() 4462 ret := m.ctrl.Call(m, "SetWriteConsistencyLevel", value) 4463 ret0, _ := ret[0].(Options) 4464 return ret0 4465 } 4466 4467 // SetWriteConsistencyLevel indicates an expected call of SetWriteConsistencyLevel. 4468 func (mr *MockAdminOptionsMockRecorder) SetWriteConsistencyLevel(value interface{}) *gomock.Call { 4469 mr.mock.ctrl.T.Helper() 4470 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteConsistencyLevel), value) 4471 } 4472 4473 // SetWriteOpPoolSize mocks base method. 4474 func (m *MockAdminOptions) SetWriteOpPoolSize(value pool.Size) Options { 4475 m.ctrl.T.Helper() 4476 ret := m.ctrl.Call(m, "SetWriteOpPoolSize", value) 4477 ret0, _ := ret[0].(Options) 4478 return ret0 4479 } 4480 4481 // SetWriteOpPoolSize indicates an expected call of SetWriteOpPoolSize. 4482 func (mr *MockAdminOptionsMockRecorder) SetWriteOpPoolSize(value interface{}) *gomock.Call { 4483 mr.mock.ctrl.T.Helper() 4484 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteOpPoolSize), value) 4485 } 4486 4487 // SetWriteRequestTimeout mocks base method. 4488 func (m *MockAdminOptions) SetWriteRequestTimeout(value time.Duration) Options { 4489 m.ctrl.T.Helper() 4490 ret := m.ctrl.Call(m, "SetWriteRequestTimeout", value) 4491 ret0, _ := ret[0].(Options) 4492 return ret0 4493 } 4494 4495 // SetWriteRequestTimeout indicates an expected call of SetWriteRequestTimeout. 4496 func (mr *MockAdminOptionsMockRecorder) SetWriteRequestTimeout(value interface{}) *gomock.Call { 4497 mr.mock.ctrl.T.Helper() 4498 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteRequestTimeout), value) 4499 } 4500 4501 // SetWriteRetrier mocks base method. 4502 func (m *MockAdminOptions) SetWriteRetrier(value retry.Retrier) Options { 4503 m.ctrl.T.Helper() 4504 ret := m.ctrl.Call(m, "SetWriteRetrier", value) 4505 ret0, _ := ret[0].(Options) 4506 return ret0 4507 } 4508 4509 // SetWriteRetrier indicates an expected call of SetWriteRetrier. 4510 func (mr *MockAdminOptionsMockRecorder) SetWriteRetrier(value interface{}) *gomock.Call { 4511 mr.mock.ctrl.T.Helper() 4512 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRetrier", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteRetrier), value) 4513 } 4514 4515 // SetWriteShardsInitializing mocks base method. 4516 func (m *MockAdminOptions) SetWriteShardsInitializing(value bool) Options { 4517 m.ctrl.T.Helper() 4518 ret := m.ctrl.Call(m, "SetWriteShardsInitializing", value) 4519 ret0, _ := ret[0].(Options) 4520 return ret0 4521 } 4522 4523 // SetWriteShardsInitializing indicates an expected call of SetWriteShardsInitializing. 4524 func (mr *MockAdminOptionsMockRecorder) SetWriteShardsInitializing(value interface{}) *gomock.Call { 4525 mr.mock.ctrl.T.Helper() 4526 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteShardsInitializing", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteShardsInitializing), value) 4527 } 4528 4529 // SetWriteTaggedOpPoolSize mocks base method. 4530 func (m *MockAdminOptions) SetWriteTaggedOpPoolSize(value pool.Size) Options { 4531 m.ctrl.T.Helper() 4532 ret := m.ctrl.Call(m, "SetWriteTaggedOpPoolSize", value) 4533 ret0, _ := ret[0].(Options) 4534 return ret0 4535 } 4536 4537 // SetWriteTaggedOpPoolSize indicates an expected call of SetWriteTaggedOpPoolSize. 4538 func (mr *MockAdminOptionsMockRecorder) SetWriteTaggedOpPoolSize(value interface{}) *gomock.Call { 4539 mr.mock.ctrl.T.Helper() 4540 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTaggedOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteTaggedOpPoolSize), value) 4541 } 4542 4543 // SetWriteTimestampOffset mocks base method. 4544 func (m *MockAdminOptions) SetWriteTimestampOffset(value time.Duration) AdminOptions { 4545 m.ctrl.T.Helper() 4546 ret := m.ctrl.Call(m, "SetWriteTimestampOffset", value) 4547 ret0, _ := ret[0].(AdminOptions) 4548 return ret0 4549 } 4550 4551 // SetWriteTimestampOffset indicates an expected call of SetWriteTimestampOffset. 4552 func (mr *MockAdminOptionsMockRecorder) SetWriteTimestampOffset(value interface{}) *gomock.Call { 4553 mr.mock.ctrl.T.Helper() 4554 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTimestampOffset", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteTimestampOffset), value) 4555 } 4556 4557 // ShardsLeavingAndInitializingCountTowardsConsistency mocks base method. 4558 func (m *MockAdminOptions) ShardsLeavingAndInitializingCountTowardsConsistency() bool { 4559 m.ctrl.T.Helper() 4560 ret := m.ctrl.Call(m, "ShardsLeavingAndInitializingCountTowardsConsistency") 4561 ret0, _ := ret[0].(bool) 4562 return ret0 4563 } 4564 4565 // ShardsLeavingAndInitializingCountTowardsConsistency indicates an expected call of ShardsLeavingAndInitializingCountTowardsConsistency. 4566 func (mr *MockAdminOptionsMockRecorder) ShardsLeavingAndInitializingCountTowardsConsistency() *gomock.Call { 4567 mr.mock.ctrl.T.Helper() 4568 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardsLeavingAndInitializingCountTowardsConsistency", reflect.TypeOf((*MockAdminOptions)(nil).ShardsLeavingAndInitializingCountTowardsConsistency)) 4569 } 4570 4571 // ShardsLeavingCountTowardsConsistency mocks base method. 4572 func (m *MockAdminOptions) ShardsLeavingCountTowardsConsistency() bool { 4573 m.ctrl.T.Helper() 4574 ret := m.ctrl.Call(m, "ShardsLeavingCountTowardsConsistency") 4575 ret0, _ := ret[0].(bool) 4576 return ret0 4577 } 4578 4579 // ShardsLeavingCountTowardsConsistency indicates an expected call of ShardsLeavingCountTowardsConsistency. 4580 func (mr *MockAdminOptionsMockRecorder) ShardsLeavingCountTowardsConsistency() *gomock.Call { 4581 mr.mock.ctrl.T.Helper() 4582 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockAdminOptions)(nil).ShardsLeavingCountTowardsConsistency)) 4583 } 4584 4585 // StreamBlocksRetrier mocks base method. 4586 func (m *MockAdminOptions) StreamBlocksRetrier() retry.Retrier { 4587 m.ctrl.T.Helper() 4588 ret := m.ctrl.Call(m, "StreamBlocksRetrier") 4589 ret0, _ := ret[0].(retry.Retrier) 4590 return ret0 4591 } 4592 4593 // StreamBlocksRetrier indicates an expected call of StreamBlocksRetrier. 4594 func (mr *MockAdminOptionsMockRecorder) StreamBlocksRetrier() *gomock.Call { 4595 mr.mock.ctrl.T.Helper() 4596 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamBlocksRetrier", reflect.TypeOf((*MockAdminOptions)(nil).StreamBlocksRetrier)) 4597 } 4598 4599 // TagDecoderOptions mocks base method. 4600 func (m *MockAdminOptions) TagDecoderOptions() serialize.TagDecoderOptions { 4601 m.ctrl.T.Helper() 4602 ret := m.ctrl.Call(m, "TagDecoderOptions") 4603 ret0, _ := ret[0].(serialize.TagDecoderOptions) 4604 return ret0 4605 } 4606 4607 // TagDecoderOptions indicates an expected call of TagDecoderOptions. 4608 func (mr *MockAdminOptionsMockRecorder) TagDecoderOptions() *gomock.Call { 4609 mr.mock.ctrl.T.Helper() 4610 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).TagDecoderOptions)) 4611 } 4612 4613 // TagDecoderPoolSize mocks base method. 4614 func (m *MockAdminOptions) TagDecoderPoolSize() pool.Size { 4615 m.ctrl.T.Helper() 4616 ret := m.ctrl.Call(m, "TagDecoderPoolSize") 4617 ret0, _ := ret[0].(pool.Size) 4618 return ret0 4619 } 4620 4621 // TagDecoderPoolSize indicates an expected call of TagDecoderPoolSize. 4622 func (mr *MockAdminOptionsMockRecorder) TagDecoderPoolSize() *gomock.Call { 4623 mr.mock.ctrl.T.Helper() 4624 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).TagDecoderPoolSize)) 4625 } 4626 4627 // TagEncoderOptions mocks base method. 4628 func (m *MockAdminOptions) TagEncoderOptions() serialize.TagEncoderOptions { 4629 m.ctrl.T.Helper() 4630 ret := m.ctrl.Call(m, "TagEncoderOptions") 4631 ret0, _ := ret[0].(serialize.TagEncoderOptions) 4632 return ret0 4633 } 4634 4635 // TagEncoderOptions indicates an expected call of TagEncoderOptions. 4636 func (mr *MockAdminOptionsMockRecorder) TagEncoderOptions() *gomock.Call { 4637 mr.mock.ctrl.T.Helper() 4638 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).TagEncoderOptions)) 4639 } 4640 4641 // TagEncoderPoolSize mocks base method. 4642 func (m *MockAdminOptions) TagEncoderPoolSize() pool.Size { 4643 m.ctrl.T.Helper() 4644 ret := m.ctrl.Call(m, "TagEncoderPoolSize") 4645 ret0, _ := ret[0].(pool.Size) 4646 return ret0 4647 } 4648 4649 // TagEncoderPoolSize indicates an expected call of TagEncoderPoolSize. 4650 func (mr *MockAdminOptionsMockRecorder) TagEncoderPoolSize() *gomock.Call { 4651 mr.mock.ctrl.T.Helper() 4652 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).TagEncoderPoolSize)) 4653 } 4654 4655 // ThriftContextFn mocks base method. 4656 func (m *MockAdminOptions) ThriftContextFn() ThriftContextFn { 4657 m.ctrl.T.Helper() 4658 ret := m.ctrl.Call(m, "ThriftContextFn") 4659 ret0, _ := ret[0].(ThriftContextFn) 4660 return ret0 4661 } 4662 4663 // ThriftContextFn indicates an expected call of ThriftContextFn. 4664 func (mr *MockAdminOptionsMockRecorder) ThriftContextFn() *gomock.Call { 4665 mr.mock.ctrl.T.Helper() 4666 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ThriftContextFn", reflect.TypeOf((*MockAdminOptions)(nil).ThriftContextFn)) 4667 } 4668 4669 // TopologyInitializer mocks base method. 4670 func (m *MockAdminOptions) TopologyInitializer() topology.Initializer { 4671 m.ctrl.T.Helper() 4672 ret := m.ctrl.Call(m, "TopologyInitializer") 4673 ret0, _ := ret[0].(topology.Initializer) 4674 return ret0 4675 } 4676 4677 // TopologyInitializer indicates an expected call of TopologyInitializer. 4678 func (mr *MockAdminOptionsMockRecorder) TopologyInitializer() *gomock.Call { 4679 mr.mock.ctrl.T.Helper() 4680 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyInitializer", reflect.TypeOf((*MockAdminOptions)(nil).TopologyInitializer)) 4681 } 4682 4683 // TruncateRequestTimeout mocks base method. 4684 func (m *MockAdminOptions) TruncateRequestTimeout() time.Duration { 4685 m.ctrl.T.Helper() 4686 ret := m.ctrl.Call(m, "TruncateRequestTimeout") 4687 ret0, _ := ret[0].(time.Duration) 4688 return ret0 4689 } 4690 4691 // TruncateRequestTimeout indicates an expected call of TruncateRequestTimeout. 4692 func (mr *MockAdminOptionsMockRecorder) TruncateRequestTimeout() *gomock.Call { 4693 mr.mock.ctrl.T.Helper() 4694 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TruncateRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).TruncateRequestTimeout)) 4695 } 4696 4697 // UseV2BatchAPIs mocks base method. 4698 func (m *MockAdminOptions) UseV2BatchAPIs() bool { 4699 m.ctrl.T.Helper() 4700 ret := m.ctrl.Call(m, "UseV2BatchAPIs") 4701 ret0, _ := ret[0].(bool) 4702 return ret0 4703 } 4704 4705 // UseV2BatchAPIs indicates an expected call of UseV2BatchAPIs. 4706 func (mr *MockAdminOptionsMockRecorder) UseV2BatchAPIs() *gomock.Call { 4707 mr.mock.ctrl.T.Helper() 4708 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseV2BatchAPIs", reflect.TypeOf((*MockAdminOptions)(nil).UseV2BatchAPIs)) 4709 } 4710 4711 // Validate mocks base method. 4712 func (m *MockAdminOptions) Validate() error { 4713 m.ctrl.T.Helper() 4714 ret := m.ctrl.Call(m, "Validate") 4715 ret0, _ := ret[0].(error) 4716 return ret0 4717 } 4718 4719 // Validate indicates an expected call of Validate. 4720 func (mr *MockAdminOptionsMockRecorder) Validate() *gomock.Call { 4721 mr.mock.ctrl.T.Helper() 4722 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockAdminOptions)(nil).Validate)) 4723 } 4724 4725 // WriteBatchSize mocks base method. 4726 func (m *MockAdminOptions) WriteBatchSize() int { 4727 m.ctrl.T.Helper() 4728 ret := m.ctrl.Call(m, "WriteBatchSize") 4729 ret0, _ := ret[0].(int) 4730 return ret0 4731 } 4732 4733 // WriteBatchSize indicates an expected call of WriteBatchSize. 4734 func (mr *MockAdminOptionsMockRecorder) WriteBatchSize() *gomock.Call { 4735 mr.mock.ctrl.T.Helper() 4736 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).WriteBatchSize)) 4737 } 4738 4739 // WriteConsistencyLevel mocks base method. 4740 func (m *MockAdminOptions) WriteConsistencyLevel() topology.ConsistencyLevel { 4741 m.ctrl.T.Helper() 4742 ret := m.ctrl.Call(m, "WriteConsistencyLevel") 4743 ret0, _ := ret[0].(topology.ConsistencyLevel) 4744 return ret0 4745 } 4746 4747 // WriteConsistencyLevel indicates an expected call of WriteConsistencyLevel. 4748 func (mr *MockAdminOptionsMockRecorder) WriteConsistencyLevel() *gomock.Call { 4749 mr.mock.ctrl.T.Helper() 4750 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).WriteConsistencyLevel)) 4751 } 4752 4753 // WriteOpPoolSize mocks base method. 4754 func (m *MockAdminOptions) WriteOpPoolSize() pool.Size { 4755 m.ctrl.T.Helper() 4756 ret := m.ctrl.Call(m, "WriteOpPoolSize") 4757 ret0, _ := ret[0].(pool.Size) 4758 return ret0 4759 } 4760 4761 // WriteOpPoolSize indicates an expected call of WriteOpPoolSize. 4762 func (mr *MockAdminOptionsMockRecorder) WriteOpPoolSize() *gomock.Call { 4763 mr.mock.ctrl.T.Helper() 4764 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).WriteOpPoolSize)) 4765 } 4766 4767 // WriteRequestTimeout mocks base method. 4768 func (m *MockAdminOptions) WriteRequestTimeout() time.Duration { 4769 m.ctrl.T.Helper() 4770 ret := m.ctrl.Call(m, "WriteRequestTimeout") 4771 ret0, _ := ret[0].(time.Duration) 4772 return ret0 4773 } 4774 4775 // WriteRequestTimeout indicates an expected call of WriteRequestTimeout. 4776 func (mr *MockAdminOptionsMockRecorder) WriteRequestTimeout() *gomock.Call { 4777 mr.mock.ctrl.T.Helper() 4778 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).WriteRequestTimeout)) 4779 } 4780 4781 // WriteRetrier mocks base method. 4782 func (m *MockAdminOptions) WriteRetrier() retry.Retrier { 4783 m.ctrl.T.Helper() 4784 ret := m.ctrl.Call(m, "WriteRetrier") 4785 ret0, _ := ret[0].(retry.Retrier) 4786 return ret0 4787 } 4788 4789 // WriteRetrier indicates an expected call of WriteRetrier. 4790 func (mr *MockAdminOptionsMockRecorder) WriteRetrier() *gomock.Call { 4791 mr.mock.ctrl.T.Helper() 4792 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRetrier", reflect.TypeOf((*MockAdminOptions)(nil).WriteRetrier)) 4793 } 4794 4795 // WriteShardsInitializing mocks base method. 4796 func (m *MockAdminOptions) WriteShardsInitializing() bool { 4797 m.ctrl.T.Helper() 4798 ret := m.ctrl.Call(m, "WriteShardsInitializing") 4799 ret0, _ := ret[0].(bool) 4800 return ret0 4801 } 4802 4803 // WriteShardsInitializing indicates an expected call of WriteShardsInitializing. 4804 func (mr *MockAdminOptionsMockRecorder) WriteShardsInitializing() *gomock.Call { 4805 mr.mock.ctrl.T.Helper() 4806 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteShardsInitializing", reflect.TypeOf((*MockAdminOptions)(nil).WriteShardsInitializing)) 4807 } 4808 4809 // WriteTaggedOpPoolSize mocks base method. 4810 func (m *MockAdminOptions) WriteTaggedOpPoolSize() pool.Size { 4811 m.ctrl.T.Helper() 4812 ret := m.ctrl.Call(m, "WriteTaggedOpPoolSize") 4813 ret0, _ := ret[0].(pool.Size) 4814 return ret0 4815 } 4816 4817 // WriteTaggedOpPoolSize indicates an expected call of WriteTaggedOpPoolSize. 4818 func (mr *MockAdminOptionsMockRecorder) WriteTaggedOpPoolSize() *gomock.Call { 4819 mr.mock.ctrl.T.Helper() 4820 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTaggedOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).WriteTaggedOpPoolSize)) 4821 } 4822 4823 // WriteTimestampOffset mocks base method. 4824 func (m *MockAdminOptions) WriteTimestampOffset() time.Duration { 4825 m.ctrl.T.Helper() 4826 ret := m.ctrl.Call(m, "WriteTimestampOffset") 4827 ret0, _ := ret[0].(time.Duration) 4828 return ret0 4829 } 4830 4831 // WriteTimestampOffset indicates an expected call of WriteTimestampOffset. 4832 func (mr *MockAdminOptionsMockRecorder) WriteTimestampOffset() *gomock.Call { 4833 mr.mock.ctrl.T.Helper() 4834 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTimestampOffset", reflect.TypeOf((*MockAdminOptions)(nil).WriteTimestampOffset)) 4835 } 4836 4837 // MockclientSession is a mock of clientSession interface. 4838 type MockclientSession struct { 4839 ctrl *gomock.Controller 4840 recorder *MockclientSessionMockRecorder 4841 } 4842 4843 // MockclientSessionMockRecorder is the mock recorder for MockclientSession. 4844 type MockclientSessionMockRecorder struct { 4845 mock *MockclientSession 4846 } 4847 4848 // NewMockclientSession creates a new mock instance. 4849 func NewMockclientSession(ctrl *gomock.Controller) *MockclientSession { 4850 mock := &MockclientSession{ctrl: ctrl} 4851 mock.recorder = &MockclientSessionMockRecorder{mock} 4852 return mock 4853 } 4854 4855 // EXPECT returns an object that allows the caller to indicate expected use. 4856 func (m *MockclientSession) EXPECT() *MockclientSessionMockRecorder { 4857 return m.recorder 4858 } 4859 4860 // Aggregate mocks base method. 4861 func (m *MockclientSession) Aggregate(ctx context.Context, namespace ident.ID, q index.Query, opts index.AggregationOptions) (AggregatedTagsIterator, FetchResponseMetadata, error) { 4862 m.ctrl.T.Helper() 4863 ret := m.ctrl.Call(m, "Aggregate", ctx, namespace, q, opts) 4864 ret0, _ := ret[0].(AggregatedTagsIterator) 4865 ret1, _ := ret[1].(FetchResponseMetadata) 4866 ret2, _ := ret[2].(error) 4867 return ret0, ret1, ret2 4868 } 4869 4870 // Aggregate indicates an expected call of Aggregate. 4871 func (mr *MockclientSessionMockRecorder) Aggregate(ctx, namespace, q, opts interface{}) *gomock.Call { 4872 mr.mock.ctrl.T.Helper() 4873 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregate", reflect.TypeOf((*MockclientSession)(nil).Aggregate), ctx, namespace, q, opts) 4874 } 4875 4876 // BorrowConnections mocks base method. 4877 func (m *MockclientSession) BorrowConnections(shardID uint32, fn WithBorrowConnectionFn, opts BorrowConnectionOptions) (BorrowConnectionsResult, error) { 4878 m.ctrl.T.Helper() 4879 ret := m.ctrl.Call(m, "BorrowConnections", shardID, fn, opts) 4880 ret0, _ := ret[0].(BorrowConnectionsResult) 4881 ret1, _ := ret[1].(error) 4882 return ret0, ret1 4883 } 4884 4885 // BorrowConnections indicates an expected call of BorrowConnections. 4886 func (mr *MockclientSessionMockRecorder) BorrowConnections(shardID, fn, opts interface{}) *gomock.Call { 4887 mr.mock.ctrl.T.Helper() 4888 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnections", reflect.TypeOf((*MockclientSession)(nil).BorrowConnections), shardID, fn, opts) 4889 } 4890 4891 // Close mocks base method. 4892 func (m *MockclientSession) Close() error { 4893 m.ctrl.T.Helper() 4894 ret := m.ctrl.Call(m, "Close") 4895 ret0, _ := ret[0].(error) 4896 return ret0 4897 } 4898 4899 // Close indicates an expected call of Close. 4900 func (mr *MockclientSessionMockRecorder) Close() *gomock.Call { 4901 mr.mock.ctrl.T.Helper() 4902 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockclientSession)(nil).Close)) 4903 } 4904 4905 // DedicatedConnection mocks base method. 4906 func (m *MockclientSession) DedicatedConnection(shardID uint32, opts DedicatedConnectionOptions) (rpc.TChanNode, Channel, error) { 4907 m.ctrl.T.Helper() 4908 ret := m.ctrl.Call(m, "DedicatedConnection", shardID, opts) 4909 ret0, _ := ret[0].(rpc.TChanNode) 4910 ret1, _ := ret[1].(Channel) 4911 ret2, _ := ret[2].(error) 4912 return ret0, ret1, ret2 4913 } 4914 4915 // DedicatedConnection indicates an expected call of DedicatedConnection. 4916 func (mr *MockclientSessionMockRecorder) DedicatedConnection(shardID, opts interface{}) *gomock.Call { 4917 mr.mock.ctrl.T.Helper() 4918 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DedicatedConnection", reflect.TypeOf((*MockclientSession)(nil).DedicatedConnection), shardID, opts) 4919 } 4920 4921 // Fetch mocks base method. 4922 func (m *MockclientSession) Fetch(namespace, id ident.ID, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterator, error) { 4923 m.ctrl.T.Helper() 4924 ret := m.ctrl.Call(m, "Fetch", namespace, id, startInclusive, endExclusive) 4925 ret0, _ := ret[0].(encoding.SeriesIterator) 4926 ret1, _ := ret[1].(error) 4927 return ret0, ret1 4928 } 4929 4930 // Fetch indicates an expected call of Fetch. 4931 func (mr *MockclientSessionMockRecorder) Fetch(namespace, id, startInclusive, endExclusive interface{}) *gomock.Call { 4932 mr.mock.ctrl.T.Helper() 4933 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockclientSession)(nil).Fetch), namespace, id, startInclusive, endExclusive) 4934 } 4935 4936 // FetchBlocksFromPeers mocks base method. 4937 func (m *MockclientSession) FetchBlocksFromPeers(namespace namespace.Metadata, shard uint32, consistencyLevel topology.ReadConsistencyLevel, metadatas []block.ReplicaMetadata, opts result.Options) (PeerBlocksIter, error) { 4938 m.ctrl.T.Helper() 4939 ret := m.ctrl.Call(m, "FetchBlocksFromPeers", namespace, shard, consistencyLevel, metadatas, opts) 4940 ret0, _ := ret[0].(PeerBlocksIter) 4941 ret1, _ := ret[1].(error) 4942 return ret0, ret1 4943 } 4944 4945 // FetchBlocksFromPeers indicates an expected call of FetchBlocksFromPeers. 4946 func (mr *MockclientSessionMockRecorder) FetchBlocksFromPeers(namespace, shard, consistencyLevel, metadatas, opts interface{}) *gomock.Call { 4947 mr.mock.ctrl.T.Helper() 4948 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBlocksFromPeers), namespace, shard, consistencyLevel, metadatas, opts) 4949 } 4950 4951 // FetchBlocksMetadataFromPeers mocks base method. 4952 func (m *MockclientSession) FetchBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, consistencyLevel topology.ReadConsistencyLevel, result result.Options) (PeerBlockMetadataIter, error) { 4953 m.ctrl.T.Helper() 4954 ret := m.ctrl.Call(m, "FetchBlocksMetadataFromPeers", namespace, shard, start, end, consistencyLevel, result) 4955 ret0, _ := ret[0].(PeerBlockMetadataIter) 4956 ret1, _ := ret[1].(error) 4957 return ret0, ret1 4958 } 4959 4960 // FetchBlocksMetadataFromPeers indicates an expected call of FetchBlocksMetadataFromPeers. 4961 func (mr *MockclientSessionMockRecorder) FetchBlocksMetadataFromPeers(namespace, shard, start, end, consistencyLevel, result interface{}) *gomock.Call { 4962 mr.mock.ctrl.T.Helper() 4963 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksMetadataFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBlocksMetadataFromPeers), namespace, shard, start, end, consistencyLevel, result) 4964 } 4965 4966 // FetchBootstrapBlocksFromPeers mocks base method. 4967 func (m *MockclientSession) FetchBootstrapBlocksFromPeers(namespace namespace.Metadata, shard uint32, start, end time0.UnixNano, opts result.Options) (result.ShardResult, error) { 4968 m.ctrl.T.Helper() 4969 ret := m.ctrl.Call(m, "FetchBootstrapBlocksFromPeers", namespace, shard, start, end, opts) 4970 ret0, _ := ret[0].(result.ShardResult) 4971 ret1, _ := ret[1].(error) 4972 return ret0, ret1 4973 } 4974 4975 // FetchBootstrapBlocksFromPeers indicates an expected call of FetchBootstrapBlocksFromPeers. 4976 func (mr *MockclientSessionMockRecorder) FetchBootstrapBlocksFromPeers(namespace, shard, start, end, opts interface{}) *gomock.Call { 4977 mr.mock.ctrl.T.Helper() 4978 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBootstrapBlocksFromPeers), namespace, shard, start, end, opts) 4979 } 4980 4981 // FetchBootstrapBlocksMetadataFromPeers mocks base method. 4982 func (m *MockclientSession) FetchBootstrapBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, result result.Options) (PeerBlockMetadataIter, error) { 4983 m.ctrl.T.Helper() 4984 ret := m.ctrl.Call(m, "FetchBootstrapBlocksMetadataFromPeers", namespace, shard, start, end, result) 4985 ret0, _ := ret[0].(PeerBlockMetadataIter) 4986 ret1, _ := ret[1].(error) 4987 return ret0, ret1 4988 } 4989 4990 // FetchBootstrapBlocksMetadataFromPeers indicates an expected call of FetchBootstrapBlocksMetadataFromPeers. 4991 func (mr *MockclientSessionMockRecorder) FetchBootstrapBlocksMetadataFromPeers(namespace, shard, start, end, result interface{}) *gomock.Call { 4992 mr.mock.ctrl.T.Helper() 4993 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksMetadataFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBootstrapBlocksMetadataFromPeers), namespace, shard, start, end, result) 4994 } 4995 4996 // FetchIDs mocks base method. 4997 func (m *MockclientSession) FetchIDs(namespace ident.ID, ids ident.Iterator, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterators, error) { 4998 m.ctrl.T.Helper() 4999 ret := m.ctrl.Call(m, "FetchIDs", namespace, ids, startInclusive, endExclusive) 5000 ret0, _ := ret[0].(encoding.SeriesIterators) 5001 ret1, _ := ret[1].(error) 5002 return ret0, ret1 5003 } 5004 5005 // FetchIDs indicates an expected call of FetchIDs. 5006 func (mr *MockclientSessionMockRecorder) FetchIDs(namespace, ids, startInclusive, endExclusive interface{}) *gomock.Call { 5007 mr.mock.ctrl.T.Helper() 5008 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchIDs", reflect.TypeOf((*MockclientSession)(nil).FetchIDs), namespace, ids, startInclusive, endExclusive) 5009 } 5010 5011 // FetchTagged mocks base method. 5012 func (m *MockclientSession) FetchTagged(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (encoding.SeriesIterators, FetchResponseMetadata, error) { 5013 m.ctrl.T.Helper() 5014 ret := m.ctrl.Call(m, "FetchTagged", ctx, namespace, q, opts) 5015 ret0, _ := ret[0].(encoding.SeriesIterators) 5016 ret1, _ := ret[1].(FetchResponseMetadata) 5017 ret2, _ := ret[2].(error) 5018 return ret0, ret1, ret2 5019 } 5020 5021 // FetchTagged indicates an expected call of FetchTagged. 5022 func (mr *MockclientSessionMockRecorder) FetchTagged(ctx, namespace, q, opts interface{}) *gomock.Call { 5023 mr.mock.ctrl.T.Helper() 5024 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTagged", reflect.TypeOf((*MockclientSession)(nil).FetchTagged), ctx, namespace, q, opts) 5025 } 5026 5027 // FetchTaggedIDs mocks base method. 5028 func (m *MockclientSession) FetchTaggedIDs(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (TaggedIDsIterator, FetchResponseMetadata, error) { 5029 m.ctrl.T.Helper() 5030 ret := m.ctrl.Call(m, "FetchTaggedIDs", ctx, namespace, q, opts) 5031 ret0, _ := ret[0].(TaggedIDsIterator) 5032 ret1, _ := ret[1].(FetchResponseMetadata) 5033 ret2, _ := ret[2].(error) 5034 return ret0, ret1, ret2 5035 } 5036 5037 // FetchTaggedIDs indicates an expected call of FetchTaggedIDs. 5038 func (mr *MockclientSessionMockRecorder) FetchTaggedIDs(ctx, namespace, q, opts interface{}) *gomock.Call { 5039 mr.mock.ctrl.T.Helper() 5040 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaggedIDs", reflect.TypeOf((*MockclientSession)(nil).FetchTaggedIDs), ctx, namespace, q, opts) 5041 } 5042 5043 // IteratorPools mocks base method. 5044 func (m *MockclientSession) IteratorPools() (encoding.IteratorPools, error) { 5045 m.ctrl.T.Helper() 5046 ret := m.ctrl.Call(m, "IteratorPools") 5047 ret0, _ := ret[0].(encoding.IteratorPools) 5048 ret1, _ := ret[1].(error) 5049 return ret0, ret1 5050 } 5051 5052 // IteratorPools indicates an expected call of IteratorPools. 5053 func (mr *MockclientSessionMockRecorder) IteratorPools() *gomock.Call { 5054 mr.mock.ctrl.T.Helper() 5055 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IteratorPools", reflect.TypeOf((*MockclientSession)(nil).IteratorPools)) 5056 } 5057 5058 // Open mocks base method. 5059 func (m *MockclientSession) Open() error { 5060 m.ctrl.T.Helper() 5061 ret := m.ctrl.Call(m, "Open") 5062 ret0, _ := ret[0].(error) 5063 return ret0 5064 } 5065 5066 // Open indicates an expected call of Open. 5067 func (mr *MockclientSessionMockRecorder) Open() *gomock.Call { 5068 mr.mock.ctrl.T.Helper() 5069 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockclientSession)(nil).Open)) 5070 } 5071 5072 // Origin mocks base method. 5073 func (m *MockclientSession) Origin() topology.Host { 5074 m.ctrl.T.Helper() 5075 ret := m.ctrl.Call(m, "Origin") 5076 ret0, _ := ret[0].(topology.Host) 5077 return ret0 5078 } 5079 5080 // Origin indicates an expected call of Origin. 5081 func (mr *MockclientSessionMockRecorder) Origin() *gomock.Call { 5082 mr.mock.ctrl.T.Helper() 5083 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Origin", reflect.TypeOf((*MockclientSession)(nil).Origin)) 5084 } 5085 5086 // ReadClusterAvailability mocks base method. 5087 func (m *MockclientSession) ReadClusterAvailability() (bool, error) { 5088 m.ctrl.T.Helper() 5089 ret := m.ctrl.Call(m, "ReadClusterAvailability") 5090 ret0, _ := ret[0].(bool) 5091 ret1, _ := ret[1].(error) 5092 return ret0, ret1 5093 } 5094 5095 // ReadClusterAvailability indicates an expected call of ReadClusterAvailability. 5096 func (mr *MockclientSessionMockRecorder) ReadClusterAvailability() *gomock.Call { 5097 mr.mock.ctrl.T.Helper() 5098 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadClusterAvailability", reflect.TypeOf((*MockclientSession)(nil).ReadClusterAvailability)) 5099 } 5100 5101 // Replicas mocks base method. 5102 func (m *MockclientSession) Replicas() int { 5103 m.ctrl.T.Helper() 5104 ret := m.ctrl.Call(m, "Replicas") 5105 ret0, _ := ret[0].(int) 5106 return ret0 5107 } 5108 5109 // Replicas indicates an expected call of Replicas. 5110 func (mr *MockclientSessionMockRecorder) Replicas() *gomock.Call { 5111 mr.mock.ctrl.T.Helper() 5112 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replicas", reflect.TypeOf((*MockclientSession)(nil).Replicas)) 5113 } 5114 5115 // ShardID mocks base method. 5116 func (m *MockclientSession) ShardID(id ident.ID) (uint32, error) { 5117 m.ctrl.T.Helper() 5118 ret := m.ctrl.Call(m, "ShardID", id) 5119 ret0, _ := ret[0].(uint32) 5120 ret1, _ := ret[1].(error) 5121 return ret0, ret1 5122 } 5123 5124 // ShardID indicates an expected call of ShardID. 5125 func (mr *MockclientSessionMockRecorder) ShardID(id interface{}) *gomock.Call { 5126 mr.mock.ctrl.T.Helper() 5127 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardID", reflect.TypeOf((*MockclientSession)(nil).ShardID), id) 5128 } 5129 5130 // TopologyMap mocks base method. 5131 func (m *MockclientSession) TopologyMap() (topology.Map, error) { 5132 m.ctrl.T.Helper() 5133 ret := m.ctrl.Call(m, "TopologyMap") 5134 ret0, _ := ret[0].(topology.Map) 5135 ret1, _ := ret[1].(error) 5136 return ret0, ret1 5137 } 5138 5139 // TopologyMap indicates an expected call of TopologyMap. 5140 func (mr *MockclientSessionMockRecorder) TopologyMap() *gomock.Call { 5141 mr.mock.ctrl.T.Helper() 5142 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyMap", reflect.TypeOf((*MockclientSession)(nil).TopologyMap)) 5143 } 5144 5145 // Truncate mocks base method. 5146 func (m *MockclientSession) Truncate(namespace ident.ID) (int64, error) { 5147 m.ctrl.T.Helper() 5148 ret := m.ctrl.Call(m, "Truncate", namespace) 5149 ret0, _ := ret[0].(int64) 5150 ret1, _ := ret[1].(error) 5151 return ret0, ret1 5152 } 5153 5154 // Truncate indicates an expected call of Truncate. 5155 func (mr *MockclientSessionMockRecorder) Truncate(namespace interface{}) *gomock.Call { 5156 mr.mock.ctrl.T.Helper() 5157 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Truncate", reflect.TypeOf((*MockclientSession)(nil).Truncate), namespace) 5158 } 5159 5160 // Write mocks base method. 5161 func (m *MockclientSession) Write(namespace, id ident.ID, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 5162 m.ctrl.T.Helper() 5163 ret := m.ctrl.Call(m, "Write", namespace, id, t, value, unit, annotation) 5164 ret0, _ := ret[0].(error) 5165 return ret0 5166 } 5167 5168 // Write indicates an expected call of Write. 5169 func (mr *MockclientSessionMockRecorder) Write(namespace, id, t, value, unit, annotation interface{}) *gomock.Call { 5170 mr.mock.ctrl.T.Helper() 5171 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockclientSession)(nil).Write), namespace, id, t, value, unit, annotation) 5172 } 5173 5174 // WriteClusterAvailability mocks base method. 5175 func (m *MockclientSession) WriteClusterAvailability() (bool, error) { 5176 m.ctrl.T.Helper() 5177 ret := m.ctrl.Call(m, "WriteClusterAvailability") 5178 ret0, _ := ret[0].(bool) 5179 ret1, _ := ret[1].(error) 5180 return ret0, ret1 5181 } 5182 5183 // WriteClusterAvailability indicates an expected call of WriteClusterAvailability. 5184 func (mr *MockclientSessionMockRecorder) WriteClusterAvailability() *gomock.Call { 5185 mr.mock.ctrl.T.Helper() 5186 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteClusterAvailability", reflect.TypeOf((*MockclientSession)(nil).WriteClusterAvailability)) 5187 } 5188 5189 // WriteTagged mocks base method. 5190 func (m *MockclientSession) WriteTagged(namespace, id ident.ID, tags ident.TagIterator, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 5191 m.ctrl.T.Helper() 5192 ret := m.ctrl.Call(m, "WriteTagged", namespace, id, tags, t, value, unit, annotation) 5193 ret0, _ := ret[0].(error) 5194 return ret0 5195 } 5196 5197 // WriteTagged indicates an expected call of WriteTagged. 5198 func (mr *MockclientSessionMockRecorder) WriteTagged(namespace, id, tags, t, value, unit, annotation interface{}) *gomock.Call { 5199 mr.mock.ctrl.T.Helper() 5200 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTagged", reflect.TypeOf((*MockclientSession)(nil).WriteTagged), namespace, id, tags, t, value, unit, annotation) 5201 } 5202 5203 // MockhostQueue is a mock of hostQueue interface. 5204 type MockhostQueue struct { 5205 ctrl *gomock.Controller 5206 recorder *MockhostQueueMockRecorder 5207 } 5208 5209 // MockhostQueueMockRecorder is the mock recorder for MockhostQueue. 5210 type MockhostQueueMockRecorder struct { 5211 mock *MockhostQueue 5212 } 5213 5214 // NewMockhostQueue creates a new mock instance. 5215 func NewMockhostQueue(ctrl *gomock.Controller) *MockhostQueue { 5216 mock := &MockhostQueue{ctrl: ctrl} 5217 mock.recorder = &MockhostQueueMockRecorder{mock} 5218 return mock 5219 } 5220 5221 // EXPECT returns an object that allows the caller to indicate expected use. 5222 func (m *MockhostQueue) EXPECT() *MockhostQueueMockRecorder { 5223 return m.recorder 5224 } 5225 5226 // BorrowConnection mocks base method. 5227 func (m *MockhostQueue) BorrowConnection(fn WithConnectionFn) error { 5228 m.ctrl.T.Helper() 5229 ret := m.ctrl.Call(m, "BorrowConnection", fn) 5230 ret0, _ := ret[0].(error) 5231 return ret0 5232 } 5233 5234 // BorrowConnection indicates an expected call of BorrowConnection. 5235 func (mr *MockhostQueueMockRecorder) BorrowConnection(fn interface{}) *gomock.Call { 5236 mr.mock.ctrl.T.Helper() 5237 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnection", reflect.TypeOf((*MockhostQueue)(nil).BorrowConnection), fn) 5238 } 5239 5240 // Close mocks base method. 5241 func (m *MockhostQueue) Close() { 5242 m.ctrl.T.Helper() 5243 m.ctrl.Call(m, "Close") 5244 } 5245 5246 // Close indicates an expected call of Close. 5247 func (mr *MockhostQueueMockRecorder) Close() *gomock.Call { 5248 mr.mock.ctrl.T.Helper() 5249 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockhostQueue)(nil).Close)) 5250 } 5251 5252 // ConnectionCount mocks base method. 5253 func (m *MockhostQueue) ConnectionCount() int { 5254 m.ctrl.T.Helper() 5255 ret := m.ctrl.Call(m, "ConnectionCount") 5256 ret0, _ := ret[0].(int) 5257 return ret0 5258 } 5259 5260 // ConnectionCount indicates an expected call of ConnectionCount. 5261 func (mr *MockhostQueueMockRecorder) ConnectionCount() *gomock.Call { 5262 mr.mock.ctrl.T.Helper() 5263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionCount", reflect.TypeOf((*MockhostQueue)(nil).ConnectionCount)) 5264 } 5265 5266 // ConnectionPool mocks base method. 5267 func (m *MockhostQueue) ConnectionPool() connectionPool { 5268 m.ctrl.T.Helper() 5269 ret := m.ctrl.Call(m, "ConnectionPool") 5270 ret0, _ := ret[0].(connectionPool) 5271 return ret0 5272 } 5273 5274 // ConnectionPool indicates an expected call of ConnectionPool. 5275 func (mr *MockhostQueueMockRecorder) ConnectionPool() *gomock.Call { 5276 mr.mock.ctrl.T.Helper() 5277 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionPool", reflect.TypeOf((*MockhostQueue)(nil).ConnectionPool)) 5278 } 5279 5280 // Enqueue mocks base method. 5281 func (m *MockhostQueue) Enqueue(op op) error { 5282 m.ctrl.T.Helper() 5283 ret := m.ctrl.Call(m, "Enqueue", op) 5284 ret0, _ := ret[0].(error) 5285 return ret0 5286 } 5287 5288 // Enqueue indicates an expected call of Enqueue. 5289 func (mr *MockhostQueueMockRecorder) Enqueue(op interface{}) *gomock.Call { 5290 mr.mock.ctrl.T.Helper() 5291 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Enqueue", reflect.TypeOf((*MockhostQueue)(nil).Enqueue), op) 5292 } 5293 5294 // Host mocks base method. 5295 func (m *MockhostQueue) Host() topology.Host { 5296 m.ctrl.T.Helper() 5297 ret := m.ctrl.Call(m, "Host") 5298 ret0, _ := ret[0].(topology.Host) 5299 return ret0 5300 } 5301 5302 // Host indicates an expected call of Host. 5303 func (mr *MockhostQueueMockRecorder) Host() *gomock.Call { 5304 mr.mock.ctrl.T.Helper() 5305 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Host", reflect.TypeOf((*MockhostQueue)(nil).Host)) 5306 } 5307 5308 // Len mocks base method. 5309 func (m *MockhostQueue) Len() int { 5310 m.ctrl.T.Helper() 5311 ret := m.ctrl.Call(m, "Len") 5312 ret0, _ := ret[0].(int) 5313 return ret0 5314 } 5315 5316 // Len indicates an expected call of Len. 5317 func (mr *MockhostQueueMockRecorder) Len() *gomock.Call { 5318 mr.mock.ctrl.T.Helper() 5319 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockhostQueue)(nil).Len)) 5320 } 5321 5322 // Open mocks base method. 5323 func (m *MockhostQueue) Open() { 5324 m.ctrl.T.Helper() 5325 m.ctrl.Call(m, "Open") 5326 } 5327 5328 // Open indicates an expected call of Open. 5329 func (mr *MockhostQueueMockRecorder) Open() *gomock.Call { 5330 mr.mock.ctrl.T.Helper() 5331 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockhostQueue)(nil).Open)) 5332 } 5333 5334 // MockChannel is a mock of Channel interface. 5335 type MockChannel struct { 5336 ctrl *gomock.Controller 5337 recorder *MockChannelMockRecorder 5338 } 5339 5340 // MockChannelMockRecorder is the mock recorder for MockChannel. 5341 type MockChannelMockRecorder struct { 5342 mock *MockChannel 5343 } 5344 5345 // NewMockChannel creates a new mock instance. 5346 func NewMockChannel(ctrl *gomock.Controller) *MockChannel { 5347 mock := &MockChannel{ctrl: ctrl} 5348 mock.recorder = &MockChannelMockRecorder{mock} 5349 return mock 5350 } 5351 5352 // EXPECT returns an object that allows the caller to indicate expected use. 5353 func (m *MockChannel) EXPECT() *MockChannelMockRecorder { 5354 return m.recorder 5355 } 5356 5357 // Close mocks base method. 5358 func (m *MockChannel) Close() { 5359 m.ctrl.T.Helper() 5360 m.ctrl.Call(m, "Close") 5361 } 5362 5363 // Close indicates an expected call of Close. 5364 func (mr *MockChannelMockRecorder) Close() *gomock.Call { 5365 mr.mock.ctrl.T.Helper() 5366 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockChannel)(nil).Close)) 5367 } 5368 5369 // GetSubChannel mocks base method. 5370 func (m *MockChannel) GetSubChannel(serviceName string, opts ...tchannel_go.SubChannelOption) *tchannel_go.SubChannel { 5371 m.ctrl.T.Helper() 5372 varargs := []interface{}{serviceName} 5373 for _, a := range opts { 5374 varargs = append(varargs, a) 5375 } 5376 ret := m.ctrl.Call(m, "GetSubChannel", varargs...) 5377 ret0, _ := ret[0].(*tchannel_go.SubChannel) 5378 return ret0 5379 } 5380 5381 // GetSubChannel indicates an expected call of GetSubChannel. 5382 func (mr *MockChannelMockRecorder) GetSubChannel(serviceName interface{}, opts ...interface{}) *gomock.Call { 5383 mr.mock.ctrl.T.Helper() 5384 varargs := append([]interface{}{serviceName}, opts...) 5385 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubChannel", reflect.TypeOf((*MockChannel)(nil).GetSubChannel), varargs...) 5386 } 5387 5388 // MockconnectionPool is a mock of connectionPool interface. 5389 type MockconnectionPool struct { 5390 ctrl *gomock.Controller 5391 recorder *MockconnectionPoolMockRecorder 5392 } 5393 5394 // MockconnectionPoolMockRecorder is the mock recorder for MockconnectionPool. 5395 type MockconnectionPoolMockRecorder struct { 5396 mock *MockconnectionPool 5397 } 5398 5399 // NewMockconnectionPool creates a new mock instance. 5400 func NewMockconnectionPool(ctrl *gomock.Controller) *MockconnectionPool { 5401 mock := &MockconnectionPool{ctrl: ctrl} 5402 mock.recorder = &MockconnectionPoolMockRecorder{mock} 5403 return mock 5404 } 5405 5406 // EXPECT returns an object that allows the caller to indicate expected use. 5407 func (m *MockconnectionPool) EXPECT() *MockconnectionPoolMockRecorder { 5408 return m.recorder 5409 } 5410 5411 // Close mocks base method. 5412 func (m *MockconnectionPool) Close() { 5413 m.ctrl.T.Helper() 5414 m.ctrl.Call(m, "Close") 5415 } 5416 5417 // Close indicates an expected call of Close. 5418 func (mr *MockconnectionPoolMockRecorder) Close() *gomock.Call { 5419 mr.mock.ctrl.T.Helper() 5420 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockconnectionPool)(nil).Close)) 5421 } 5422 5423 // ConnectionCount mocks base method. 5424 func (m *MockconnectionPool) ConnectionCount() int { 5425 m.ctrl.T.Helper() 5426 ret := m.ctrl.Call(m, "ConnectionCount") 5427 ret0, _ := ret[0].(int) 5428 return ret0 5429 } 5430 5431 // ConnectionCount indicates an expected call of ConnectionCount. 5432 func (mr *MockconnectionPoolMockRecorder) ConnectionCount() *gomock.Call { 5433 mr.mock.ctrl.T.Helper() 5434 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionCount", reflect.TypeOf((*MockconnectionPool)(nil).ConnectionCount)) 5435 } 5436 5437 // NextClient mocks base method. 5438 func (m *MockconnectionPool) NextClient() (rpc.TChanNode, Channel, error) { 5439 m.ctrl.T.Helper() 5440 ret := m.ctrl.Call(m, "NextClient") 5441 ret0, _ := ret[0].(rpc.TChanNode) 5442 ret1, _ := ret[1].(Channel) 5443 ret2, _ := ret[2].(error) 5444 return ret0, ret1, ret2 5445 } 5446 5447 // NextClient indicates an expected call of NextClient. 5448 func (mr *MockconnectionPoolMockRecorder) NextClient() *gomock.Call { 5449 mr.mock.ctrl.T.Helper() 5450 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NextClient", reflect.TypeOf((*MockconnectionPool)(nil).NextClient)) 5451 } 5452 5453 // Open mocks base method. 5454 func (m *MockconnectionPool) Open() { 5455 m.ctrl.T.Helper() 5456 m.ctrl.Call(m, "Open") 5457 } 5458 5459 // Open indicates an expected call of Open. 5460 func (mr *MockconnectionPoolMockRecorder) Open() *gomock.Call { 5461 mr.mock.ctrl.T.Helper() 5462 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockconnectionPool)(nil).Open)) 5463 } 5464 5465 // MockpeerSource is a mock of peerSource interface. 5466 type MockpeerSource struct { 5467 ctrl *gomock.Controller 5468 recorder *MockpeerSourceMockRecorder 5469 } 5470 5471 // MockpeerSourceMockRecorder is the mock recorder for MockpeerSource. 5472 type MockpeerSourceMockRecorder struct { 5473 mock *MockpeerSource 5474 } 5475 5476 // NewMockpeerSource creates a new mock instance. 5477 func NewMockpeerSource(ctrl *gomock.Controller) *MockpeerSource { 5478 mock := &MockpeerSource{ctrl: ctrl} 5479 mock.recorder = &MockpeerSourceMockRecorder{mock} 5480 return mock 5481 } 5482 5483 // EXPECT returns an object that allows the caller to indicate expected use. 5484 func (m *MockpeerSource) EXPECT() *MockpeerSourceMockRecorder { 5485 return m.recorder 5486 } 5487 5488 // BorrowConnection mocks base method. 5489 func (m *MockpeerSource) BorrowConnection(hostID string, fn WithConnectionFn) error { 5490 m.ctrl.T.Helper() 5491 ret := m.ctrl.Call(m, "BorrowConnection", hostID, fn) 5492 ret0, _ := ret[0].(error) 5493 return ret0 5494 } 5495 5496 // BorrowConnection indicates an expected call of BorrowConnection. 5497 func (mr *MockpeerSourceMockRecorder) BorrowConnection(hostID, fn interface{}) *gomock.Call { 5498 mr.mock.ctrl.T.Helper() 5499 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnection", reflect.TypeOf((*MockpeerSource)(nil).BorrowConnection), hostID, fn) 5500 } 5501 5502 // Mockpeer is a mock of peer interface. 5503 type Mockpeer struct { 5504 ctrl *gomock.Controller 5505 recorder *MockpeerMockRecorder 5506 } 5507 5508 // MockpeerMockRecorder is the mock recorder for Mockpeer. 5509 type MockpeerMockRecorder struct { 5510 mock *Mockpeer 5511 } 5512 5513 // NewMockpeer creates a new mock instance. 5514 func NewMockpeer(ctrl *gomock.Controller) *Mockpeer { 5515 mock := &Mockpeer{ctrl: ctrl} 5516 mock.recorder = &MockpeerMockRecorder{mock} 5517 return mock 5518 } 5519 5520 // EXPECT returns an object that allows the caller to indicate expected use. 5521 func (m *Mockpeer) EXPECT() *MockpeerMockRecorder { 5522 return m.recorder 5523 } 5524 5525 // BorrowConnection mocks base method. 5526 func (m *Mockpeer) BorrowConnection(fn WithConnectionFn) error { 5527 m.ctrl.T.Helper() 5528 ret := m.ctrl.Call(m, "BorrowConnection", fn) 5529 ret0, _ := ret[0].(error) 5530 return ret0 5531 } 5532 5533 // BorrowConnection indicates an expected call of BorrowConnection. 5534 func (mr *MockpeerMockRecorder) BorrowConnection(fn interface{}) *gomock.Call { 5535 mr.mock.ctrl.T.Helper() 5536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnection", reflect.TypeOf((*Mockpeer)(nil).BorrowConnection), fn) 5537 } 5538 5539 // Host mocks base method. 5540 func (m *Mockpeer) Host() topology.Host { 5541 m.ctrl.T.Helper() 5542 ret := m.ctrl.Call(m, "Host") 5543 ret0, _ := ret[0].(topology.Host) 5544 return ret0 5545 } 5546 5547 // Host indicates an expected call of Host. 5548 func (mr *MockpeerMockRecorder) Host() *gomock.Call { 5549 mr.mock.ctrl.T.Helper() 5550 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Host", reflect.TypeOf((*Mockpeer)(nil).Host)) 5551 } 5552 5553 // Mockop is a mock of op interface. 5554 type Mockop struct { 5555 ctrl *gomock.Controller 5556 recorder *MockopMockRecorder 5557 } 5558 5559 // MockopMockRecorder is the mock recorder for Mockop. 5560 type MockopMockRecorder struct { 5561 mock *Mockop 5562 } 5563 5564 // NewMockop creates a new mock instance. 5565 func NewMockop(ctrl *gomock.Controller) *Mockop { 5566 mock := &Mockop{ctrl: ctrl} 5567 mock.recorder = &MockopMockRecorder{mock} 5568 return mock 5569 } 5570 5571 // EXPECT returns an object that allows the caller to indicate expected use. 5572 func (m *Mockop) EXPECT() *MockopMockRecorder { 5573 return m.recorder 5574 } 5575 5576 // CompletionFn mocks base method. 5577 func (m *Mockop) CompletionFn() completionFn { 5578 m.ctrl.T.Helper() 5579 ret := m.ctrl.Call(m, "CompletionFn") 5580 ret0, _ := ret[0].(completionFn) 5581 return ret0 5582 } 5583 5584 // CompletionFn indicates an expected call of CompletionFn. 5585 func (mr *MockopMockRecorder) CompletionFn() *gomock.Call { 5586 mr.mock.ctrl.T.Helper() 5587 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CompletionFn", reflect.TypeOf((*Mockop)(nil).CompletionFn)) 5588 } 5589 5590 // Size mocks base method. 5591 func (m *Mockop) Size() int { 5592 m.ctrl.T.Helper() 5593 ret := m.ctrl.Call(m, "Size") 5594 ret0, _ := ret[0].(int) 5595 return ret0 5596 } 5597 5598 // Size indicates an expected call of Size. 5599 func (mr *MockopMockRecorder) Size() *gomock.Call { 5600 mr.mock.ctrl.T.Helper() 5601 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Size", reflect.TypeOf((*Mockop)(nil).Size)) 5602 } 5603 5604 // MockenqueueChannel is a mock of enqueueChannel interface. 5605 type MockenqueueChannel struct { 5606 ctrl *gomock.Controller 5607 recorder *MockenqueueChannelMockRecorder 5608 } 5609 5610 // MockenqueueChannelMockRecorder is the mock recorder for MockenqueueChannel. 5611 type MockenqueueChannelMockRecorder struct { 5612 mock *MockenqueueChannel 5613 } 5614 5615 // NewMockenqueueChannel creates a new mock instance. 5616 func NewMockenqueueChannel(ctrl *gomock.Controller) *MockenqueueChannel { 5617 mock := &MockenqueueChannel{ctrl: ctrl} 5618 mock.recorder = &MockenqueueChannelMockRecorder{mock} 5619 return mock 5620 } 5621 5622 // EXPECT returns an object that allows the caller to indicate expected use. 5623 func (m *MockenqueueChannel) EXPECT() *MockenqueueChannelMockRecorder { 5624 return m.recorder 5625 } 5626 5627 // closeOnAllProcessed mocks base method. 5628 func (m *MockenqueueChannel) closeOnAllProcessed() { 5629 m.ctrl.T.Helper() 5630 m.ctrl.Call(m, "closeOnAllProcessed") 5631 } 5632 5633 // closeOnAllProcessed indicates an expected call of closeOnAllProcessed. 5634 func (mr *MockenqueueChannelMockRecorder) closeOnAllProcessed() *gomock.Call { 5635 mr.mock.ctrl.T.Helper() 5636 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "closeOnAllProcessed", reflect.TypeOf((*MockenqueueChannel)(nil).closeOnAllProcessed)) 5637 } 5638 5639 // enqueue mocks base method. 5640 func (m *MockenqueueChannel) enqueue(peersMetadata []receivedBlockMetadata) error { 5641 m.ctrl.T.Helper() 5642 ret := m.ctrl.Call(m, "enqueue", peersMetadata) 5643 ret0, _ := ret[0].(error) 5644 return ret0 5645 } 5646 5647 // enqueue indicates an expected call of enqueue. 5648 func (mr *MockenqueueChannelMockRecorder) enqueue(peersMetadata interface{}) *gomock.Call { 5649 mr.mock.ctrl.T.Helper() 5650 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "enqueue", reflect.TypeOf((*MockenqueueChannel)(nil).enqueue), peersMetadata) 5651 } 5652 5653 // enqueueDelayed mocks base method. 5654 func (m *MockenqueueChannel) enqueueDelayed(numToEnqueue int) (enqueueDelayedFn, enqueueDelayedDoneFn, error) { 5655 m.ctrl.T.Helper() 5656 ret := m.ctrl.Call(m, "enqueueDelayed", numToEnqueue) 5657 ret0, _ := ret[0].(enqueueDelayedFn) 5658 ret1, _ := ret[1].(enqueueDelayedDoneFn) 5659 ret2, _ := ret[2].(error) 5660 return ret0, ret1, ret2 5661 } 5662 5663 // enqueueDelayed indicates an expected call of enqueueDelayed. 5664 func (mr *MockenqueueChannelMockRecorder) enqueueDelayed(numToEnqueue interface{}) *gomock.Call { 5665 mr.mock.ctrl.T.Helper() 5666 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "enqueueDelayed", reflect.TypeOf((*MockenqueueChannel)(nil).enqueueDelayed), numToEnqueue) 5667 } 5668 5669 // read mocks base method. 5670 func (m *MockenqueueChannel) read() <-chan []receivedBlockMetadata { 5671 m.ctrl.T.Helper() 5672 ret := m.ctrl.Call(m, "read") 5673 ret0, _ := ret[0].(<-chan []receivedBlockMetadata) 5674 return ret0 5675 } 5676 5677 // read indicates an expected call of read. 5678 func (mr *MockenqueueChannelMockRecorder) read() *gomock.Call { 5679 mr.mock.ctrl.T.Helper() 5680 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "read", reflect.TypeOf((*MockenqueueChannel)(nil).read)) 5681 } 5682 5683 // trackPending mocks base method. 5684 func (m *MockenqueueChannel) trackPending(amount int) { 5685 m.ctrl.T.Helper() 5686 m.ctrl.Call(m, "trackPending", amount) 5687 } 5688 5689 // trackPending indicates an expected call of trackPending. 5690 func (mr *MockenqueueChannelMockRecorder) trackPending(amount interface{}) *gomock.Call { 5691 mr.mock.ctrl.T.Helper() 5692 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "trackPending", reflect.TypeOf((*MockenqueueChannel)(nil).trackPending), amount) 5693 } 5694 5695 // trackProcessed mocks base method. 5696 func (m *MockenqueueChannel) trackProcessed(amount int) { 5697 m.ctrl.T.Helper() 5698 m.ctrl.Call(m, "trackProcessed", amount) 5699 } 5700 5701 // trackProcessed indicates an expected call of trackProcessed. 5702 func (mr *MockenqueueChannelMockRecorder) trackProcessed(amount interface{}) *gomock.Call { 5703 mr.mock.ctrl.T.Helper() 5704 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "trackProcessed", reflect.TypeOf((*MockenqueueChannel)(nil).trackProcessed), amount) 5705 } 5706 5707 // unprocessedLen mocks base method. 5708 func (m *MockenqueueChannel) unprocessedLen() int { 5709 m.ctrl.T.Helper() 5710 ret := m.ctrl.Call(m, "unprocessedLen") 5711 ret0, _ := ret[0].(int) 5712 return ret0 5713 } 5714 5715 // unprocessedLen indicates an expected call of unprocessedLen. 5716 func (mr *MockenqueueChannelMockRecorder) unprocessedLen() *gomock.Call { 5717 mr.mock.ctrl.T.Helper() 5718 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "unprocessedLen", reflect.TypeOf((*MockenqueueChannel)(nil).unprocessedLen)) 5719 }