-
Notifications
You must be signed in to change notification settings - Fork 13
/
mau.go
91 lines (76 loc) · 3.15 KB
/
mau.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Code generated by MockGen. DO NOT EDIT.
// Source: mau.go
// Package mock is a generated GoMock package.
package mock
import (
context "context"
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockMAUStorage is a mock of MAUStorage interface.
type MockMAUStorage struct {
ctrl *gomock.Controller
recorder *MockMAUStorageMockRecorder
}
// MockMAUStorageMockRecorder is the mock recorder for MockMAUStorage.
type MockMAUStorageMockRecorder struct {
mock *MockMAUStorage
}
// NewMockMAUStorage creates a new mock instance.
func NewMockMAUStorage(ctrl *gomock.Controller) *MockMAUStorage {
mock := &MockMAUStorage{ctrl: ctrl}
mock.recorder = &MockMAUStorageMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockMAUStorage) EXPECT() *MockMAUStorageMockRecorder {
return m.recorder
}
// CreatePartition mocks base method.
func (m *MockMAUStorage) CreatePartition(ctx context.Context, partition, lessThan string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreatePartition", ctx, partition, lessThan)
ret0, _ := ret[0].(error)
return ret0
}
// CreatePartition indicates an expected call of CreatePartition.
func (mr *MockMAUStorageMockRecorder) CreatePartition(ctx, partition, lessThan interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePartition", reflect.TypeOf((*MockMAUStorage)(nil).CreatePartition), ctx, partition, lessThan)
}
// DeleteRecords mocks base method.
func (m *MockMAUStorage) DeleteRecords(ctx context.Context, partition string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteRecords", ctx, partition)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteRecords indicates an expected call of DeleteRecords.
func (mr *MockMAUStorageMockRecorder) DeleteRecords(ctx, partition interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRecords", reflect.TypeOf((*MockMAUStorage)(nil).DeleteRecords), ctx, partition)
}
// DropPartition mocks base method.
func (m *MockMAUStorage) DropPartition(ctx context.Context, partition string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DropPartition", ctx, partition)
ret0, _ := ret[0].(error)
return ret0
}
// DropPartition indicates an expected call of DropPartition.
func (mr *MockMAUStorageMockRecorder) DropPartition(ctx, partition interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DropPartition", reflect.TypeOf((*MockMAUStorage)(nil).DropPartition), ctx, partition)
}
// RebuildPartition mocks base method.
func (m *MockMAUStorage) RebuildPartition(ctx context.Context, partition string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RebuildPartition", ctx, partition)
ret0, _ := ret[0].(error)
return ret0
}
// RebuildPartition indicates an expected call of RebuildPartition.
func (mr *MockMAUStorageMockRecorder) RebuildPartition(ctx, partition interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RebuildPartition", reflect.TypeOf((*MockMAUStorage)(nil).RebuildPartition), ctx, partition)
}