mockdb

package
v0.0.0-...-0b7c896 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mockdb is a generated GoMock package.

Index

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

func (m *MockStore) DeleteUserFromWatch(arg0 context.Context, arg1 uuid.UUID) error

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

func (m *MockStore) GetUserWatch(arg0 context.Context, arg1 uuid.UUID) (db.UserWatch, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL