Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Index ¶
- type 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
- type 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
- 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
- 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
- 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
- type MockHistoryServiceMockRecorder
- type 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
- 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
- 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
- type 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
- 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
- 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
- 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
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuditTrailService ¶
type MockAuditTrailService struct {
// contains filtered or unexported fields
}
MockAuditTrailService is a mock of AuditTrailService interface
func NewMockAuditTrailService ¶
func NewMockAuditTrailService(ctrl *gomock.Controller) *MockAuditTrailService
NewMockAuditTrailService creates a new mock instance
func (*MockAuditTrailService) EXPECT ¶
func (m *MockAuditTrailService) EXPECT() *MockAuditTrailServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuditTrailService) Find ¶
func (m *MockAuditTrailService) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.AuditTrail, error)
Find mocks base method
func (*MockAuditTrailService) RecordChanges ¶
func (m *MockAuditTrailService) RecordChanges(arg0 context.Context, arg1 string, arg2 int64, arg3 repository.OperationType, arg4, arg5 interface{}) (int64, error)
RecordChanges mocks base method
type MockAuditTrailServiceMockRecorder ¶
type MockAuditTrailServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuditTrailServiceMockRecorder is the mock recorder for MockAuditTrailService
func (*MockAuditTrailServiceMockRecorder) Find ¶
func (mr *MockAuditTrailServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockAuditTrailServiceMockRecorder) RecordChanges ¶
func (mr *MockAuditTrailServiceMockRecorder) RecordChanges(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
RecordChanges indicates an expected call of RecordChanges
type MockCenterService ¶
type MockCenterService struct {
// contains filtered or unexported fields
}
MockCenterService is a mock of CenterService interface
func NewMockCenterService ¶
func NewMockCenterService(ctrl *gomock.Controller) *MockCenterService
NewMockCenterService creates a new mock instance
func (*MockCenterService) AddCanonicalTag ¶
func (m *MockCenterService) AddCanonicalTag(arg0 context.Context, arg1 service.CanonicalTagRequest) (*repository.Tag, error)
AddCanonicalTag mocks base method
func (*MockCenterService) AddMetaTag ¶
func (m *MockCenterService) AddMetaTag(arg0 context.Context, arg1 service.MetaTagRequest) (*repository.Tag, error)
AddMetaTag mocks base method
func (*MockCenterService) AddScriptTag ¶
func (m *MockCenterService) AddScriptTag(arg0 context.Context, arg1 service.ScriptTagRequest) (*repository.Tag, error)
AddScriptTag mocks base method
func (*MockCenterService) AddTitleTag ¶
func (m *MockCenterService) AddTitleTag(arg0 context.Context, arg1 service.TitleTagRequest) (*repository.Tag, error)
AddTitleTag mocks base method
func (*MockCenterService) EXPECT ¶
func (m *MockCenterService) EXPECT() *MockCenterServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCenterService) UpdateCanonicalTag ¶
func (m *MockCenterService) UpdateCanonicalTag(arg0 context.Context, arg1 service.CanonicalTagRequest) error
UpdateCanonicalTag mocks base method
func (*MockCenterService) UpdateMetaTag ¶
func (m *MockCenterService) UpdateMetaTag(arg0 context.Context, arg1 service.MetaTagRequest) error
UpdateMetaTag mocks base method
func (*MockCenterService) UpdateScriptTag ¶
func (m *MockCenterService) UpdateScriptTag(arg0 context.Context, arg1 service.ScriptTagRequest) error
UpdateScriptTag mocks base method
func (*MockCenterService) UpdateTitleTag ¶
func (m *MockCenterService) UpdateTitleTag(arg0 context.Context, arg1 service.TitleTagRequest) error
UpdateTitleTag mocks base method
type MockCenterServiceMockRecorder ¶
type MockCenterServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCenterServiceMockRecorder is the mock recorder for MockCenterService
func (*MockCenterServiceMockRecorder) AddCanonicalTag ¶
func (mr *MockCenterServiceMockRecorder) AddCanonicalTag(arg0, arg1 interface{}) *gomock.Call
AddCanonicalTag indicates an expected call of AddCanonicalTag
func (*MockCenterServiceMockRecorder) AddMetaTag ¶
func (mr *MockCenterServiceMockRecorder) AddMetaTag(arg0, arg1 interface{}) *gomock.Call
AddMetaTag indicates an expected call of AddMetaTag
func (*MockCenterServiceMockRecorder) AddScriptTag ¶
func (mr *MockCenterServiceMockRecorder) AddScriptTag(arg0, arg1 interface{}) *gomock.Call
AddScriptTag indicates an expected call of AddScriptTag
func (*MockCenterServiceMockRecorder) AddTitleTag ¶
func (mr *MockCenterServiceMockRecorder) AddTitleTag(arg0, arg1 interface{}) *gomock.Call
AddTitleTag indicates an expected call of AddTitleTag
func (*MockCenterServiceMockRecorder) UpdateCanonicalTag ¶
func (mr *MockCenterServiceMockRecorder) UpdateCanonicalTag(arg0, arg1 interface{}) *gomock.Call
UpdateCanonicalTag indicates an expected call of UpdateCanonicalTag
func (*MockCenterServiceMockRecorder) UpdateMetaTag ¶
func (mr *MockCenterServiceMockRecorder) UpdateMetaTag(arg0, arg1 interface{}) *gomock.Call
UpdateMetaTag indicates an expected call of UpdateMetaTag
func (*MockCenterServiceMockRecorder) UpdateScriptTag ¶
func (mr *MockCenterServiceMockRecorder) UpdateScriptTag(arg0, arg1 interface{}) *gomock.Call
UpdateScriptTag indicates an expected call of UpdateScriptTag
func (*MockCenterServiceMockRecorder) UpdateTitleTag ¶
func (mr *MockCenterServiceMockRecorder) UpdateTitleTag(arg0, arg1 interface{}) *gomock.Call
UpdateTitleTag indicates an expected call of UpdateTitleTag
type MockDataSourceService ¶
type MockDataSourceService struct {
// contains filtered or unexported fields
}
MockDataSourceService is a mock of DataSourceService interface
func NewMockDataSourceService ¶
func NewMockDataSourceService(ctrl *gomock.Controller) *MockDataSourceService
NewMockDataSourceService creates a new mock instance
func (*MockDataSourceService) Delete ¶
func (m *MockDataSourceService) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockDataSourceService) EXPECT ¶
func (m *MockDataSourceService) EXPECT() *MockDataSourceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataSourceService) Find ¶
func (m *MockDataSourceService) Find(arg0 context.Context) ([]*repository.DataSource, error)
Find mocks base method
func (*MockDataSourceService) FindOne ¶
func (m *MockDataSourceService) FindOne(arg0 context.Context, arg1 int64) (*repository.DataSource, error)
FindOne mocks base method
func (*MockDataSourceService) Insert ¶
func (m *MockDataSourceService) Insert(arg0 context.Context, arg1 repository.DataSource) (int64, error)
Insert mocks base method
func (*MockDataSourceService) Update ¶
func (m *MockDataSourceService) Update(arg0 context.Context, arg1 repository.DataSource) error
Update mocks base method
type MockDataSourceServiceMockRecorder ¶
type MockDataSourceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDataSourceServiceMockRecorder is the mock recorder for MockDataSourceService
func (*MockDataSourceServiceMockRecorder) Delete ¶
func (mr *MockDataSourceServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDataSourceServiceMockRecorder) Find ¶
func (mr *MockDataSourceServiceMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockDataSourceServiceMockRecorder) FindOne ¶
func (mr *MockDataSourceServiceMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockDataSourceServiceMockRecorder) Insert ¶
func (mr *MockDataSourceServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockDataSourceServiceMockRecorder) Update ¶
func (mr *MockDataSourceServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockHistoryService ¶
type MockHistoryService struct {
// contains filtered or unexported fields
}
MockHistoryService is a mock of HistoryService interface
func NewMockHistoryService ¶
func NewMockHistoryService(ctrl *gomock.Controller) *MockHistoryService
NewMockHistoryService creates a new mock instance
func (*MockHistoryService) EXPECT ¶
func (m *MockHistoryService) EXPECT() *MockHistoryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHistoryService) RecordHistory ¶
func (m *MockHistoryService) RecordHistory(arg0 context.Context, arg1 string, arg2 int64, arg3 interface{}) (int64, error)
RecordHistory mocks base method
type MockHistoryServiceMockRecorder ¶
type MockHistoryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockHistoryServiceMockRecorder is the mock recorder for MockHistoryService
func (*MockHistoryServiceMockRecorder) RecordHistory ¶
func (mr *MockHistoryServiceMockRecorder) RecordHistory(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RecordHistory indicates an expected call of RecordHistory
type MockMetricService ¶
type MockMetricService struct {
// contains filtered or unexported fields
}
MockMetricService is a mock of MetricService interface
func NewMockMetricService ¶
func NewMockMetricService(ctrl *gomock.Controller) *MockMetricService
NewMockMetricService creates a new mock instance
func (*MockMetricService) CountMatched ¶
CountMatched mocks base method
func (*MockMetricService) CountUniquePage ¶
CountUniquePage mocks base method
func (*MockMetricService) DailyReports ¶
func (m *MockMetricService) DailyReports(arg0 context.Context, arg1, arg2, arg3 string) ([]*metric.DailyReport, error)
DailyReports mocks base method
func (*MockMetricService) EXPECT ¶
func (m *MockMetricService) EXPECT() *MockMetricServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMetricService) MismatchReports ¶
func (m *MockMetricService) MismatchReports(arg0 context.Context, arg1 repository.PaginationParam) ([]*metric.MismatchReport, error)
MismatchReports mocks base method
type MockMetricServiceMockRecorder ¶
type MockMetricServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricServiceMockRecorder is the mock recorder for MockMetricService
func (*MockMetricServiceMockRecorder) CountMatched ¶
func (mr *MockMetricServiceMockRecorder) CountMatched(arg0, arg1 interface{}) *gomock.Call
CountMatched indicates an expected call of CountMatched
func (*MockMetricServiceMockRecorder) CountUniquePage ¶
func (mr *MockMetricServiceMockRecorder) CountUniquePage(arg0, arg1 interface{}) *gomock.Call
CountUniquePage indicates an expected call of CountUniquePage
func (*MockMetricServiceMockRecorder) DailyReports ¶
func (mr *MockMetricServiceMockRecorder) DailyReports(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DailyReports indicates an expected call of DailyReports
func (*MockMetricServiceMockRecorder) MismatchReports ¶
func (mr *MockMetricServiceMockRecorder) MismatchReports(arg0, arg1 interface{}) *gomock.Call
MismatchReports indicates an expected call of MismatchReports
type MockProviderService ¶
type MockProviderService struct {
// contains filtered or unexported fields
}
MockProviderService is a mock of ProviderService interface
func NewMockProviderService ¶
func NewMockProviderService(ctrl *gomock.Controller) *MockProviderService
NewMockProviderService creates a new mock instance
func (*MockProviderService) EXPECT ¶
func (m *MockProviderService) EXPECT() *MockProviderServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProviderService) FetchTags ¶
func (m *MockProviderService) FetchTags(arg0 context.Context, arg1 int64, arg2 url.Values) ([]*service.ITag, error)
FetchTags mocks base method
func (*MockProviderService) FetchTagsWithCache ¶
func (m *MockProviderService) FetchTagsWithCache(arg0 context.Context, arg1 int64, arg2 url.Values, arg3 *cachekit.Pragma) ([]*service.ITag, error)
FetchTagsWithCache mocks base method
func (*MockProviderService) Match ¶
func (m *MockProviderService) Match(arg0 context.Context, arg1 service.MatchRequest) (*service.MatchResponse, error)
Match mocks base method
type MockProviderServiceMockRecorder ¶
type MockProviderServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderServiceMockRecorder is the mock recorder for MockProviderService
func (*MockProviderServiceMockRecorder) FetchTags ¶
func (mr *MockProviderServiceMockRecorder) FetchTags(arg0, arg1, arg2 interface{}) *gomock.Call
FetchTags indicates an expected call of FetchTags
func (*MockProviderServiceMockRecorder) FetchTagsWithCache ¶
func (mr *MockProviderServiceMockRecorder) FetchTagsWithCache(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FetchTagsWithCache indicates an expected call of FetchTagsWithCache
func (*MockProviderServiceMockRecorder) Match ¶
func (mr *MockProviderServiceMockRecorder) Match(arg0, arg1 interface{}) *gomock.Call
Match indicates an expected call of Match
type MockRuleService ¶
type MockRuleService struct {
// contains filtered or unexported fields
}
MockRuleService is a mock of RuleService interface
func NewMockRuleService ¶
func NewMockRuleService(ctrl *gomock.Controller) *MockRuleService
NewMockRuleService creates a new mock instance
func (*MockRuleService) Delete ¶
func (m *MockRuleService) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockRuleService) EXPECT ¶
func (m *MockRuleService) EXPECT() *MockRuleServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRuleService) Find ¶
func (m *MockRuleService) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.Rule, error)
Find mocks base method
func (*MockRuleService) FindOne ¶
func (m *MockRuleService) FindOne(arg0 context.Context, arg1 int64) (*repository.Rule, error)
FindOne mocks base method
func (*MockRuleService) Insert ¶
func (m *MockRuleService) Insert(arg0 context.Context, arg1 repository.Rule) (int64, error)
Insert mocks base method
func (*MockRuleService) Update ¶
func (m *MockRuleService) Update(arg0 context.Context, arg1 repository.Rule) error
Update mocks base method
type MockRuleServiceMockRecorder ¶
type MockRuleServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRuleServiceMockRecorder is the mock recorder for MockRuleService
func (*MockRuleServiceMockRecorder) Delete ¶
func (mr *MockRuleServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockRuleServiceMockRecorder) Find ¶
func (mr *MockRuleServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockRuleServiceMockRecorder) FindOne ¶
func (mr *MockRuleServiceMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockRuleServiceMockRecorder) Insert ¶
func (mr *MockRuleServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockRuleServiceMockRecorder) Update ¶
func (mr *MockRuleServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockTagService ¶
type MockTagService struct {
// contains filtered or unexported fields
}
MockTagService is a mock of TagService interface
func NewMockTagService ¶
func NewMockTagService(ctrl *gomock.Controller) *MockTagService
NewMockTagService creates a new mock instance
func (*MockTagService) Delete ¶
func (m *MockTagService) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockTagService) EXPECT ¶
func (m *MockTagService) EXPECT() *MockTagServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTagService) Find ¶
func (m *MockTagService) Find(arg0 context.Context, arg1 ...dbkit.FindOption) ([]*repository.Tag, error)
Find mocks base method
func (*MockTagService) FindByRuleAndLocale ¶
func (m *MockTagService) FindByRuleAndLocale(arg0 context.Context, arg1 int64, arg2 string) ([]*repository.Tag, error)
FindByRuleAndLocale mocks base method
func (*MockTagService) FindOne ¶
func (m *MockTagService) FindOne(arg0 context.Context, arg1 int64) (*repository.Tag, error)
FindOne mocks base method
func (*MockTagService) Insert ¶
func (m *MockTagService) Insert(arg0 context.Context, arg1 repository.Tag) (int64, error)
Insert mocks base method
func (*MockTagService) Update ¶
func (m *MockTagService) Update(arg0 context.Context, arg1 repository.Tag) error
Update mocks base method
type MockTagServiceMockRecorder ¶
type MockTagServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTagServiceMockRecorder is the mock recorder for MockTagService
func (*MockTagServiceMockRecorder) Delete ¶
func (mr *MockTagServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTagServiceMockRecorder) Find ¶
func (mr *MockTagServiceMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockTagServiceMockRecorder) FindByRuleAndLocale ¶
func (mr *MockTagServiceMockRecorder) FindByRuleAndLocale(arg0, arg1, arg2 interface{}) *gomock.Call
FindByRuleAndLocale indicates an expected call of FindByRuleAndLocale
func (*MockTagServiceMockRecorder) FindOne ¶
func (mr *MockTagServiceMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockTagServiceMockRecorder) Insert ¶
func (mr *MockTagServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockTagServiceMockRecorder) Update ¶
func (mr *MockTagServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockURLService ¶
type MockURLService struct {
// contains filtered or unexported fields
}
MockURLService is a mock of URLService interface
func NewMockURLService ¶
func NewMockURLService(ctrl *gomock.Controller) *MockURLService
NewMockURLService creates a new mock instance
func (*MockURLService) Delete ¶
func (m *MockURLService) Delete(arg0 int64) bool
Delete mocks base method
func (*MockURLService) DumpTree ¶
func (m *MockURLService) DumpTree() string
DumpTree mocks base method
func (*MockURLService) EXPECT ¶
func (m *MockURLService) EXPECT() *MockURLServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockURLService) FullSync ¶
func (m *MockURLService) FullSync(arg0 context.Context) error
FullSync mocks base method
func (*MockURLService) Get ¶
func (m *MockURLService) Get(arg0 string, arg1 []string) (interface{}, []string)
Get mocks base method
func (*MockURLService) Insert ¶
func (m *MockURLService) Insert(arg0 int64, arg1 string)
Insert mocks base method
func (*MockURLService) Match ¶
func (m *MockURLService) Match(arg0 string) (int64, map[string]string)
Match mocks base method
func (*MockURLService) Sync ¶
func (m *MockURLService) Sync(arg0 context.Context) error
Sync mocks base method
func (*MockURLService) Update ¶
func (m *MockURLService) Update(arg0 int64, arg1 string)
Update mocks base method
type MockURLServiceMockRecorder ¶
type MockURLServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockURLServiceMockRecorder is the mock recorder for MockURLService
func (*MockURLServiceMockRecorder) Count ¶
func (mr *MockURLServiceMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count
func (*MockURLServiceMockRecorder) Delete ¶
func (mr *MockURLServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockURLServiceMockRecorder) DumpTree ¶
func (mr *MockURLServiceMockRecorder) DumpTree() *gomock.Call
DumpTree indicates an expected call of DumpTree
func (*MockURLServiceMockRecorder) FullSync ¶
func (mr *MockURLServiceMockRecorder) FullSync(arg0 interface{}) *gomock.Call
FullSync indicates an expected call of FullSync
func (*MockURLServiceMockRecorder) Get ¶
func (mr *MockURLServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockURLServiceMockRecorder) Insert ¶
func (mr *MockURLServiceMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockURLServiceMockRecorder) Match ¶
func (mr *MockURLServiceMockRecorder) Match(arg0 interface{}) *gomock.Call
Match indicates an expected call of Match
func (*MockURLServiceMockRecorder) Sync ¶
func (mr *MockURLServiceMockRecorder) Sync(arg0 interface{}) *gomock.Call
Sync indicates an expected call of Sync
func (*MockURLServiceMockRecorder) Update ¶
func (mr *MockURLServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update