github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/dbnode/namespace/namespace_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: ../../namespace/types.go 3 4 // Copyright (c) 2022 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 namespace is a generated GoMock package. 25 package namespace 26 27 import ( 28 "reflect" 29 "time" 30 31 "github.com/m3db/m3/src/cluster/client" 32 "github.com/m3db/m3/src/dbnode/retention" 33 "github.com/m3db/m3/src/x/ident" 34 "github.com/m3db/m3/src/x/instrument" 35 "github.com/m3db/m3/src/x/resource" 36 37 "github.com/gogo/protobuf/types" 38 "github.com/golang/mock/gomock" 39 ) 40 41 // MockOptions is a mock of Options interface. 42 type MockOptions struct { 43 ctrl *gomock.Controller 44 recorder *MockOptionsMockRecorder 45 } 46 47 // MockOptionsMockRecorder is the mock recorder for MockOptions. 48 type MockOptionsMockRecorder struct { 49 mock *MockOptions 50 } 51 52 // NewMockOptions creates a new mock instance. 53 func NewMockOptions(ctrl *gomock.Controller) *MockOptions { 54 mock := &MockOptions{ctrl: ctrl} 55 mock.recorder = &MockOptionsMockRecorder{mock} 56 return mock 57 } 58 59 // EXPECT returns an object that allows the caller to indicate expected use. 60 func (m *MockOptions) EXPECT() *MockOptionsMockRecorder { 61 return m.recorder 62 } 63 64 // AggregationOptions mocks base method. 65 func (m *MockOptions) AggregationOptions() AggregationOptions { 66 m.ctrl.T.Helper() 67 ret := m.ctrl.Call(m, "AggregationOptions") 68 ret0, _ := ret[0].(AggregationOptions) 69 return ret0 70 } 71 72 // AggregationOptions indicates an expected call of AggregationOptions. 73 func (mr *MockOptionsMockRecorder) AggregationOptions() *gomock.Call { 74 mr.mock.ctrl.T.Helper() 75 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AggregationOptions", reflect.TypeOf((*MockOptions)(nil).AggregationOptions)) 76 } 77 78 // BootstrapEnabled mocks base method. 79 func (m *MockOptions) BootstrapEnabled() bool { 80 m.ctrl.T.Helper() 81 ret := m.ctrl.Call(m, "BootstrapEnabled") 82 ret0, _ := ret[0].(bool) 83 return ret0 84 } 85 86 // BootstrapEnabled indicates an expected call of BootstrapEnabled. 87 func (mr *MockOptionsMockRecorder) BootstrapEnabled() *gomock.Call { 88 mr.mock.ctrl.T.Helper() 89 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BootstrapEnabled", reflect.TypeOf((*MockOptions)(nil).BootstrapEnabled)) 90 } 91 92 // CacheBlocksOnRetrieve mocks base method. 93 func (m *MockOptions) CacheBlocksOnRetrieve() bool { 94 m.ctrl.T.Helper() 95 ret := m.ctrl.Call(m, "CacheBlocksOnRetrieve") 96 ret0, _ := ret[0].(bool) 97 return ret0 98 } 99 100 // CacheBlocksOnRetrieve indicates an expected call of CacheBlocksOnRetrieve. 101 func (mr *MockOptionsMockRecorder) CacheBlocksOnRetrieve() *gomock.Call { 102 mr.mock.ctrl.T.Helper() 103 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CacheBlocksOnRetrieve", reflect.TypeOf((*MockOptions)(nil).CacheBlocksOnRetrieve)) 104 } 105 106 // CleanupEnabled mocks base method. 107 func (m *MockOptions) CleanupEnabled() bool { 108 m.ctrl.T.Helper() 109 ret := m.ctrl.Call(m, "CleanupEnabled") 110 ret0, _ := ret[0].(bool) 111 return ret0 112 } 113 114 // CleanupEnabled indicates an expected call of CleanupEnabled. 115 func (mr *MockOptionsMockRecorder) CleanupEnabled() *gomock.Call { 116 mr.mock.ctrl.T.Helper() 117 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanupEnabled", reflect.TypeOf((*MockOptions)(nil).CleanupEnabled)) 118 } 119 120 // ColdWritesEnabled mocks base method. 121 func (m *MockOptions) ColdWritesEnabled() bool { 122 m.ctrl.T.Helper() 123 ret := m.ctrl.Call(m, "ColdWritesEnabled") 124 ret0, _ := ret[0].(bool) 125 return ret0 126 } 127 128 // ColdWritesEnabled indicates an expected call of ColdWritesEnabled. 129 func (mr *MockOptionsMockRecorder) ColdWritesEnabled() *gomock.Call { 130 mr.mock.ctrl.T.Helper() 131 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ColdWritesEnabled", reflect.TypeOf((*MockOptions)(nil).ColdWritesEnabled)) 132 } 133 134 // Equal mocks base method. 135 func (m *MockOptions) Equal(value Options) bool { 136 m.ctrl.T.Helper() 137 ret := m.ctrl.Call(m, "Equal", value) 138 ret0, _ := ret[0].(bool) 139 return ret0 140 } 141 142 // Equal indicates an expected call of Equal. 143 func (mr *MockOptionsMockRecorder) Equal(value interface{}) *gomock.Call { 144 mr.mock.ctrl.T.Helper() 145 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockOptions)(nil).Equal), value) 146 } 147 148 // ExtendedOptions mocks base method. 149 func (m *MockOptions) ExtendedOptions() ExtendedOptions { 150 m.ctrl.T.Helper() 151 ret := m.ctrl.Call(m, "ExtendedOptions") 152 ret0, _ := ret[0].(ExtendedOptions) 153 return ret0 154 } 155 156 // ExtendedOptions indicates an expected call of ExtendedOptions. 157 func (mr *MockOptionsMockRecorder) ExtendedOptions() *gomock.Call { 158 mr.mock.ctrl.T.Helper() 159 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExtendedOptions", reflect.TypeOf((*MockOptions)(nil).ExtendedOptions)) 160 } 161 162 // FlushEnabled mocks base method. 163 func (m *MockOptions) FlushEnabled() bool { 164 m.ctrl.T.Helper() 165 ret := m.ctrl.Call(m, "FlushEnabled") 166 ret0, _ := ret[0].(bool) 167 return ret0 168 } 169 170 // FlushEnabled indicates an expected call of FlushEnabled. 171 func (mr *MockOptionsMockRecorder) FlushEnabled() *gomock.Call { 172 mr.mock.ctrl.T.Helper() 173 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlushEnabled", reflect.TypeOf((*MockOptions)(nil).FlushEnabled)) 174 } 175 176 // IndexOptions mocks base method. 177 func (m *MockOptions) IndexOptions() IndexOptions { 178 m.ctrl.T.Helper() 179 ret := m.ctrl.Call(m, "IndexOptions") 180 ret0, _ := ret[0].(IndexOptions) 181 return ret0 182 } 183 184 // IndexOptions indicates an expected call of IndexOptions. 185 func (mr *MockOptionsMockRecorder) IndexOptions() *gomock.Call { 186 mr.mock.ctrl.T.Helper() 187 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IndexOptions", reflect.TypeOf((*MockOptions)(nil).IndexOptions)) 188 } 189 190 // RepairEnabled mocks base method. 191 func (m *MockOptions) RepairEnabled() bool { 192 m.ctrl.T.Helper() 193 ret := m.ctrl.Call(m, "RepairEnabled") 194 ret0, _ := ret[0].(bool) 195 return ret0 196 } 197 198 // RepairEnabled indicates an expected call of RepairEnabled. 199 func (mr *MockOptionsMockRecorder) RepairEnabled() *gomock.Call { 200 mr.mock.ctrl.T.Helper() 201 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RepairEnabled", reflect.TypeOf((*MockOptions)(nil).RepairEnabled)) 202 } 203 204 // RetentionOptions mocks base method. 205 func (m *MockOptions) RetentionOptions() retention.Options { 206 m.ctrl.T.Helper() 207 ret := m.ctrl.Call(m, "RetentionOptions") 208 ret0, _ := ret[0].(retention.Options) 209 return ret0 210 } 211 212 // RetentionOptions indicates an expected call of RetentionOptions. 213 func (mr *MockOptionsMockRecorder) RetentionOptions() *gomock.Call { 214 mr.mock.ctrl.T.Helper() 215 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RetentionOptions", reflect.TypeOf((*MockOptions)(nil).RetentionOptions)) 216 } 217 218 // RuntimeOptions mocks base method. 219 func (m *MockOptions) RuntimeOptions() RuntimeOptions { 220 m.ctrl.T.Helper() 221 ret := m.ctrl.Call(m, "RuntimeOptions") 222 ret0, _ := ret[0].(RuntimeOptions) 223 return ret0 224 } 225 226 // RuntimeOptions indicates an expected call of RuntimeOptions. 227 func (mr *MockOptionsMockRecorder) RuntimeOptions() *gomock.Call { 228 mr.mock.ctrl.T.Helper() 229 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RuntimeOptions", reflect.TypeOf((*MockOptions)(nil).RuntimeOptions)) 230 } 231 232 // SchemaHistory mocks base method. 233 func (m *MockOptions) SchemaHistory() SchemaHistory { 234 m.ctrl.T.Helper() 235 ret := m.ctrl.Call(m, "SchemaHistory") 236 ret0, _ := ret[0].(SchemaHistory) 237 return ret0 238 } 239 240 // SchemaHistory indicates an expected call of SchemaHistory. 241 func (mr *MockOptionsMockRecorder) SchemaHistory() *gomock.Call { 242 mr.mock.ctrl.T.Helper() 243 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SchemaHistory", reflect.TypeOf((*MockOptions)(nil).SchemaHistory)) 244 } 245 246 // SetAggregationOptions mocks base method. 247 func (m *MockOptions) SetAggregationOptions(value AggregationOptions) Options { 248 m.ctrl.T.Helper() 249 ret := m.ctrl.Call(m, "SetAggregationOptions", value) 250 ret0, _ := ret[0].(Options) 251 return ret0 252 } 253 254 // SetAggregationOptions indicates an expected call of SetAggregationOptions. 255 func (mr *MockOptionsMockRecorder) SetAggregationOptions(value interface{}) *gomock.Call { 256 mr.mock.ctrl.T.Helper() 257 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAggregationOptions", reflect.TypeOf((*MockOptions)(nil).SetAggregationOptions), value) 258 } 259 260 // SetBootstrapEnabled mocks base method. 261 func (m *MockOptions) SetBootstrapEnabled(value bool) Options { 262 m.ctrl.T.Helper() 263 ret := m.ctrl.Call(m, "SetBootstrapEnabled", value) 264 ret0, _ := ret[0].(Options) 265 return ret0 266 } 267 268 // SetBootstrapEnabled indicates an expected call of SetBootstrapEnabled. 269 func (mr *MockOptionsMockRecorder) SetBootstrapEnabled(value interface{}) *gomock.Call { 270 mr.mock.ctrl.T.Helper() 271 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBootstrapEnabled", reflect.TypeOf((*MockOptions)(nil).SetBootstrapEnabled), value) 272 } 273 274 // SetCacheBlocksOnRetrieve mocks base method. 275 func (m *MockOptions) SetCacheBlocksOnRetrieve(value bool) Options { 276 m.ctrl.T.Helper() 277 ret := m.ctrl.Call(m, "SetCacheBlocksOnRetrieve", value) 278 ret0, _ := ret[0].(Options) 279 return ret0 280 } 281 282 // SetCacheBlocksOnRetrieve indicates an expected call of SetCacheBlocksOnRetrieve. 283 func (mr *MockOptionsMockRecorder) SetCacheBlocksOnRetrieve(value interface{}) *gomock.Call { 284 mr.mock.ctrl.T.Helper() 285 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCacheBlocksOnRetrieve", reflect.TypeOf((*MockOptions)(nil).SetCacheBlocksOnRetrieve), value) 286 } 287 288 // SetCleanupEnabled mocks base method. 289 func (m *MockOptions) SetCleanupEnabled(value bool) Options { 290 m.ctrl.T.Helper() 291 ret := m.ctrl.Call(m, "SetCleanupEnabled", value) 292 ret0, _ := ret[0].(Options) 293 return ret0 294 } 295 296 // SetCleanupEnabled indicates an expected call of SetCleanupEnabled. 297 func (mr *MockOptionsMockRecorder) SetCleanupEnabled(value interface{}) *gomock.Call { 298 mr.mock.ctrl.T.Helper() 299 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCleanupEnabled", reflect.TypeOf((*MockOptions)(nil).SetCleanupEnabled), value) 300 } 301 302 // SetColdWritesEnabled mocks base method. 303 func (m *MockOptions) SetColdWritesEnabled(value bool) Options { 304 m.ctrl.T.Helper() 305 ret := m.ctrl.Call(m, "SetColdWritesEnabled", value) 306 ret0, _ := ret[0].(Options) 307 return ret0 308 } 309 310 // SetColdWritesEnabled indicates an expected call of SetColdWritesEnabled. 311 func (mr *MockOptionsMockRecorder) SetColdWritesEnabled(value interface{}) *gomock.Call { 312 mr.mock.ctrl.T.Helper() 313 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetColdWritesEnabled", reflect.TypeOf((*MockOptions)(nil).SetColdWritesEnabled), value) 314 } 315 316 // SetExtendedOptions mocks base method. 317 func (m *MockOptions) SetExtendedOptions(value ExtendedOptions) Options { 318 m.ctrl.T.Helper() 319 ret := m.ctrl.Call(m, "SetExtendedOptions", value) 320 ret0, _ := ret[0].(Options) 321 return ret0 322 } 323 324 // SetExtendedOptions indicates an expected call of SetExtendedOptions. 325 func (mr *MockOptionsMockRecorder) SetExtendedOptions(value interface{}) *gomock.Call { 326 mr.mock.ctrl.T.Helper() 327 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetExtendedOptions", reflect.TypeOf((*MockOptions)(nil).SetExtendedOptions), value) 328 } 329 330 // SetFlushEnabled mocks base method. 331 func (m *MockOptions) SetFlushEnabled(value bool) Options { 332 m.ctrl.T.Helper() 333 ret := m.ctrl.Call(m, "SetFlushEnabled", value) 334 ret0, _ := ret[0].(Options) 335 return ret0 336 } 337 338 // SetFlushEnabled indicates an expected call of SetFlushEnabled. 339 func (mr *MockOptionsMockRecorder) SetFlushEnabled(value interface{}) *gomock.Call { 340 mr.mock.ctrl.T.Helper() 341 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFlushEnabled", reflect.TypeOf((*MockOptions)(nil).SetFlushEnabled), value) 342 } 343 344 // SetIndexOptions mocks base method. 345 func (m *MockOptions) SetIndexOptions(value IndexOptions) Options { 346 m.ctrl.T.Helper() 347 ret := m.ctrl.Call(m, "SetIndexOptions", value) 348 ret0, _ := ret[0].(Options) 349 return ret0 350 } 351 352 // SetIndexOptions indicates an expected call of SetIndexOptions. 353 func (mr *MockOptionsMockRecorder) SetIndexOptions(value interface{}) *gomock.Call { 354 mr.mock.ctrl.T.Helper() 355 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIndexOptions", reflect.TypeOf((*MockOptions)(nil).SetIndexOptions), value) 356 } 357 358 // SetRepairEnabled mocks base method. 359 func (m *MockOptions) SetRepairEnabled(value bool) Options { 360 m.ctrl.T.Helper() 361 ret := m.ctrl.Call(m, "SetRepairEnabled", value) 362 ret0, _ := ret[0].(Options) 363 return ret0 364 } 365 366 // SetRepairEnabled indicates an expected call of SetRepairEnabled. 367 func (mr *MockOptionsMockRecorder) SetRepairEnabled(value interface{}) *gomock.Call { 368 mr.mock.ctrl.T.Helper() 369 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRepairEnabled", reflect.TypeOf((*MockOptions)(nil).SetRepairEnabled), value) 370 } 371 372 // SetRetentionOptions mocks base method. 373 func (m *MockOptions) SetRetentionOptions(value retention.Options) Options { 374 m.ctrl.T.Helper() 375 ret := m.ctrl.Call(m, "SetRetentionOptions", value) 376 ret0, _ := ret[0].(Options) 377 return ret0 378 } 379 380 // SetRetentionOptions indicates an expected call of SetRetentionOptions. 381 func (mr *MockOptionsMockRecorder) SetRetentionOptions(value interface{}) *gomock.Call { 382 mr.mock.ctrl.T.Helper() 383 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRetentionOptions", reflect.TypeOf((*MockOptions)(nil).SetRetentionOptions), value) 384 } 385 386 // SetRuntimeOptions mocks base method. 387 func (m *MockOptions) SetRuntimeOptions(value RuntimeOptions) Options { 388 m.ctrl.T.Helper() 389 ret := m.ctrl.Call(m, "SetRuntimeOptions", value) 390 ret0, _ := ret[0].(Options) 391 return ret0 392 } 393 394 // SetRuntimeOptions indicates an expected call of SetRuntimeOptions. 395 func (mr *MockOptionsMockRecorder) SetRuntimeOptions(value interface{}) *gomock.Call { 396 mr.mock.ctrl.T.Helper() 397 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRuntimeOptions", reflect.TypeOf((*MockOptions)(nil).SetRuntimeOptions), value) 398 } 399 400 // SetSchemaHistory mocks base method. 401 func (m *MockOptions) SetSchemaHistory(value SchemaHistory) Options { 402 m.ctrl.T.Helper() 403 ret := m.ctrl.Call(m, "SetSchemaHistory", value) 404 ret0, _ := ret[0].(Options) 405 return ret0 406 } 407 408 // SetSchemaHistory indicates an expected call of SetSchemaHistory. 409 func (mr *MockOptionsMockRecorder) SetSchemaHistory(value interface{}) *gomock.Call { 410 mr.mock.ctrl.T.Helper() 411 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaHistory", reflect.TypeOf((*MockOptions)(nil).SetSchemaHistory), value) 412 } 413 414 // SetSnapshotEnabled mocks base method. 415 func (m *MockOptions) SetSnapshotEnabled(value bool) Options { 416 m.ctrl.T.Helper() 417 ret := m.ctrl.Call(m, "SetSnapshotEnabled", value) 418 ret0, _ := ret[0].(Options) 419 return ret0 420 } 421 422 // SetSnapshotEnabled indicates an expected call of SetSnapshotEnabled. 423 func (mr *MockOptionsMockRecorder) SetSnapshotEnabled(value interface{}) *gomock.Call { 424 mr.mock.ctrl.T.Helper() 425 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSnapshotEnabled", reflect.TypeOf((*MockOptions)(nil).SetSnapshotEnabled), value) 426 } 427 428 // SetStagingState mocks base method. 429 func (m *MockOptions) SetStagingState(value StagingState) Options { 430 m.ctrl.T.Helper() 431 ret := m.ctrl.Call(m, "SetStagingState", value) 432 ret0, _ := ret[0].(Options) 433 return ret0 434 } 435 436 // SetStagingState indicates an expected call of SetStagingState. 437 func (mr *MockOptionsMockRecorder) SetStagingState(value interface{}) *gomock.Call { 438 mr.mock.ctrl.T.Helper() 439 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetStagingState", reflect.TypeOf((*MockOptions)(nil).SetStagingState), value) 440 } 441 442 // SetWritesToCommitLog mocks base method. 443 func (m *MockOptions) SetWritesToCommitLog(value bool) Options { 444 m.ctrl.T.Helper() 445 ret := m.ctrl.Call(m, "SetWritesToCommitLog", value) 446 ret0, _ := ret[0].(Options) 447 return ret0 448 } 449 450 // SetWritesToCommitLog indicates an expected call of SetWritesToCommitLog. 451 func (mr *MockOptionsMockRecorder) SetWritesToCommitLog(value interface{}) *gomock.Call { 452 mr.mock.ctrl.T.Helper() 453 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWritesToCommitLog", reflect.TypeOf((*MockOptions)(nil).SetWritesToCommitLog), value) 454 } 455 456 // SnapshotEnabled mocks base method. 457 func (m *MockOptions) SnapshotEnabled() bool { 458 m.ctrl.T.Helper() 459 ret := m.ctrl.Call(m, "SnapshotEnabled") 460 ret0, _ := ret[0].(bool) 461 return ret0 462 } 463 464 // SnapshotEnabled indicates an expected call of SnapshotEnabled. 465 func (mr *MockOptionsMockRecorder) SnapshotEnabled() *gomock.Call { 466 mr.mock.ctrl.T.Helper() 467 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotEnabled", reflect.TypeOf((*MockOptions)(nil).SnapshotEnabled)) 468 } 469 470 // StagingState mocks base method. 471 func (m *MockOptions) StagingState() StagingState { 472 m.ctrl.T.Helper() 473 ret := m.ctrl.Call(m, "StagingState") 474 ret0, _ := ret[0].(StagingState) 475 return ret0 476 } 477 478 // StagingState indicates an expected call of StagingState. 479 func (mr *MockOptionsMockRecorder) StagingState() *gomock.Call { 480 mr.mock.ctrl.T.Helper() 481 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StagingState", reflect.TypeOf((*MockOptions)(nil).StagingState)) 482 } 483 484 // Validate mocks base method. 485 func (m *MockOptions) Validate() error { 486 m.ctrl.T.Helper() 487 ret := m.ctrl.Call(m, "Validate") 488 ret0, _ := ret[0].(error) 489 return ret0 490 } 491 492 // Validate indicates an expected call of Validate. 493 func (mr *MockOptionsMockRecorder) Validate() *gomock.Call { 494 mr.mock.ctrl.T.Helper() 495 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockOptions)(nil).Validate)) 496 } 497 498 // WritesToCommitLog mocks base method. 499 func (m *MockOptions) WritesToCommitLog() bool { 500 m.ctrl.T.Helper() 501 ret := m.ctrl.Call(m, "WritesToCommitLog") 502 ret0, _ := ret[0].(bool) 503 return ret0 504 } 505 506 // WritesToCommitLog indicates an expected call of WritesToCommitLog. 507 func (mr *MockOptionsMockRecorder) WritesToCommitLog() *gomock.Call { 508 mr.mock.ctrl.T.Helper() 509 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WritesToCommitLog", reflect.TypeOf((*MockOptions)(nil).WritesToCommitLog)) 510 } 511 512 // MockIndexOptions is a mock of IndexOptions interface. 513 type MockIndexOptions struct { 514 ctrl *gomock.Controller 515 recorder *MockIndexOptionsMockRecorder 516 } 517 518 // MockIndexOptionsMockRecorder is the mock recorder for MockIndexOptions. 519 type MockIndexOptionsMockRecorder struct { 520 mock *MockIndexOptions 521 } 522 523 // NewMockIndexOptions creates a new mock instance. 524 func NewMockIndexOptions(ctrl *gomock.Controller) *MockIndexOptions { 525 mock := &MockIndexOptions{ctrl: ctrl} 526 mock.recorder = &MockIndexOptionsMockRecorder{mock} 527 return mock 528 } 529 530 // EXPECT returns an object that allows the caller to indicate expected use. 531 func (m *MockIndexOptions) EXPECT() *MockIndexOptionsMockRecorder { 532 return m.recorder 533 } 534 535 // BlockSize mocks base method. 536 func (m *MockIndexOptions) BlockSize() time.Duration { 537 m.ctrl.T.Helper() 538 ret := m.ctrl.Call(m, "BlockSize") 539 ret0, _ := ret[0].(time.Duration) 540 return ret0 541 } 542 543 // BlockSize indicates an expected call of BlockSize. 544 func (mr *MockIndexOptionsMockRecorder) BlockSize() *gomock.Call { 545 mr.mock.ctrl.T.Helper() 546 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BlockSize", reflect.TypeOf((*MockIndexOptions)(nil).BlockSize)) 547 } 548 549 // Enabled mocks base method. 550 func (m *MockIndexOptions) Enabled() bool { 551 m.ctrl.T.Helper() 552 ret := m.ctrl.Call(m, "Enabled") 553 ret0, _ := ret[0].(bool) 554 return ret0 555 } 556 557 // Enabled indicates an expected call of Enabled. 558 func (mr *MockIndexOptionsMockRecorder) Enabled() *gomock.Call { 559 mr.mock.ctrl.T.Helper() 560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Enabled", reflect.TypeOf((*MockIndexOptions)(nil).Enabled)) 561 } 562 563 // Equal mocks base method. 564 func (m *MockIndexOptions) Equal(value IndexOptions) bool { 565 m.ctrl.T.Helper() 566 ret := m.ctrl.Call(m, "Equal", value) 567 ret0, _ := ret[0].(bool) 568 return ret0 569 } 570 571 // Equal indicates an expected call of Equal. 572 func (mr *MockIndexOptionsMockRecorder) Equal(value interface{}) *gomock.Call { 573 mr.mock.ctrl.T.Helper() 574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockIndexOptions)(nil).Equal), value) 575 } 576 577 // SetBlockSize mocks base method. 578 func (m *MockIndexOptions) SetBlockSize(value time.Duration) IndexOptions { 579 m.ctrl.T.Helper() 580 ret := m.ctrl.Call(m, "SetBlockSize", value) 581 ret0, _ := ret[0].(IndexOptions) 582 return ret0 583 } 584 585 // SetBlockSize indicates an expected call of SetBlockSize. 586 func (mr *MockIndexOptionsMockRecorder) SetBlockSize(value interface{}) *gomock.Call { 587 mr.mock.ctrl.T.Helper() 588 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBlockSize", reflect.TypeOf((*MockIndexOptions)(nil).SetBlockSize), value) 589 } 590 591 // SetEnabled mocks base method. 592 func (m *MockIndexOptions) SetEnabled(value bool) IndexOptions { 593 m.ctrl.T.Helper() 594 ret := m.ctrl.Call(m, "SetEnabled", value) 595 ret0, _ := ret[0].(IndexOptions) 596 return ret0 597 } 598 599 // SetEnabled indicates an expected call of SetEnabled. 600 func (mr *MockIndexOptionsMockRecorder) SetEnabled(value interface{}) *gomock.Call { 601 mr.mock.ctrl.T.Helper() 602 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEnabled", reflect.TypeOf((*MockIndexOptions)(nil).SetEnabled), value) 603 } 604 605 // MockSchemaDescr is a mock of SchemaDescr interface. 606 type MockSchemaDescr struct { 607 ctrl *gomock.Controller 608 recorder *MockSchemaDescrMockRecorder 609 } 610 611 // MockSchemaDescrMockRecorder is the mock recorder for MockSchemaDescr. 612 type MockSchemaDescrMockRecorder struct { 613 mock *MockSchemaDescr 614 } 615 616 // NewMockSchemaDescr creates a new mock instance. 617 func NewMockSchemaDescr(ctrl *gomock.Controller) *MockSchemaDescr { 618 mock := &MockSchemaDescr{ctrl: ctrl} 619 mock.recorder = &MockSchemaDescrMockRecorder{mock} 620 return mock 621 } 622 623 // EXPECT returns an object that allows the caller to indicate expected use. 624 func (m *MockSchemaDescr) EXPECT() *MockSchemaDescrMockRecorder { 625 return m.recorder 626 } 627 628 // DeployId mocks base method. 629 func (m *MockSchemaDescr) DeployId() string { 630 m.ctrl.T.Helper() 631 ret := m.ctrl.Call(m, "DeployId") 632 ret0, _ := ret[0].(string) 633 return ret0 634 } 635 636 // DeployId indicates an expected call of DeployId. 637 func (mr *MockSchemaDescrMockRecorder) DeployId() *gomock.Call { 638 mr.mock.ctrl.T.Helper() 639 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeployId", reflect.TypeOf((*MockSchemaDescr)(nil).DeployId)) 640 } 641 642 // Equal mocks base method. 643 func (m *MockSchemaDescr) Equal(arg0 SchemaDescr) bool { 644 m.ctrl.T.Helper() 645 ret := m.ctrl.Call(m, "Equal", arg0) 646 ret0, _ := ret[0].(bool) 647 return ret0 648 } 649 650 // Equal indicates an expected call of Equal. 651 func (mr *MockSchemaDescrMockRecorder) Equal(arg0 interface{}) *gomock.Call { 652 mr.mock.ctrl.T.Helper() 653 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockSchemaDescr)(nil).Equal), arg0) 654 } 655 656 // Get mocks base method. 657 func (m *MockSchemaDescr) Get() MessageDescriptor { 658 m.ctrl.T.Helper() 659 ret := m.ctrl.Call(m, "Get") 660 ret0, _ := ret[0].(MessageDescriptor) 661 return ret0 662 } 663 664 // Get indicates an expected call of Get. 665 func (mr *MockSchemaDescrMockRecorder) Get() *gomock.Call { 666 mr.mock.ctrl.T.Helper() 667 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSchemaDescr)(nil).Get)) 668 } 669 670 // PrevDeployId mocks base method. 671 func (m *MockSchemaDescr) PrevDeployId() string { 672 m.ctrl.T.Helper() 673 ret := m.ctrl.Call(m, "PrevDeployId") 674 ret0, _ := ret[0].(string) 675 return ret0 676 } 677 678 // PrevDeployId indicates an expected call of PrevDeployId. 679 func (mr *MockSchemaDescrMockRecorder) PrevDeployId() *gomock.Call { 680 mr.mock.ctrl.T.Helper() 681 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrevDeployId", reflect.TypeOf((*MockSchemaDescr)(nil).PrevDeployId)) 682 } 683 684 // String mocks base method. 685 func (m *MockSchemaDescr) String() string { 686 m.ctrl.T.Helper() 687 ret := m.ctrl.Call(m, "String") 688 ret0, _ := ret[0].(string) 689 return ret0 690 } 691 692 // String indicates an expected call of String. 693 func (mr *MockSchemaDescrMockRecorder) String() *gomock.Call { 694 mr.mock.ctrl.T.Helper() 695 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "String", reflect.TypeOf((*MockSchemaDescr)(nil).String)) 696 } 697 698 // MockSchemaHistory is a mock of SchemaHistory interface. 699 type MockSchemaHistory struct { 700 ctrl *gomock.Controller 701 recorder *MockSchemaHistoryMockRecorder 702 } 703 704 // MockSchemaHistoryMockRecorder is the mock recorder for MockSchemaHistory. 705 type MockSchemaHistoryMockRecorder struct { 706 mock *MockSchemaHistory 707 } 708 709 // NewMockSchemaHistory creates a new mock instance. 710 func NewMockSchemaHistory(ctrl *gomock.Controller) *MockSchemaHistory { 711 mock := &MockSchemaHistory{ctrl: ctrl} 712 mock.recorder = &MockSchemaHistoryMockRecorder{mock} 713 return mock 714 } 715 716 // EXPECT returns an object that allows the caller to indicate expected use. 717 func (m *MockSchemaHistory) EXPECT() *MockSchemaHistoryMockRecorder { 718 return m.recorder 719 } 720 721 // Equal mocks base method. 722 func (m *MockSchemaHistory) Equal(arg0 SchemaHistory) bool { 723 m.ctrl.T.Helper() 724 ret := m.ctrl.Call(m, "Equal", arg0) 725 ret0, _ := ret[0].(bool) 726 return ret0 727 } 728 729 // Equal indicates an expected call of Equal. 730 func (mr *MockSchemaHistoryMockRecorder) Equal(arg0 interface{}) *gomock.Call { 731 mr.mock.ctrl.T.Helper() 732 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockSchemaHistory)(nil).Equal), arg0) 733 } 734 735 // Extends mocks base method. 736 func (m *MockSchemaHistory) Extends(arg0 SchemaHistory) bool { 737 m.ctrl.T.Helper() 738 ret := m.ctrl.Call(m, "Extends", arg0) 739 ret0, _ := ret[0].(bool) 740 return ret0 741 } 742 743 // Extends indicates an expected call of Extends. 744 func (mr *MockSchemaHistoryMockRecorder) Extends(arg0 interface{}) *gomock.Call { 745 mr.mock.ctrl.T.Helper() 746 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Extends", reflect.TypeOf((*MockSchemaHistory)(nil).Extends), arg0) 747 } 748 749 // Get mocks base method. 750 func (m *MockSchemaHistory) Get(id string) (SchemaDescr, bool) { 751 m.ctrl.T.Helper() 752 ret := m.ctrl.Call(m, "Get", id) 753 ret0, _ := ret[0].(SchemaDescr) 754 ret1, _ := ret[1].(bool) 755 return ret0, ret1 756 } 757 758 // Get indicates an expected call of Get. 759 func (mr *MockSchemaHistoryMockRecorder) Get(id interface{}) *gomock.Call { 760 mr.mock.ctrl.T.Helper() 761 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSchemaHistory)(nil).Get), id) 762 } 763 764 // GetLatest mocks base method. 765 func (m *MockSchemaHistory) GetLatest() (SchemaDescr, bool) { 766 m.ctrl.T.Helper() 767 ret := m.ctrl.Call(m, "GetLatest") 768 ret0, _ := ret[0].(SchemaDescr) 769 ret1, _ := ret[1].(bool) 770 return ret0, ret1 771 } 772 773 // GetLatest indicates an expected call of GetLatest. 774 func (mr *MockSchemaHistoryMockRecorder) GetLatest() *gomock.Call { 775 mr.mock.ctrl.T.Helper() 776 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLatest", reflect.TypeOf((*MockSchemaHistory)(nil).GetLatest)) 777 } 778 779 // MockSchemaListener is a mock of SchemaListener interface. 780 type MockSchemaListener struct { 781 ctrl *gomock.Controller 782 recorder *MockSchemaListenerMockRecorder 783 } 784 785 // MockSchemaListenerMockRecorder is the mock recorder for MockSchemaListener. 786 type MockSchemaListenerMockRecorder struct { 787 mock *MockSchemaListener 788 } 789 790 // NewMockSchemaListener creates a new mock instance. 791 func NewMockSchemaListener(ctrl *gomock.Controller) *MockSchemaListener { 792 mock := &MockSchemaListener{ctrl: ctrl} 793 mock.recorder = &MockSchemaListenerMockRecorder{mock} 794 return mock 795 } 796 797 // EXPECT returns an object that allows the caller to indicate expected use. 798 func (m *MockSchemaListener) EXPECT() *MockSchemaListenerMockRecorder { 799 return m.recorder 800 } 801 802 // SetSchemaHistory mocks base method. 803 func (m *MockSchemaListener) SetSchemaHistory(value SchemaHistory) { 804 m.ctrl.T.Helper() 805 m.ctrl.Call(m, "SetSchemaHistory", value) 806 } 807 808 // SetSchemaHistory indicates an expected call of SetSchemaHistory. 809 func (mr *MockSchemaListenerMockRecorder) SetSchemaHistory(value interface{}) *gomock.Call { 810 mr.mock.ctrl.T.Helper() 811 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaHistory", reflect.TypeOf((*MockSchemaListener)(nil).SetSchemaHistory), value) 812 } 813 814 // MockSchemaRegistry is a mock of SchemaRegistry interface. 815 type MockSchemaRegistry struct { 816 ctrl *gomock.Controller 817 recorder *MockSchemaRegistryMockRecorder 818 } 819 820 // MockSchemaRegistryMockRecorder is the mock recorder for MockSchemaRegistry. 821 type MockSchemaRegistryMockRecorder struct { 822 mock *MockSchemaRegistry 823 } 824 825 // NewMockSchemaRegistry creates a new mock instance. 826 func NewMockSchemaRegistry(ctrl *gomock.Controller) *MockSchemaRegistry { 827 mock := &MockSchemaRegistry{ctrl: ctrl} 828 mock.recorder = &MockSchemaRegistryMockRecorder{mock} 829 return mock 830 } 831 832 // EXPECT returns an object that allows the caller to indicate expected use. 833 func (m *MockSchemaRegistry) EXPECT() *MockSchemaRegistryMockRecorder { 834 return m.recorder 835 } 836 837 // Close mocks base method. 838 func (m *MockSchemaRegistry) Close() { 839 m.ctrl.T.Helper() 840 m.ctrl.Call(m, "Close") 841 } 842 843 // Close indicates an expected call of Close. 844 func (mr *MockSchemaRegistryMockRecorder) Close() *gomock.Call { 845 mr.mock.ctrl.T.Helper() 846 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockSchemaRegistry)(nil).Close)) 847 } 848 849 // GetLatestSchema mocks base method. 850 func (m *MockSchemaRegistry) GetLatestSchema(id ident.ID) (SchemaDescr, error) { 851 m.ctrl.T.Helper() 852 ret := m.ctrl.Call(m, "GetLatestSchema", id) 853 ret0, _ := ret[0].(SchemaDescr) 854 ret1, _ := ret[1].(error) 855 return ret0, ret1 856 } 857 858 // GetLatestSchema indicates an expected call of GetLatestSchema. 859 func (mr *MockSchemaRegistryMockRecorder) GetLatestSchema(id interface{}) *gomock.Call { 860 mr.mock.ctrl.T.Helper() 861 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLatestSchema", reflect.TypeOf((*MockSchemaRegistry)(nil).GetLatestSchema), id) 862 } 863 864 // GetSchema mocks base method. 865 func (m *MockSchemaRegistry) GetSchema(id ident.ID, schemaID string) (SchemaDescr, error) { 866 m.ctrl.T.Helper() 867 ret := m.ctrl.Call(m, "GetSchema", id, schemaID) 868 ret0, _ := ret[0].(SchemaDescr) 869 ret1, _ := ret[1].(error) 870 return ret0, ret1 871 } 872 873 // GetSchema indicates an expected call of GetSchema. 874 func (mr *MockSchemaRegistryMockRecorder) GetSchema(id, schemaID interface{}) *gomock.Call { 875 mr.mock.ctrl.T.Helper() 876 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSchema", reflect.TypeOf((*MockSchemaRegistry)(nil).GetSchema), id, schemaID) 877 } 878 879 // RegisterListener mocks base method. 880 func (m *MockSchemaRegistry) RegisterListener(id ident.ID, listener SchemaListener) (resource.SimpleCloser, error) { 881 m.ctrl.T.Helper() 882 ret := m.ctrl.Call(m, "RegisterListener", id, listener) 883 ret0, _ := ret[0].(resource.SimpleCloser) 884 ret1, _ := ret[1].(error) 885 return ret0, ret1 886 } 887 888 // RegisterListener indicates an expected call of RegisterListener. 889 func (mr *MockSchemaRegistryMockRecorder) RegisterListener(id, listener interface{}) *gomock.Call { 890 mr.mock.ctrl.T.Helper() 891 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterListener", reflect.TypeOf((*MockSchemaRegistry)(nil).RegisterListener), id, listener) 892 } 893 894 // SetSchemaHistory mocks base method. 895 func (m *MockSchemaRegistry) SetSchemaHistory(id ident.ID, history SchemaHistory) error { 896 m.ctrl.T.Helper() 897 ret := m.ctrl.Call(m, "SetSchemaHistory", id, history) 898 ret0, _ := ret[0].(error) 899 return ret0 900 } 901 902 // SetSchemaHistory indicates an expected call of SetSchemaHistory. 903 func (mr *MockSchemaRegistryMockRecorder) SetSchemaHistory(id, history interface{}) *gomock.Call { 904 mr.mock.ctrl.T.Helper() 905 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaHistory", reflect.TypeOf((*MockSchemaRegistry)(nil).SetSchemaHistory), id, history) 906 } 907 908 // MockMetadata is a mock of Metadata interface. 909 type MockMetadata struct { 910 ctrl *gomock.Controller 911 recorder *MockMetadataMockRecorder 912 } 913 914 // MockMetadataMockRecorder is the mock recorder for MockMetadata. 915 type MockMetadataMockRecorder struct { 916 mock *MockMetadata 917 } 918 919 // NewMockMetadata creates a new mock instance. 920 func NewMockMetadata(ctrl *gomock.Controller) *MockMetadata { 921 mock := &MockMetadata{ctrl: ctrl} 922 mock.recorder = &MockMetadataMockRecorder{mock} 923 return mock 924 } 925 926 // EXPECT returns an object that allows the caller to indicate expected use. 927 func (m *MockMetadata) EXPECT() *MockMetadataMockRecorder { 928 return m.recorder 929 } 930 931 // Equal mocks base method. 932 func (m *MockMetadata) Equal(value Metadata) bool { 933 m.ctrl.T.Helper() 934 ret := m.ctrl.Call(m, "Equal", value) 935 ret0, _ := ret[0].(bool) 936 return ret0 937 } 938 939 // Equal indicates an expected call of Equal. 940 func (mr *MockMetadataMockRecorder) Equal(value interface{}) *gomock.Call { 941 mr.mock.ctrl.T.Helper() 942 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockMetadata)(nil).Equal), value) 943 } 944 945 // ID mocks base method. 946 func (m *MockMetadata) ID() ident.ID { 947 m.ctrl.T.Helper() 948 ret := m.ctrl.Call(m, "ID") 949 ret0, _ := ret[0].(ident.ID) 950 return ret0 951 } 952 953 // ID indicates an expected call of ID. 954 func (mr *MockMetadataMockRecorder) ID() *gomock.Call { 955 mr.mock.ctrl.T.Helper() 956 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ID", reflect.TypeOf((*MockMetadata)(nil).ID)) 957 } 958 959 // Options mocks base method. 960 func (m *MockMetadata) Options() Options { 961 m.ctrl.T.Helper() 962 ret := m.ctrl.Call(m, "Options") 963 ret0, _ := ret[0].(Options) 964 return ret0 965 } 966 967 // Options indicates an expected call of Options. 968 func (mr *MockMetadataMockRecorder) Options() *gomock.Call { 969 mr.mock.ctrl.T.Helper() 970 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockMetadata)(nil).Options)) 971 } 972 973 // MockMap is a mock of Map interface. 974 type MockMap struct { 975 ctrl *gomock.Controller 976 recorder *MockMapMockRecorder 977 } 978 979 // MockMapMockRecorder is the mock recorder for MockMap. 980 type MockMapMockRecorder struct { 981 mock *MockMap 982 } 983 984 // NewMockMap creates a new mock instance. 985 func NewMockMap(ctrl *gomock.Controller) *MockMap { 986 mock := &MockMap{ctrl: ctrl} 987 mock.recorder = &MockMapMockRecorder{mock} 988 return mock 989 } 990 991 // EXPECT returns an object that allows the caller to indicate expected use. 992 func (m *MockMap) EXPECT() *MockMapMockRecorder { 993 return m.recorder 994 } 995 996 // Equal mocks base method. 997 func (m *MockMap) Equal(value Map) bool { 998 m.ctrl.T.Helper() 999 ret := m.ctrl.Call(m, "Equal", value) 1000 ret0, _ := ret[0].(bool) 1001 return ret0 1002 } 1003 1004 // Equal indicates an expected call of Equal. 1005 func (mr *MockMapMockRecorder) Equal(value interface{}) *gomock.Call { 1006 mr.mock.ctrl.T.Helper() 1007 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockMap)(nil).Equal), value) 1008 } 1009 1010 // Get mocks base method. 1011 func (m *MockMap) Get(arg0 ident.ID) (Metadata, error) { 1012 m.ctrl.T.Helper() 1013 ret := m.ctrl.Call(m, "Get", arg0) 1014 ret0, _ := ret[0].(Metadata) 1015 ret1, _ := ret[1].(error) 1016 return ret0, ret1 1017 } 1018 1019 // Get indicates an expected call of Get. 1020 func (mr *MockMapMockRecorder) Get(arg0 interface{}) *gomock.Call { 1021 mr.mock.ctrl.T.Helper() 1022 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMap)(nil).Get), arg0) 1023 } 1024 1025 // IDs mocks base method. 1026 func (m *MockMap) IDs() []ident.ID { 1027 m.ctrl.T.Helper() 1028 ret := m.ctrl.Call(m, "IDs") 1029 ret0, _ := ret[0].([]ident.ID) 1030 return ret0 1031 } 1032 1033 // IDs indicates an expected call of IDs. 1034 func (mr *MockMapMockRecorder) IDs() *gomock.Call { 1035 mr.mock.ctrl.T.Helper() 1036 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IDs", reflect.TypeOf((*MockMap)(nil).IDs)) 1037 } 1038 1039 // Metadatas mocks base method. 1040 func (m *MockMap) Metadatas() []Metadata { 1041 m.ctrl.T.Helper() 1042 ret := m.ctrl.Call(m, "Metadatas") 1043 ret0, _ := ret[0].([]Metadata) 1044 return ret0 1045 } 1046 1047 // Metadatas indicates an expected call of Metadatas. 1048 func (mr *MockMapMockRecorder) Metadatas() *gomock.Call { 1049 mr.mock.ctrl.T.Helper() 1050 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Metadatas", reflect.TypeOf((*MockMap)(nil).Metadatas)) 1051 } 1052 1053 // MockWatch is a mock of Watch interface. 1054 type MockWatch struct { 1055 ctrl *gomock.Controller 1056 recorder *MockWatchMockRecorder 1057 } 1058 1059 // MockWatchMockRecorder is the mock recorder for MockWatch. 1060 type MockWatchMockRecorder struct { 1061 mock *MockWatch 1062 } 1063 1064 // NewMockWatch creates a new mock instance. 1065 func NewMockWatch(ctrl *gomock.Controller) *MockWatch { 1066 mock := &MockWatch{ctrl: ctrl} 1067 mock.recorder = &MockWatchMockRecorder{mock} 1068 return mock 1069 } 1070 1071 // EXPECT returns an object that allows the caller to indicate expected use. 1072 func (m *MockWatch) EXPECT() *MockWatchMockRecorder { 1073 return m.recorder 1074 } 1075 1076 // C mocks base method. 1077 func (m *MockWatch) C() <-chan struct{} { 1078 m.ctrl.T.Helper() 1079 ret := m.ctrl.Call(m, "C") 1080 ret0, _ := ret[0].(<-chan struct{}) 1081 return ret0 1082 } 1083 1084 // C indicates an expected call of C. 1085 func (mr *MockWatchMockRecorder) C() *gomock.Call { 1086 mr.mock.ctrl.T.Helper() 1087 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "C", reflect.TypeOf((*MockWatch)(nil).C)) 1088 } 1089 1090 // Close mocks base method. 1091 func (m *MockWatch) Close() error { 1092 m.ctrl.T.Helper() 1093 ret := m.ctrl.Call(m, "Close") 1094 ret0, _ := ret[0].(error) 1095 return ret0 1096 } 1097 1098 // Close indicates an expected call of Close. 1099 func (mr *MockWatchMockRecorder) Close() *gomock.Call { 1100 mr.mock.ctrl.T.Helper() 1101 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockWatch)(nil).Close)) 1102 } 1103 1104 // Get mocks base method. 1105 func (m *MockWatch) Get() Map { 1106 m.ctrl.T.Helper() 1107 ret := m.ctrl.Call(m, "Get") 1108 ret0, _ := ret[0].(Map) 1109 return ret0 1110 } 1111 1112 // Get indicates an expected call of Get. 1113 func (mr *MockWatchMockRecorder) Get() *gomock.Call { 1114 mr.mock.ctrl.T.Helper() 1115 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockWatch)(nil).Get)) 1116 } 1117 1118 // MockRegistry is a mock of Registry interface. 1119 type MockRegistry struct { 1120 ctrl *gomock.Controller 1121 recorder *MockRegistryMockRecorder 1122 } 1123 1124 // MockRegistryMockRecorder is the mock recorder for MockRegistry. 1125 type MockRegistryMockRecorder struct { 1126 mock *MockRegistry 1127 } 1128 1129 // NewMockRegistry creates a new mock instance. 1130 func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry { 1131 mock := &MockRegistry{ctrl: ctrl} 1132 mock.recorder = &MockRegistryMockRecorder{mock} 1133 return mock 1134 } 1135 1136 // EXPECT returns an object that allows the caller to indicate expected use. 1137 func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder { 1138 return m.recorder 1139 } 1140 1141 // Close mocks base method. 1142 func (m *MockRegistry) Close() error { 1143 m.ctrl.T.Helper() 1144 ret := m.ctrl.Call(m, "Close") 1145 ret0, _ := ret[0].(error) 1146 return ret0 1147 } 1148 1149 // Close indicates an expected call of Close. 1150 func (mr *MockRegistryMockRecorder) Close() *gomock.Call { 1151 mr.mock.ctrl.T.Helper() 1152 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockRegistry)(nil).Close)) 1153 } 1154 1155 // Watch mocks base method. 1156 func (m *MockRegistry) Watch() (Watch, error) { 1157 m.ctrl.T.Helper() 1158 ret := m.ctrl.Call(m, "Watch") 1159 ret0, _ := ret[0].(Watch) 1160 ret1, _ := ret[1].(error) 1161 return ret0, ret1 1162 } 1163 1164 // Watch indicates an expected call of Watch. 1165 func (mr *MockRegistryMockRecorder) Watch() *gomock.Call { 1166 mr.mock.ctrl.T.Helper() 1167 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockRegistry)(nil).Watch)) 1168 } 1169 1170 // MockInitializer is a mock of Initializer interface. 1171 type MockInitializer struct { 1172 ctrl *gomock.Controller 1173 recorder *MockInitializerMockRecorder 1174 } 1175 1176 // MockInitializerMockRecorder is the mock recorder for MockInitializer. 1177 type MockInitializerMockRecorder struct { 1178 mock *MockInitializer 1179 } 1180 1181 // NewMockInitializer creates a new mock instance. 1182 func NewMockInitializer(ctrl *gomock.Controller) *MockInitializer { 1183 mock := &MockInitializer{ctrl: ctrl} 1184 mock.recorder = &MockInitializerMockRecorder{mock} 1185 return mock 1186 } 1187 1188 // EXPECT returns an object that allows the caller to indicate expected use. 1189 func (m *MockInitializer) EXPECT() *MockInitializerMockRecorder { 1190 return m.recorder 1191 } 1192 1193 // Init mocks base method. 1194 func (m *MockInitializer) Init() (Registry, error) { 1195 m.ctrl.T.Helper() 1196 ret := m.ctrl.Call(m, "Init") 1197 ret0, _ := ret[0].(Registry) 1198 ret1, _ := ret[1].(error) 1199 return ret0, ret1 1200 } 1201 1202 // Init indicates an expected call of Init. 1203 func (mr *MockInitializerMockRecorder) Init() *gomock.Call { 1204 mr.mock.ctrl.T.Helper() 1205 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockInitializer)(nil).Init)) 1206 } 1207 1208 // MockDynamicOptions is a mock of DynamicOptions interface. 1209 type MockDynamicOptions struct { 1210 ctrl *gomock.Controller 1211 recorder *MockDynamicOptionsMockRecorder 1212 } 1213 1214 // MockDynamicOptionsMockRecorder is the mock recorder for MockDynamicOptions. 1215 type MockDynamicOptionsMockRecorder struct { 1216 mock *MockDynamicOptions 1217 } 1218 1219 // NewMockDynamicOptions creates a new mock instance. 1220 func NewMockDynamicOptions(ctrl *gomock.Controller) *MockDynamicOptions { 1221 mock := &MockDynamicOptions{ctrl: ctrl} 1222 mock.recorder = &MockDynamicOptionsMockRecorder{mock} 1223 return mock 1224 } 1225 1226 // EXPECT returns an object that allows the caller to indicate expected use. 1227 func (m *MockDynamicOptions) EXPECT() *MockDynamicOptionsMockRecorder { 1228 return m.recorder 1229 } 1230 1231 // AllowEmptyInitialNamespaceRegistry mocks base method. 1232 func (m *MockDynamicOptions) AllowEmptyInitialNamespaceRegistry() bool { 1233 m.ctrl.T.Helper() 1234 ret := m.ctrl.Call(m, "AllowEmptyInitialNamespaceRegistry") 1235 ret0, _ := ret[0].(bool) 1236 return ret0 1237 } 1238 1239 // AllowEmptyInitialNamespaceRegistry indicates an expected call of AllowEmptyInitialNamespaceRegistry. 1240 func (mr *MockDynamicOptionsMockRecorder) AllowEmptyInitialNamespaceRegistry() *gomock.Call { 1241 mr.mock.ctrl.T.Helper() 1242 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllowEmptyInitialNamespaceRegistry", reflect.TypeOf((*MockDynamicOptions)(nil).AllowEmptyInitialNamespaceRegistry)) 1243 } 1244 1245 // ConfigServiceClient mocks base method. 1246 func (m *MockDynamicOptions) ConfigServiceClient() client.Client { 1247 m.ctrl.T.Helper() 1248 ret := m.ctrl.Call(m, "ConfigServiceClient") 1249 ret0, _ := ret[0].(client.Client) 1250 return ret0 1251 } 1252 1253 // ConfigServiceClient indicates an expected call of ConfigServiceClient. 1254 func (mr *MockDynamicOptionsMockRecorder) ConfigServiceClient() *gomock.Call { 1255 mr.mock.ctrl.T.Helper() 1256 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigServiceClient", reflect.TypeOf((*MockDynamicOptions)(nil).ConfigServiceClient)) 1257 } 1258 1259 // ForceColdWritesEnabled mocks base method. 1260 func (m *MockDynamicOptions) ForceColdWritesEnabled() bool { 1261 m.ctrl.T.Helper() 1262 ret := m.ctrl.Call(m, "ForceColdWritesEnabled") 1263 ret0, _ := ret[0].(bool) 1264 return ret0 1265 } 1266 1267 // ForceColdWritesEnabled indicates an expected call of ForceColdWritesEnabled. 1268 func (mr *MockDynamicOptionsMockRecorder) ForceColdWritesEnabled() *gomock.Call { 1269 mr.mock.ctrl.T.Helper() 1270 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceColdWritesEnabled", reflect.TypeOf((*MockDynamicOptions)(nil).ForceColdWritesEnabled)) 1271 } 1272 1273 // InstrumentOptions mocks base method. 1274 func (m *MockDynamicOptions) InstrumentOptions() instrument.Options { 1275 m.ctrl.T.Helper() 1276 ret := m.ctrl.Call(m, "InstrumentOptions") 1277 ret0, _ := ret[0].(instrument.Options) 1278 return ret0 1279 } 1280 1281 // InstrumentOptions indicates an expected call of InstrumentOptions. 1282 func (mr *MockDynamicOptionsMockRecorder) InstrumentOptions() *gomock.Call { 1283 mr.mock.ctrl.T.Helper() 1284 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstrumentOptions", reflect.TypeOf((*MockDynamicOptions)(nil).InstrumentOptions)) 1285 } 1286 1287 // NamespaceRegistryKey mocks base method. 1288 func (m *MockDynamicOptions) NamespaceRegistryKey() string { 1289 m.ctrl.T.Helper() 1290 ret := m.ctrl.Call(m, "NamespaceRegistryKey") 1291 ret0, _ := ret[0].(string) 1292 return ret0 1293 } 1294 1295 // NamespaceRegistryKey indicates an expected call of NamespaceRegistryKey. 1296 func (mr *MockDynamicOptionsMockRecorder) NamespaceRegistryKey() *gomock.Call { 1297 mr.mock.ctrl.T.Helper() 1298 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NamespaceRegistryKey", reflect.TypeOf((*MockDynamicOptions)(nil).NamespaceRegistryKey)) 1299 } 1300 1301 // SetAllowEmptyInitialNamespaceRegistry mocks base method. 1302 func (m *MockDynamicOptions) SetAllowEmptyInitialNamespaceRegistry(value bool) DynamicOptions { 1303 m.ctrl.T.Helper() 1304 ret := m.ctrl.Call(m, "SetAllowEmptyInitialNamespaceRegistry", value) 1305 ret0, _ := ret[0].(DynamicOptions) 1306 return ret0 1307 } 1308 1309 // SetAllowEmptyInitialNamespaceRegistry indicates an expected call of SetAllowEmptyInitialNamespaceRegistry. 1310 func (mr *MockDynamicOptionsMockRecorder) SetAllowEmptyInitialNamespaceRegistry(value interface{}) *gomock.Call { 1311 mr.mock.ctrl.T.Helper() 1312 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAllowEmptyInitialNamespaceRegistry", reflect.TypeOf((*MockDynamicOptions)(nil).SetAllowEmptyInitialNamespaceRegistry), value) 1313 } 1314 1315 // SetConfigServiceClient mocks base method. 1316 func (m *MockDynamicOptions) SetConfigServiceClient(c client.Client) DynamicOptions { 1317 m.ctrl.T.Helper() 1318 ret := m.ctrl.Call(m, "SetConfigServiceClient", c) 1319 ret0, _ := ret[0].(DynamicOptions) 1320 return ret0 1321 } 1322 1323 // SetConfigServiceClient indicates an expected call of SetConfigServiceClient. 1324 func (mr *MockDynamicOptionsMockRecorder) SetConfigServiceClient(c interface{}) *gomock.Call { 1325 mr.mock.ctrl.T.Helper() 1326 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetConfigServiceClient", reflect.TypeOf((*MockDynamicOptions)(nil).SetConfigServiceClient), c) 1327 } 1328 1329 // SetForceColdWritesEnabled mocks base method. 1330 func (m *MockDynamicOptions) SetForceColdWritesEnabled(enabled bool) DynamicOptions { 1331 m.ctrl.T.Helper() 1332 ret := m.ctrl.Call(m, "SetForceColdWritesEnabled", enabled) 1333 ret0, _ := ret[0].(DynamicOptions) 1334 return ret0 1335 } 1336 1337 // SetForceColdWritesEnabled indicates an expected call of SetForceColdWritesEnabled. 1338 func (mr *MockDynamicOptionsMockRecorder) SetForceColdWritesEnabled(enabled interface{}) *gomock.Call { 1339 mr.mock.ctrl.T.Helper() 1340 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetForceColdWritesEnabled", reflect.TypeOf((*MockDynamicOptions)(nil).SetForceColdWritesEnabled), enabled) 1341 } 1342 1343 // SetInstrumentOptions mocks base method. 1344 func (m *MockDynamicOptions) SetInstrumentOptions(value instrument.Options) DynamicOptions { 1345 m.ctrl.T.Helper() 1346 ret := m.ctrl.Call(m, "SetInstrumentOptions", value) 1347 ret0, _ := ret[0].(DynamicOptions) 1348 return ret0 1349 } 1350 1351 // SetInstrumentOptions indicates an expected call of SetInstrumentOptions. 1352 func (mr *MockDynamicOptionsMockRecorder) SetInstrumentOptions(value interface{}) *gomock.Call { 1353 mr.mock.ctrl.T.Helper() 1354 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetInstrumentOptions", reflect.TypeOf((*MockDynamicOptions)(nil).SetInstrumentOptions), value) 1355 } 1356 1357 // SetNamespaceRegistryKey mocks base method. 1358 func (m *MockDynamicOptions) SetNamespaceRegistryKey(k string) DynamicOptions { 1359 m.ctrl.T.Helper() 1360 ret := m.ctrl.Call(m, "SetNamespaceRegistryKey", k) 1361 ret0, _ := ret[0].(DynamicOptions) 1362 return ret0 1363 } 1364 1365 // SetNamespaceRegistryKey indicates an expected call of SetNamespaceRegistryKey. 1366 func (mr *MockDynamicOptionsMockRecorder) SetNamespaceRegistryKey(k interface{}) *gomock.Call { 1367 mr.mock.ctrl.T.Helper() 1368 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespaceRegistryKey", reflect.TypeOf((*MockDynamicOptions)(nil).SetNamespaceRegistryKey), k) 1369 } 1370 1371 // Validate mocks base method. 1372 func (m *MockDynamicOptions) Validate() error { 1373 m.ctrl.T.Helper() 1374 ret := m.ctrl.Call(m, "Validate") 1375 ret0, _ := ret[0].(error) 1376 return ret0 1377 } 1378 1379 // Validate indicates an expected call of Validate. 1380 func (mr *MockDynamicOptionsMockRecorder) Validate() *gomock.Call { 1381 mr.mock.ctrl.T.Helper() 1382 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockDynamicOptions)(nil).Validate)) 1383 } 1384 1385 // MockNamespaceWatch is a mock of NamespaceWatch interface. 1386 type MockNamespaceWatch struct { 1387 ctrl *gomock.Controller 1388 recorder *MockNamespaceWatchMockRecorder 1389 } 1390 1391 // MockNamespaceWatchMockRecorder is the mock recorder for MockNamespaceWatch. 1392 type MockNamespaceWatchMockRecorder struct { 1393 mock *MockNamespaceWatch 1394 } 1395 1396 // NewMockNamespaceWatch creates a new mock instance. 1397 func NewMockNamespaceWatch(ctrl *gomock.Controller) *MockNamespaceWatch { 1398 mock := &MockNamespaceWatch{ctrl: ctrl} 1399 mock.recorder = &MockNamespaceWatchMockRecorder{mock} 1400 return mock 1401 } 1402 1403 // EXPECT returns an object that allows the caller to indicate expected use. 1404 func (m *MockNamespaceWatch) EXPECT() *MockNamespaceWatchMockRecorder { 1405 return m.recorder 1406 } 1407 1408 // Close mocks base method. 1409 func (m *MockNamespaceWatch) Close() error { 1410 m.ctrl.T.Helper() 1411 ret := m.ctrl.Call(m, "Close") 1412 ret0, _ := ret[0].(error) 1413 return ret0 1414 } 1415 1416 // Close indicates an expected call of Close. 1417 func (mr *MockNamespaceWatchMockRecorder) Close() *gomock.Call { 1418 mr.mock.ctrl.T.Helper() 1419 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockNamespaceWatch)(nil).Close)) 1420 } 1421 1422 // Start mocks base method. 1423 func (m *MockNamespaceWatch) Start() error { 1424 m.ctrl.T.Helper() 1425 ret := m.ctrl.Call(m, "Start") 1426 ret0, _ := ret[0].(error) 1427 return ret0 1428 } 1429 1430 // Start indicates an expected call of Start. 1431 func (mr *MockNamespaceWatchMockRecorder) Start() *gomock.Call { 1432 mr.mock.ctrl.T.Helper() 1433 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockNamespaceWatch)(nil).Start)) 1434 } 1435 1436 // Stop mocks base method. 1437 func (m *MockNamespaceWatch) Stop() error { 1438 m.ctrl.T.Helper() 1439 ret := m.ctrl.Call(m, "Stop") 1440 ret0, _ := ret[0].(error) 1441 return ret0 1442 } 1443 1444 // Stop indicates an expected call of Stop. 1445 func (mr *MockNamespaceWatchMockRecorder) Stop() *gomock.Call { 1446 mr.mock.ctrl.T.Helper() 1447 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockNamespaceWatch)(nil).Stop)) 1448 } 1449 1450 // MockExtendedOptions is a mock of ExtendedOptions interface. 1451 type MockExtendedOptions struct { 1452 ctrl *gomock.Controller 1453 recorder *MockExtendedOptionsMockRecorder 1454 } 1455 1456 // MockExtendedOptionsMockRecorder is the mock recorder for MockExtendedOptions. 1457 type MockExtendedOptionsMockRecorder struct { 1458 mock *MockExtendedOptions 1459 } 1460 1461 // NewMockExtendedOptions creates a new mock instance. 1462 func NewMockExtendedOptions(ctrl *gomock.Controller) *MockExtendedOptions { 1463 mock := &MockExtendedOptions{ctrl: ctrl} 1464 mock.recorder = &MockExtendedOptionsMockRecorder{mock} 1465 return mock 1466 } 1467 1468 // EXPECT returns an object that allows the caller to indicate expected use. 1469 func (m *MockExtendedOptions) EXPECT() *MockExtendedOptionsMockRecorder { 1470 return m.recorder 1471 } 1472 1473 // ToProto mocks base method. 1474 func (m *MockExtendedOptions) ToProto() (string, *types.Struct) { 1475 m.ctrl.T.Helper() 1476 ret := m.ctrl.Call(m, "ToProto") 1477 ret0, _ := ret[0].(string) 1478 ret1, _ := ret[1].(*types.Struct) 1479 return ret0, ret1 1480 } 1481 1482 // ToProto indicates an expected call of ToProto. 1483 func (mr *MockExtendedOptionsMockRecorder) ToProto() *gomock.Call { 1484 mr.mock.ctrl.T.Helper() 1485 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ToProto", reflect.TypeOf((*MockExtendedOptions)(nil).ToProto)) 1486 } 1487 1488 // Validate mocks base method. 1489 func (m *MockExtendedOptions) Validate() error { 1490 m.ctrl.T.Helper() 1491 ret := m.ctrl.Call(m, "Validate") 1492 ret0, _ := ret[0].(error) 1493 return ret0 1494 } 1495 1496 // Validate indicates an expected call of Validate. 1497 func (mr *MockExtendedOptionsMockRecorder) Validate() *gomock.Call { 1498 mr.mock.ctrl.T.Helper() 1499 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockExtendedOptions)(nil).Validate)) 1500 } 1501 1502 // MockAggregationOptions is a mock of AggregationOptions interface. 1503 type MockAggregationOptions struct { 1504 ctrl *gomock.Controller 1505 recorder *MockAggregationOptionsMockRecorder 1506 } 1507 1508 // MockAggregationOptionsMockRecorder is the mock recorder for MockAggregationOptions. 1509 type MockAggregationOptionsMockRecorder struct { 1510 mock *MockAggregationOptions 1511 } 1512 1513 // NewMockAggregationOptions creates a new mock instance. 1514 func NewMockAggregationOptions(ctrl *gomock.Controller) *MockAggregationOptions { 1515 mock := &MockAggregationOptions{ctrl: ctrl} 1516 mock.recorder = &MockAggregationOptionsMockRecorder{mock} 1517 return mock 1518 } 1519 1520 // EXPECT returns an object that allows the caller to indicate expected use. 1521 func (m *MockAggregationOptions) EXPECT() *MockAggregationOptionsMockRecorder { 1522 return m.recorder 1523 } 1524 1525 // Aggregations mocks base method. 1526 func (m *MockAggregationOptions) Aggregations() []Aggregation { 1527 m.ctrl.T.Helper() 1528 ret := m.ctrl.Call(m, "Aggregations") 1529 ret0, _ := ret[0].([]Aggregation) 1530 return ret0 1531 } 1532 1533 // Aggregations indicates an expected call of Aggregations. 1534 func (mr *MockAggregationOptionsMockRecorder) Aggregations() *gomock.Call { 1535 mr.mock.ctrl.T.Helper() 1536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregations", reflect.TypeOf((*MockAggregationOptions)(nil).Aggregations)) 1537 } 1538 1539 // Equal mocks base method. 1540 func (m *MockAggregationOptions) Equal(value AggregationOptions) bool { 1541 m.ctrl.T.Helper() 1542 ret := m.ctrl.Call(m, "Equal", value) 1543 ret0, _ := ret[0].(bool) 1544 return ret0 1545 } 1546 1547 // Equal indicates an expected call of Equal. 1548 func (mr *MockAggregationOptionsMockRecorder) Equal(value interface{}) *gomock.Call { 1549 mr.mock.ctrl.T.Helper() 1550 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockAggregationOptions)(nil).Equal), value) 1551 } 1552 1553 // SetAggregations mocks base method. 1554 func (m *MockAggregationOptions) SetAggregations(value []Aggregation) AggregationOptions { 1555 m.ctrl.T.Helper() 1556 ret := m.ctrl.Call(m, "SetAggregations", value) 1557 ret0, _ := ret[0].(AggregationOptions) 1558 return ret0 1559 } 1560 1561 // SetAggregations indicates an expected call of SetAggregations. 1562 func (mr *MockAggregationOptionsMockRecorder) SetAggregations(value interface{}) *gomock.Call { 1563 mr.mock.ctrl.T.Helper() 1564 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAggregations", reflect.TypeOf((*MockAggregationOptions)(nil).SetAggregations), value) 1565 }