Documentation ¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) CreateUserWatch(arg0 context.Context, arg1 db.CreateUserWatchParams) (db.UserWatch, error)
- func (m *MockStore) DeleteUserFromWatch(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetUserWatch(arg0 context.Context, arg1 uuid.UUID) (db.UserWatch, error)
- func (m *MockStore) GetUserWatchForUpdate(arg0 context.Context, arg1 uuid.UUID) (db.UserWatch, error)
- func (m *MockStore) ListUsersOnWatch(arg0 context.Context, arg1 db.ListUsersOnWatchParams) ([]db.UserWatch, error)
- func (m *MockStore) UpdateUserWatch(arg0 context.Context, arg1 db.UpdateUserWatchParams) (db.UserWatch, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) CreateUserWatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUserFromWatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserWatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserWatchForUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUsersOnWatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateUserWatch(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) CreateUserWatch ¶
func (m *MockStore) CreateUserWatch(arg0 context.Context, arg1 db.CreateUserWatchParams) (db.UserWatch, error)
CreateUserWatch mocks base method.
func (*MockStore) DeleteUserFromWatch ¶
DeleteUserFromWatch mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetUserWatch ¶
GetUserWatch mocks base method.
func (*MockStore) GetUserWatchForUpdate ¶
func (m *MockStore) GetUserWatchForUpdate(arg0 context.Context, arg1 uuid.UUID) (db.UserWatch, error)
GetUserWatchForUpdate mocks base method.
func (*MockStore) ListUsersOnWatch ¶
func (m *MockStore) ListUsersOnWatch(arg0 context.Context, arg1 db.ListUsersOnWatchParams) ([]db.UserWatch, error)
ListUsersOnWatch mocks base method.
func (*MockStore) UpdateUserWatch ¶
func (m *MockStore) UpdateUserWatch(arg0 context.Context, arg1 db.UpdateUserWatchParams) (db.UserWatch, error)
UpdateUserWatch mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) CreateUserWatch ¶
func (mr *MockStoreMockRecorder) CreateUserWatch(arg0, arg1 interface{}) *gomock.Call
CreateUserWatch indicates an expected call of CreateUserWatch.
func (*MockStoreMockRecorder) DeleteUserFromWatch ¶
func (mr *MockStoreMockRecorder) DeleteUserFromWatch(arg0, arg1 interface{}) *gomock.Call
DeleteUserFromWatch indicates an expected call of DeleteUserFromWatch.
func (*MockStoreMockRecorder) GetUserWatch ¶
func (mr *MockStoreMockRecorder) GetUserWatch(arg0, arg1 interface{}) *gomock.Call
GetUserWatch indicates an expected call of GetUserWatch.
func (*MockStoreMockRecorder) GetUserWatchForUpdate ¶
func (mr *MockStoreMockRecorder) GetUserWatchForUpdate(arg0, arg1 interface{}) *gomock.Call
GetUserWatchForUpdate indicates an expected call of GetUserWatchForUpdate.
func (*MockStoreMockRecorder) ListUsersOnWatch ¶
func (mr *MockStoreMockRecorder) ListUsersOnWatch(arg0, arg1 interface{}) *gomock.Call
ListUsersOnWatch indicates an expected call of ListUsersOnWatch.
func (*MockStoreMockRecorder) UpdateUserWatch ¶
func (mr *MockStoreMockRecorder) UpdateUserWatch(arg0, arg1 interface{}) *gomock.Call
UpdateUserWatch indicates an expected call of UpdateUserWatch.