Documentation ¶
Overview ¶
Package mock_db is a generated GoMock package.
Package mock_db is a generated GoMock package.
Index ¶
- type MockFilteredQueryObject
- func (m *MockFilteredQueryObject) EXPECT() *MockFilteredQueryObjectMockRecorder
- func (m *MockFilteredQueryObject) Error() error
- func (m *MockFilteredQueryObject) Filters() []db.Filter
- func (m *MockFilteredQueryObject) Model() interface{}
- func (m *MockFilteredQueryObject) Preloads() []db.Preload
- func (m *MockFilteredQueryObject) Result() interface{}
- func (m *MockFilteredQueryObject) SetError(err error)
- func (m *MockFilteredQueryObject) SetResult(result interface{})
- type MockFilteredQueryObjectMockRecorder
- func (mr *MockFilteredQueryObjectMockRecorder) Error() *gomock.Call
- func (mr *MockFilteredQueryObjectMockRecorder) Filters() *gomock.Call
- func (mr *MockFilteredQueryObjectMockRecorder) Model() *gomock.Call
- func (mr *MockFilteredQueryObjectMockRecorder) Preloads() *gomock.Call
- func (mr *MockFilteredQueryObjectMockRecorder) Result() *gomock.Call
- func (mr *MockFilteredQueryObjectMockRecorder) SetError(err interface{}) *gomock.Call
- func (mr *MockFilteredQueryObjectMockRecorder) SetResult(result interface{}) *gomock.Call
- type MockQueryObject
- func (m *MockQueryObject) EXPECT() *MockQueryObjectMockRecorder
- func (m *MockQueryObject) Error() error
- func (m *MockQueryObject) Model() interface{}
- func (m *MockQueryObject) Preloads() []db.Preload
- func (m *MockQueryObject) Result() interface{}
- func (m *MockQueryObject) SetError(err error)
- func (m *MockQueryObject) SetResult(result interface{})
- type MockQueryObjectMockRecorder
- func (mr *MockQueryObjectMockRecorder) Error() *gomock.Call
- func (mr *MockQueryObjectMockRecorder) Model() *gomock.Call
- func (mr *MockQueryObjectMockRecorder) Preloads() *gomock.Call
- func (mr *MockQueryObjectMockRecorder) Result() *gomock.Call
- func (mr *MockQueryObjectMockRecorder) SetError(err interface{}) *gomock.Call
- func (mr *MockQueryObjectMockRecorder) SetResult(result interface{}) *gomock.Call
- type MockRepository
- type MockRepositoryMockRecorder
- type MockSlicedQueryObject
- func (m *MockSlicedQueryObject) EXPECT() *MockSlicedQueryObjectMockRecorder
- func (m *MockSlicedQueryObject) Error() error
- func (m *MockSlicedQueryObject) Filters() []db.Filter
- func (m *MockSlicedQueryObject) Model() interface{}
- func (m *MockSlicedQueryObject) Preloads() []db.Preload
- func (m *MockSlicedQueryObject) Result() interface{}
- func (m *MockSlicedQueryObject) SetError(err error)
- func (m *MockSlicedQueryObject) SetResult(result interface{})
- func (m *MockSlicedQueryObject) Slice() *db.Slice
- type MockSlicedQueryObjectMockRecorder
- func (mr *MockSlicedQueryObjectMockRecorder) Error() *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) Filters() *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) Model() *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) Preloads() *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) Result() *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) SetError(err interface{}) *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) SetResult(result interface{}) *gomock.Call
- func (mr *MockSlicedQueryObjectMockRecorder) Slice() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFilteredQueryObject ¶
type MockFilteredQueryObject struct {
// contains filtered or unexported fields
}
MockFilteredQueryObject is a mock of FilteredQueryObject interface.
func NewMockFilteredQueryObject ¶
func NewMockFilteredQueryObject(ctrl *gomock.Controller) *MockFilteredQueryObject
NewMockFilteredQueryObject creates a new mock instance.
func (*MockFilteredQueryObject) EXPECT ¶
func (m *MockFilteredQueryObject) EXPECT() *MockFilteredQueryObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFilteredQueryObject) Error ¶
func (m *MockFilteredQueryObject) Error() error
Error mocks base method.
func (*MockFilteredQueryObject) Filters ¶
func (m *MockFilteredQueryObject) Filters() []db.Filter
Filters mocks base method.
func (*MockFilteredQueryObject) Model ¶
func (m *MockFilteredQueryObject) Model() interface{}
Model mocks base method.
func (*MockFilteredQueryObject) Preloads ¶
func (m *MockFilteredQueryObject) Preloads() []db.Preload
Preloads mocks base method.
func (*MockFilteredQueryObject) Result ¶
func (m *MockFilteredQueryObject) Result() interface{}
Result mocks base method.
func (*MockFilteredQueryObject) SetError ¶
func (m *MockFilteredQueryObject) SetError(err error)
SetError mocks base method.
func (*MockFilteredQueryObject) SetResult ¶
func (m *MockFilteredQueryObject) SetResult(result interface{})
SetResult mocks base method.
type MockFilteredQueryObjectMockRecorder ¶
type MockFilteredQueryObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockFilteredQueryObjectMockRecorder is the mock recorder for MockFilteredQueryObject.
func (*MockFilteredQueryObjectMockRecorder) Error ¶
func (mr *MockFilteredQueryObjectMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockFilteredQueryObjectMockRecorder) Filters ¶
func (mr *MockFilteredQueryObjectMockRecorder) Filters() *gomock.Call
Filters indicates an expected call of Filters.
func (*MockFilteredQueryObjectMockRecorder) Model ¶
func (mr *MockFilteredQueryObjectMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockFilteredQueryObjectMockRecorder) Preloads ¶
func (mr *MockFilteredQueryObjectMockRecorder) Preloads() *gomock.Call
Preloads indicates an expected call of Preloads.
func (*MockFilteredQueryObjectMockRecorder) Result ¶
func (mr *MockFilteredQueryObjectMockRecorder) Result() *gomock.Call
Result indicates an expected call of Result.
func (*MockFilteredQueryObjectMockRecorder) SetError ¶
func (mr *MockFilteredQueryObjectMockRecorder) SetError(err interface{}) *gomock.Call
SetError indicates an expected call of SetError.
func (*MockFilteredQueryObjectMockRecorder) SetResult ¶
func (mr *MockFilteredQueryObjectMockRecorder) SetResult(result interface{}) *gomock.Call
SetResult indicates an expected call of SetResult.
type MockQueryObject ¶
type MockQueryObject struct {
// contains filtered or unexported fields
}
MockQueryObject is a mock of QueryObject interface.
func NewMockQueryObject ¶
func NewMockQueryObject(ctrl *gomock.Controller) *MockQueryObject
NewMockQueryObject creates a new mock instance.
func (*MockQueryObject) EXPECT ¶
func (m *MockQueryObject) EXPECT() *MockQueryObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryObject) Model ¶
func (m *MockQueryObject) Model() interface{}
Model mocks base method.
func (*MockQueryObject) Preloads ¶
func (m *MockQueryObject) Preloads() []db.Preload
Preloads mocks base method.
func (*MockQueryObject) Result ¶
func (m *MockQueryObject) Result() interface{}
Result mocks base method.
func (*MockQueryObject) SetError ¶
func (m *MockQueryObject) SetError(err error)
SetError mocks base method.
func (*MockQueryObject) SetResult ¶
func (m *MockQueryObject) SetResult(result interface{})
SetResult mocks base method.
type MockQueryObjectMockRecorder ¶
type MockQueryObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryObjectMockRecorder is the mock recorder for MockQueryObject.
func (*MockQueryObjectMockRecorder) Error ¶
func (mr *MockQueryObjectMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockQueryObjectMockRecorder) Model ¶
func (mr *MockQueryObjectMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockQueryObjectMockRecorder) Preloads ¶
func (mr *MockQueryObjectMockRecorder) Preloads() *gomock.Call
Preloads indicates an expected call of Preloads.
func (*MockQueryObjectMockRecorder) Result ¶
func (mr *MockQueryObjectMockRecorder) Result() *gomock.Call
Result indicates an expected call of Result.
func (*MockQueryObjectMockRecorder) SetError ¶
func (mr *MockQueryObjectMockRecorder) SetError(err interface{}) *gomock.Call
SetError indicates an expected call of SetError.
func (*MockQueryObjectMockRecorder) SetResult ¶
func (mr *MockQueryObjectMockRecorder) SetResult(result interface{}) *gomock.Call
SetResult indicates an expected call of SetResult.
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) Handle ¶
func (m *MockRepository) Handle(q db.QueryObject) db.QueryObject
Handle mocks base method.
func (*MockRepository) Supports ¶
func (m *MockRepository) Supports(t interface{}) bool
Supports mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Handle ¶
func (mr *MockRepositoryMockRecorder) Handle(q interface{}) *gomock.Call
Handle indicates an expected call of Handle.
func (*MockRepositoryMockRecorder) Supports ¶
func (mr *MockRepositoryMockRecorder) Supports(t interface{}) *gomock.Call
Supports indicates an expected call of Supports.
type MockSlicedQueryObject ¶
type MockSlicedQueryObject struct {
// contains filtered or unexported fields
}
MockSlicedQueryObject is a mock of SlicedQueryObject interface.
func NewMockSlicedQueryObject ¶
func NewMockSlicedQueryObject(ctrl *gomock.Controller) *MockSlicedQueryObject
NewMockSlicedQueryObject creates a new mock instance.
func (*MockSlicedQueryObject) EXPECT ¶
func (m *MockSlicedQueryObject) EXPECT() *MockSlicedQueryObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSlicedQueryObject) Error ¶
func (m *MockSlicedQueryObject) Error() error
Error mocks base method.
func (*MockSlicedQueryObject) Filters ¶
func (m *MockSlicedQueryObject) Filters() []db.Filter
Filters mocks base method.
func (*MockSlicedQueryObject) Model ¶
func (m *MockSlicedQueryObject) Model() interface{}
Model mocks base method.
func (*MockSlicedQueryObject) Preloads ¶
func (m *MockSlicedQueryObject) Preloads() []db.Preload
Preloads mocks base method.
func (*MockSlicedQueryObject) Result ¶
func (m *MockSlicedQueryObject) Result() interface{}
Result mocks base method.
func (*MockSlicedQueryObject) SetError ¶
func (m *MockSlicedQueryObject) SetError(err error)
SetError mocks base method.
func (*MockSlicedQueryObject) SetResult ¶
func (m *MockSlicedQueryObject) SetResult(result interface{})
SetResult mocks base method.
func (*MockSlicedQueryObject) Slice ¶
func (m *MockSlicedQueryObject) Slice() *db.Slice
Slice mocks base method.
type MockSlicedQueryObjectMockRecorder ¶
type MockSlicedQueryObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockSlicedQueryObjectMockRecorder is the mock recorder for MockSlicedQueryObject.
func (*MockSlicedQueryObjectMockRecorder) Error ¶
func (mr *MockSlicedQueryObjectMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockSlicedQueryObjectMockRecorder) Filters ¶
func (mr *MockSlicedQueryObjectMockRecorder) Filters() *gomock.Call
Filters indicates an expected call of Filters.
func (*MockSlicedQueryObjectMockRecorder) Model ¶
func (mr *MockSlicedQueryObjectMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockSlicedQueryObjectMockRecorder) Preloads ¶
func (mr *MockSlicedQueryObjectMockRecorder) Preloads() *gomock.Call
Preloads indicates an expected call of Preloads.
func (*MockSlicedQueryObjectMockRecorder) Result ¶
func (mr *MockSlicedQueryObjectMockRecorder) Result() *gomock.Call
Result indicates an expected call of Result.
func (*MockSlicedQueryObjectMockRecorder) SetError ¶
func (mr *MockSlicedQueryObjectMockRecorder) SetError(err interface{}) *gomock.Call
SetError indicates an expected call of SetError.
func (*MockSlicedQueryObjectMockRecorder) SetResult ¶
func (mr *MockSlicedQueryObjectMockRecorder) SetResult(result interface{}) *gomock.Call
SetResult indicates an expected call of SetResult.
func (*MockSlicedQueryObjectMockRecorder) Slice ¶
func (mr *MockSlicedQueryObjectMockRecorder) Slice() *gomock.Call
Slice indicates an expected call of Slice.