Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Index ¶
- type MockAuditTrailRepo
- type MockAuditTrailRepoMockRecorder
- type MockDataSourceRepo
- func (m *MockDataSourceRepo) Delete(arg0 context.Context, arg1 int64) error
- func (m *MockDataSourceRepo) EXPECT() *MockDataSourceRepoMockRecorder
- func (m *MockDataSourceRepo) Find(arg0 context.Context) ([]*repository.DataSource, error)
- func (m *MockDataSourceRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.DataSource, error)
- func (m *MockDataSourceRepo) Insert(arg0 context.Context, arg1 repository.DataSource) (int64, error)
- func (m *MockDataSourceRepo) Update(arg0 context.Context, arg1 repository.DataSource) error
- type MockDataSourceRepoMockRecorder
- func (mr *MockDataSourceRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDataSourceRepoMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockDataSourceRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDataSourceRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDataSourceRepoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockHistoryRepo
- type MockHistoryRepoMockRecorder
- type MockRuleRepo
- func (m *MockRuleRepo) Delete(arg0 context.Context, arg1 int64) error
- func (m *MockRuleRepo) EXPECT() *MockRuleRepoMockRecorder
- func (m *MockRuleRepo) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.Rule, error)
- func (m *MockRuleRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.Rule, error)
- func (m *MockRuleRepo) Insert(arg0 context.Context, arg1 repository.Rule) (int64, error)
- func (m *MockRuleRepo) Update(arg0 context.Context, arg1 repository.Rule) error
- type MockRuleRepoMockRecorder
- func (mr *MockRuleRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuleRepoMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuleRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuleRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuleRepoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockTagRepo
- func (m *MockTagRepo) Delete(arg0 context.Context, arg1 int64) error
- func (m *MockTagRepo) EXPECT() *MockTagRepoMockRecorder
- func (m *MockTagRepo) Find(arg0 context.Context, arg1 ...dbkit.FindOption) ([]*repository.Tag, error)
- func (m *MockTagRepo) FindByRuleAndLocale(arg0 context.Context, arg1 int64, arg2 string) ([]*repository.Tag, error)
- func (m *MockTagRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.Tag, error)
- func (m *MockTagRepo) Insert(arg0 context.Context, arg1 repository.Tag) (int64, error)
- func (m *MockTagRepo) Update(arg0 context.Context, arg1 repository.Tag) error
- type MockTagRepoMockRecorder
- func (mr *MockTagRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTagRepoMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockTagRepoMockRecorder) FindByRuleAndLocale(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTagRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTagRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTagRepoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockURLSyncRepo
- func (m *MockURLSyncRepo) EXPECT() *MockURLSyncRepoMockRecorder
- func (m *MockURLSyncRepo) Find(arg0 context.Context) ([]*repository.URLSync, error)
- func (m *MockURLSyncRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.URLSync, error)
- func (m *MockURLSyncRepo) GetLatestVersion(arg0 context.Context) (int64, error)
- func (m *MockURLSyncRepo) GetListDiff(arg0 context.Context, arg1 int64) ([]*repository.URLSync, error)
- func (m *MockURLSyncRepo) Insert(arg0 context.Context, arg1 repository.URLSync) (int64, error)
- type MockURLSyncRepoMockRecorder
- func (mr *MockURLSyncRepoMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockURLSyncRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockURLSyncRepoMockRecorder) GetLatestVersion(arg0 interface{}) *gomock.Call
- func (mr *MockURLSyncRepoMockRecorder) GetListDiff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockURLSyncRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuditTrailRepo ¶
type MockAuditTrailRepo struct {
// contains filtered or unexported fields
}
MockAuditTrailRepo is a mock of AuditTrailRepo interface
func NewMockAuditTrailRepo ¶
func NewMockAuditTrailRepo(ctrl *gomock.Controller) *MockAuditTrailRepo
NewMockAuditTrailRepo creates a new mock instance
func (*MockAuditTrailRepo) EXPECT ¶
func (m *MockAuditTrailRepo) EXPECT() *MockAuditTrailRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuditTrailRepo) Find ¶
func (m *MockAuditTrailRepo) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.AuditTrail, error)
Find mocks base method
func (*MockAuditTrailRepo) Insert ¶
func (m *MockAuditTrailRepo) Insert(arg0 context.Context, arg1 repository.AuditTrail) (int64, error)
Insert mocks base method
type MockAuditTrailRepoMockRecorder ¶
type MockAuditTrailRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockAuditTrailRepoMockRecorder is the mock recorder for MockAuditTrailRepo
func (*MockAuditTrailRepoMockRecorder) Find ¶
func (mr *MockAuditTrailRepoMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockAuditTrailRepoMockRecorder) Insert ¶
func (mr *MockAuditTrailRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
type MockDataSourceRepo ¶
type MockDataSourceRepo struct {
// contains filtered or unexported fields
}
MockDataSourceRepo is a mock of DataSourceRepo interface
func NewMockDataSourceRepo ¶
func NewMockDataSourceRepo(ctrl *gomock.Controller) *MockDataSourceRepo
NewMockDataSourceRepo creates a new mock instance
func (*MockDataSourceRepo) Delete ¶
func (m *MockDataSourceRepo) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockDataSourceRepo) EXPECT ¶
func (m *MockDataSourceRepo) EXPECT() *MockDataSourceRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataSourceRepo) Find ¶
func (m *MockDataSourceRepo) Find(arg0 context.Context) ([]*repository.DataSource, error)
Find mocks base method
func (*MockDataSourceRepo) FindOne ¶
func (m *MockDataSourceRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.DataSource, error)
FindOne mocks base method
func (*MockDataSourceRepo) Insert ¶
func (m *MockDataSourceRepo) Insert(arg0 context.Context, arg1 repository.DataSource) (int64, error)
Insert mocks base method
func (*MockDataSourceRepo) Update ¶
func (m *MockDataSourceRepo) Update(arg0 context.Context, arg1 repository.DataSource) error
Update mocks base method
type MockDataSourceRepoMockRecorder ¶
type MockDataSourceRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockDataSourceRepoMockRecorder is the mock recorder for MockDataSourceRepo
func (*MockDataSourceRepoMockRecorder) Delete ¶
func (mr *MockDataSourceRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDataSourceRepoMockRecorder) Find ¶
func (mr *MockDataSourceRepoMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockDataSourceRepoMockRecorder) FindOne ¶
func (mr *MockDataSourceRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockDataSourceRepoMockRecorder) Insert ¶
func (mr *MockDataSourceRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockDataSourceRepoMockRecorder) Update ¶
func (mr *MockDataSourceRepoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockHistoryRepo ¶
type MockHistoryRepo struct {
// contains filtered or unexported fields
}
MockHistoryRepo is a mock of HistoryRepo interface
func NewMockHistoryRepo ¶
func NewMockHistoryRepo(ctrl *gomock.Controller) *MockHistoryRepo
NewMockHistoryRepo creates a new mock instance
func (*MockHistoryRepo) EXPECT ¶
func (m *MockHistoryRepo) EXPECT() *MockHistoryRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHistoryRepo) Insert ¶
func (m *MockHistoryRepo) Insert(arg0 context.Context, arg1 repository.History) (int64, error)
Insert mocks base method
type MockHistoryRepoMockRecorder ¶
type MockHistoryRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockHistoryRepoMockRecorder is the mock recorder for MockHistoryRepo
func (*MockHistoryRepoMockRecorder) Insert ¶
func (mr *MockHistoryRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
type MockRuleRepo ¶
type MockRuleRepo struct {
// contains filtered or unexported fields
}
MockRuleRepo is a mock of RuleRepo interface
func NewMockRuleRepo ¶
func NewMockRuleRepo(ctrl *gomock.Controller) *MockRuleRepo
NewMockRuleRepo creates a new mock instance
func (*MockRuleRepo) Delete ¶
func (m *MockRuleRepo) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockRuleRepo) EXPECT ¶
func (m *MockRuleRepo) EXPECT() *MockRuleRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRuleRepo) Find ¶
func (m *MockRuleRepo) Find(arg0 context.Context, arg1 repository.PaginationParam) ([]*repository.Rule, error)
Find mocks base method
func (*MockRuleRepo) FindOne ¶
func (m *MockRuleRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.Rule, error)
FindOne mocks base method
func (*MockRuleRepo) Insert ¶
func (m *MockRuleRepo) Insert(arg0 context.Context, arg1 repository.Rule) (int64, error)
Insert mocks base method
func (*MockRuleRepo) Update ¶
func (m *MockRuleRepo) Update(arg0 context.Context, arg1 repository.Rule) error
Update mocks base method
type MockRuleRepoMockRecorder ¶
type MockRuleRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRuleRepoMockRecorder is the mock recorder for MockRuleRepo
func (*MockRuleRepoMockRecorder) Delete ¶
func (mr *MockRuleRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockRuleRepoMockRecorder) Find ¶
func (mr *MockRuleRepoMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockRuleRepoMockRecorder) FindOne ¶
func (mr *MockRuleRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockRuleRepoMockRecorder) Insert ¶
func (mr *MockRuleRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockRuleRepoMockRecorder) Update ¶
func (mr *MockRuleRepoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockTagRepo ¶
type MockTagRepo struct {
// contains filtered or unexported fields
}
MockTagRepo is a mock of TagRepo interface
func NewMockTagRepo ¶
func NewMockTagRepo(ctrl *gomock.Controller) *MockTagRepo
NewMockTagRepo creates a new mock instance
func (*MockTagRepo) Delete ¶
func (m *MockTagRepo) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockTagRepo) EXPECT ¶
func (m *MockTagRepo) EXPECT() *MockTagRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTagRepo) Find ¶
func (m *MockTagRepo) Find(arg0 context.Context, arg1 ...dbkit.FindOption) ([]*repository.Tag, error)
Find mocks base method
func (*MockTagRepo) FindByRuleAndLocale ¶
func (m *MockTagRepo) FindByRuleAndLocale(arg0 context.Context, arg1 int64, arg2 string) ([]*repository.Tag, error)
FindByRuleAndLocale mocks base method
func (*MockTagRepo) FindOne ¶
func (m *MockTagRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.Tag, error)
FindOne mocks base method
func (*MockTagRepo) Insert ¶
func (m *MockTagRepo) Insert(arg0 context.Context, arg1 repository.Tag) (int64, error)
Insert mocks base method
func (*MockTagRepo) Update ¶
func (m *MockTagRepo) Update(arg0 context.Context, arg1 repository.Tag) error
Update mocks base method
type MockTagRepoMockRecorder ¶
type MockTagRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockTagRepoMockRecorder is the mock recorder for MockTagRepo
func (*MockTagRepoMockRecorder) Delete ¶
func (mr *MockTagRepoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTagRepoMockRecorder) Find ¶
func (mr *MockTagRepoMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockTagRepoMockRecorder) FindByRuleAndLocale ¶
func (mr *MockTagRepoMockRecorder) FindByRuleAndLocale(arg0, arg1, arg2 interface{}) *gomock.Call
FindByRuleAndLocale indicates an expected call of FindByRuleAndLocale
func (*MockTagRepoMockRecorder) FindOne ¶
func (mr *MockTagRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockTagRepoMockRecorder) Insert ¶
func (mr *MockTagRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockTagRepoMockRecorder) Update ¶
func (mr *MockTagRepoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockURLSyncRepo ¶
type MockURLSyncRepo struct {
// contains filtered or unexported fields
}
MockURLSyncRepo is a mock of URLSyncRepo interface
func NewMockURLSyncRepo ¶
func NewMockURLSyncRepo(ctrl *gomock.Controller) *MockURLSyncRepo
NewMockURLSyncRepo creates a new mock instance
func (*MockURLSyncRepo) EXPECT ¶
func (m *MockURLSyncRepo) EXPECT() *MockURLSyncRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockURLSyncRepo) Find ¶
func (m *MockURLSyncRepo) Find(arg0 context.Context) ([]*repository.URLSync, error)
Find mocks base method
func (*MockURLSyncRepo) FindOne ¶
func (m *MockURLSyncRepo) FindOne(arg0 context.Context, arg1 int64) (*repository.URLSync, error)
FindOne mocks base method
func (*MockURLSyncRepo) GetLatestVersion ¶
func (m *MockURLSyncRepo) GetLatestVersion(arg0 context.Context) (int64, error)
GetLatestVersion mocks base method
func (*MockURLSyncRepo) GetListDiff ¶
func (m *MockURLSyncRepo) GetListDiff(arg0 context.Context, arg1 int64) ([]*repository.URLSync, error)
GetListDiff mocks base method
func (*MockURLSyncRepo) Insert ¶
func (m *MockURLSyncRepo) Insert(arg0 context.Context, arg1 repository.URLSync) (int64, error)
Insert mocks base method
type MockURLSyncRepoMockRecorder ¶
type MockURLSyncRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockURLSyncRepoMockRecorder is the mock recorder for MockURLSyncRepo
func (*MockURLSyncRepoMockRecorder) Find ¶
func (mr *MockURLSyncRepoMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockURLSyncRepoMockRecorder) FindOne ¶
func (mr *MockURLSyncRepoMockRecorder) FindOne(arg0, arg1 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockURLSyncRepoMockRecorder) GetLatestVersion ¶
func (mr *MockURLSyncRepoMockRecorder) GetLatestVersion(arg0 interface{}) *gomock.Call
GetLatestVersion indicates an expected call of GetLatestVersion
func (*MockURLSyncRepoMockRecorder) GetListDiff ¶
func (mr *MockURLSyncRepoMockRecorder) GetListDiff(arg0, arg1 interface{}) *gomock.Call
GetListDiff indicates an expected call of GetListDiff
func (*MockURLSyncRepoMockRecorder) Insert ¶
func (mr *MockURLSyncRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert