Documentation ¶
Overview ¶
Package mock_metric is a generated GoMock package.
Package mock_metric is a generated GoMock package.
Index ¶
- type MockReportRepo
- func (m *MockReportRepo) CountMatched(arg0 context.Context, arg1 url.Values) (int64, error)
- func (m *MockReportRepo) CountUniquePage(arg0 context.Context, arg1 url.Values) (int64, error)
- func (m *MockReportRepo) DailyReports(arg0 context.Context, arg1, arg2, arg3 string) ([]*metric.DailyReport, error)
- func (m *MockReportRepo) EXPECT() *MockReportRepoMockRecorder
- func (m *MockReportRepo) MismatchReports(arg0 context.Context, arg1 repository.PaginationParam) ([]*metric.MismatchReport, error)
- type MockReportRepoMockRecorder
- func (mr *MockReportRepoMockRecorder) CountMatched(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportRepoMockRecorder) CountUniquePage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportRepoMockRecorder) DailyReports(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockReportRepoMockRecorder) MismatchReports(arg0, arg1 interface{}) *gomock.Call
- type MockRuleMatchingRepo
- type MockRuleMatchingRepoMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReportRepo ¶
type MockReportRepo struct {
// contains filtered or unexported fields
}
MockReportRepo is a mock of ReportRepo interface
func NewMockReportRepo ¶
func NewMockReportRepo(ctrl *gomock.Controller) *MockReportRepo
NewMockReportRepo creates a new mock instance
func (*MockReportRepo) CountMatched ¶
CountMatched mocks base method
func (*MockReportRepo) CountUniquePage ¶
CountUniquePage mocks base method
func (*MockReportRepo) DailyReports ¶
func (m *MockReportRepo) DailyReports(arg0 context.Context, arg1, arg2, arg3 string) ([]*metric.DailyReport, error)
DailyReports mocks base method
func (*MockReportRepo) EXPECT ¶
func (m *MockReportRepo) EXPECT() *MockReportRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReportRepo) MismatchReports ¶
func (m *MockReportRepo) MismatchReports(arg0 context.Context, arg1 repository.PaginationParam) ([]*metric.MismatchReport, error)
MismatchReports mocks base method
type MockReportRepoMockRecorder ¶
type MockReportRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockReportRepoMockRecorder is the mock recorder for MockReportRepo
func (*MockReportRepoMockRecorder) CountMatched ¶
func (mr *MockReportRepoMockRecorder) CountMatched(arg0, arg1 interface{}) *gomock.Call
CountMatched indicates an expected call of CountMatched
func (*MockReportRepoMockRecorder) CountUniquePage ¶
func (mr *MockReportRepoMockRecorder) CountUniquePage(arg0, arg1 interface{}) *gomock.Call
CountUniquePage indicates an expected call of CountUniquePage
func (*MockReportRepoMockRecorder) DailyReports ¶
func (mr *MockReportRepoMockRecorder) DailyReports(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DailyReports indicates an expected call of DailyReports
func (*MockReportRepoMockRecorder) MismatchReports ¶
func (mr *MockReportRepoMockRecorder) MismatchReports(arg0, arg1 interface{}) *gomock.Call
MismatchReports indicates an expected call of MismatchReports
type MockRuleMatchingRepo ¶
type MockRuleMatchingRepo struct {
// contains filtered or unexported fields
}
MockRuleMatchingRepo is a mock of RuleMatchingRepo interface
func NewMockRuleMatchingRepo ¶
func NewMockRuleMatchingRepo(ctrl *gomock.Controller) *MockRuleMatchingRepo
NewMockRuleMatchingRepo creates a new mock instance
func (*MockRuleMatchingRepo) EXPECT ¶
func (m *MockRuleMatchingRepo) EXPECT() *MockRuleMatchingRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRuleMatchingRepo) Insert ¶
func (m *MockRuleMatchingRepo) Insert(arg0 context.Context, arg1 metric.RuleMatching) error
Insert mocks base method
type MockRuleMatchingRepoMockRecorder ¶
type MockRuleMatchingRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRuleMatchingRepoMockRecorder is the mock recorder for MockRuleMatchingRepo
func (*MockRuleMatchingRepoMockRecorder) Insert ¶
func (mr *MockRuleMatchingRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert