mock_metric

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_metric is a generated GoMock package.

Package mock_metric is a generated GoMock package.

Index

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

func (m *MockReportRepo) CountMatched(arg0 context.Context, arg1 url.Values) (int64, error)

CountMatched mocks base method

func (*MockReportRepo) CountUniquePage

func (m *MockReportRepo) CountUniquePage(arg0 context.Context, arg1 url.Values) (int64, error)

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRuleMatchingRepo) Insert

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL