Versions in this module Expand all Collapse all v0 v0.4.0 Apr 20, 2020 Changes in this version + type MockAuditTrailService struct + func NewMockAuditTrailService(ctrl *gomock.Controller) *MockAuditTrailService + func (m *MockAuditTrailService) EXPECT() *MockAuditTrailServiceMockRecorder + func (m *MockAuditTrailService) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.AuditTrail, error) + func (m *MockAuditTrailService) RecordChanges(arg0 context.Context, arg1 string, arg2 int64, arg3 repository.OperationType, ...) (int64, error) + type MockAuditTrailServiceMockRecorder struct + func (mr *MockAuditTrailServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAuditTrailServiceMockRecorder) RecordChanges(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call + type MockCenterService struct + func NewMockCenterService(ctrl *gomock.Controller) *MockCenterService + func (m *MockCenterService) AddCanonicalTag(arg0 context.Context, arg1 service.CanonicalTagRequest) (*repository.Tag, error) + func (m *MockCenterService) AddMetaTag(arg0 context.Context, arg1 service.MetaTagRequest) (*repository.Tag, error) + func (m *MockCenterService) AddScriptTag(arg0 context.Context, arg1 service.ScriptTagRequest) (*repository.Tag, error) + func (m *MockCenterService) AddTitleTag(arg0 context.Context, arg1 service.TitleTagRequest) (*repository.Tag, error) + func (m *MockCenterService) EXPECT() *MockCenterServiceMockRecorder + func (m *MockCenterService) UpdateCanonicalTag(arg0 context.Context, arg1 service.CanonicalTagRequest) error + func (m *MockCenterService) UpdateMetaTag(arg0 context.Context, arg1 service.MetaTagRequest) error + func (m *MockCenterService) UpdateScriptTag(arg0 context.Context, arg1 service.ScriptTagRequest) error + func (m *MockCenterService) UpdateTitleTag(arg0 context.Context, arg1 service.TitleTagRequest) error + type MockCenterServiceMockRecorder struct + func (mr *MockCenterServiceMockRecorder) AddCanonicalTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) AddMetaTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) AddScriptTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) AddTitleTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) UpdateCanonicalTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) UpdateMetaTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) UpdateScriptTag(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCenterServiceMockRecorder) UpdateTitleTag(arg0, arg1 interface{}) *gomock.Call + type MockDataSourceService struct + func NewMockDataSourceService(ctrl *gomock.Controller) *MockDataSourceService + func (m *MockDataSourceService) Delete(arg0 context.Context, arg1 int64) error + func (m *MockDataSourceService) EXPECT() *MockDataSourceServiceMockRecorder + func (m *MockDataSourceService) Find(arg0 context.Context) ([]*repository.DataSource, error) + func (m *MockDataSourceService) FindOne(arg0 context.Context, arg1 int64) (*repository.DataSource, error) + func (m *MockDataSourceService) Insert(arg0 context.Context, arg1 repository.DataSource) (int64, error) + func (m *MockDataSourceService) Update(arg0 context.Context, arg1 repository.DataSource) error + type MockDataSourceServiceMockRecorder struct + func (mr *MockDataSourceServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDataSourceServiceMockRecorder) Find(arg0 interface{}) *gomock.Call + func (mr *MockDataSourceServiceMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDataSourceServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDataSourceServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call + type MockHistoryService struct + func NewMockHistoryService(ctrl *gomock.Controller) *MockHistoryService + func (m *MockHistoryService) EXPECT() *MockHistoryServiceMockRecorder + func (m *MockHistoryService) RecordHistory(arg0 context.Context, arg1 string, arg2 int64, arg3 interface{}) (int64, error) + type MockHistoryServiceMockRecorder struct + func (mr *MockHistoryServiceMockRecorder) RecordHistory(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + type MockMetricService struct + func NewMockMetricService(ctrl *gomock.Controller) *MockMetricService + func (m *MockMetricService) CountMatched(arg0 context.Context, arg1 url.Values) (int64, error) + func (m *MockMetricService) CountUniquePage(arg0 context.Context, arg1 url.Values) (int64, error) + func (m *MockMetricService) DailyReports(arg0 context.Context, arg1, arg2, arg3 string) ([]*metric.DailyReport, error) + func (m *MockMetricService) EXPECT() *MockMetricServiceMockRecorder + func (m *MockMetricService) MismatchReports(arg0 context.Context, arg1 repository.PaginationParam) ([]*metric.MismatchReport, error) + type MockMetricServiceMockRecorder struct + func (mr *MockMetricServiceMockRecorder) CountMatched(arg0, arg1 interface{}) *gomock.Call + func (mr *MockMetricServiceMockRecorder) CountUniquePage(arg0, arg1 interface{}) *gomock.Call + func (mr *MockMetricServiceMockRecorder) DailyReports(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockMetricServiceMockRecorder) MismatchReports(arg0, arg1 interface{}) *gomock.Call + type MockProviderService struct + func NewMockProviderService(ctrl *gomock.Controller) *MockProviderService + func (m *MockProviderService) EXPECT() *MockProviderServiceMockRecorder + func (m *MockProviderService) FetchTags(arg0 context.Context, arg1 int64, arg2 url.Values) ([]*service.ITag, error) + func (m *MockProviderService) FetchTagsWithCache(arg0 context.Context, arg1 int64, arg2 url.Values, arg3 *cachekit.Pragma) ([]*service.ITag, error) + func (m *MockProviderService) Match(arg0 context.Context, arg1 service.MatchRequest) (*service.MatchResponse, error) + type MockProviderServiceMockRecorder struct + func (mr *MockProviderServiceMockRecorder) FetchTags(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockProviderServiceMockRecorder) FetchTagsWithCache(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockProviderServiceMockRecorder) Match(arg0, arg1 interface{}) *gomock.Call + type MockRuleService struct + func NewMockRuleService(ctrl *gomock.Controller) *MockRuleService + func (m *MockRuleService) Delete(arg0 context.Context, arg1 int64) error + func (m *MockRuleService) EXPECT() *MockRuleServiceMockRecorder + func (m *MockRuleService) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.Rule, error) + func (m *MockRuleService) FindOne(arg0 context.Context, arg1 int64) (*repository.Rule, error) + func (m *MockRuleService) Insert(arg0 context.Context, arg1 repository.Rule) (int64, error) + func (m *MockRuleService) Update(arg0 context.Context, arg1 repository.Rule) error + type MockRuleServiceMockRecorder struct + func (mr *MockRuleServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRuleServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRuleServiceMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRuleServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRuleServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call + type MockTagService struct + func NewMockTagService(ctrl *gomock.Controller) *MockTagService + func (m *MockTagService) Delete(arg0 context.Context, arg1 int64) error + func (m *MockTagService) EXPECT() *MockTagServiceMockRecorder + func (m *MockTagService) Find(arg0 context.Context, arg1 ...dbkit.FindOption) ([]*repository.Tag, error) + func (m *MockTagService) FindByRuleAndLocale(arg0 context.Context, arg1 int64, arg2 string) ([]*repository.Tag, error) + func (m *MockTagService) FindOne(arg0 context.Context, arg1 int64) (*repository.Tag, error) + func (m *MockTagService) Insert(arg0 context.Context, arg1 repository.Tag) (int64, error) + func (m *MockTagService) Update(arg0 context.Context, arg1 repository.Tag) error + type MockTagServiceMockRecorder struct + func (mr *MockTagServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTagServiceMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockTagServiceMockRecorder) FindByRuleAndLocale(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTagServiceMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTagServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTagServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call + type MockURLService struct + func NewMockURLService(ctrl *gomock.Controller) *MockURLService + func (m *MockURLService) Count() int + func (m *MockURLService) Delete(arg0 int64) bool + func (m *MockURLService) DumpTree() string + func (m *MockURLService) EXPECT() *MockURLServiceMockRecorder + func (m *MockURLService) FullSync(arg0 context.Context) error + func (m *MockURLService) Get(arg0 string, arg1 []string) (interface{}, []string) + func (m *MockURLService) Insert(arg0 int64, arg1 string) + func (m *MockURLService) Match(arg0 string) (int64, map[string]string) + func (m *MockURLService) Sync(arg0 context.Context) error + func (m *MockURLService) Update(arg0 int64, arg1 string) + type MockURLServiceMockRecorder struct + func (mr *MockURLServiceMockRecorder) Count() *gomock.Call + func (mr *MockURLServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call + func (mr *MockURLServiceMockRecorder) DumpTree() *gomock.Call + func (mr *MockURLServiceMockRecorder) FullSync(arg0 interface{}) *gomock.Call + func (mr *MockURLServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call + func (mr *MockURLServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call + func (mr *MockURLServiceMockRecorder) Match(arg0 interface{}) *gomock.Call + func (mr *MockURLServiceMockRecorder) Sync(arg0 interface{}) *gomock.Call + func (mr *MockURLServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call