mockdbuser

package
v0.0.0-...-2602c8a Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mockdbuser 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) CreateUser

func (m *MockStore) CreateUser(arg0 context.Context, arg1 user.CreateUserParams) (user.Users, error)

CreateUser mocks base method.

func (*MockStore) DeleteUserByEmail

func (m *MockStore) DeleteUserByEmail(arg0 context.Context, arg1 string) error

DeleteUserByEmail mocks base method.

func (*MockStore) DeleteUserByID

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

DeleteUserByID 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) GetUserByEmail

func (m *MockStore) GetUserByEmail(arg0 context.Context, arg1 string) (user.Users, error)

GetUserByEmail mocks base method.

func (*MockStore) GetUserByID

func (m *MockStore) GetUserByID(arg0 context.Context, arg1 uuid.UUID) (user.Users, error)

GetUserByID mocks base method.

func (*MockStore) ListPaginatedUsers

func (m *MockStore) ListPaginatedUsers(arg0 context.Context, arg1 user.ListPaginatedUsersParams) ([]user.Users, error)

ListPaginatedUsers mocks base method.

func (*MockStore) ListUsers

func (m *MockStore) ListUsers(arg0 context.Context) ([]user.Users, error)

ListUsers mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(arg0 context.Context, arg1 user.UpdateUserParams) (user.Users, error)

UpdateUser mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) CreateUser

func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockStoreMockRecorder) DeleteUserByEmail

func (mr *MockStoreMockRecorder) DeleteUserByEmail(arg0, arg1 interface{}) *gomock.Call

DeleteUserByEmail indicates an expected call of DeleteUserByEmail.

func (*MockStoreMockRecorder) DeleteUserByID

func (mr *MockStoreMockRecorder) DeleteUserByID(arg0, arg1 interface{}) *gomock.Call

DeleteUserByID indicates an expected call of DeleteUserByID.

func (*MockStoreMockRecorder) GetUserByEmail

func (mr *MockStoreMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call

GetUserByEmail indicates an expected call of GetUserByEmail.

func (*MockStoreMockRecorder) GetUserByID

func (mr *MockStoreMockRecorder) GetUserByID(arg0, arg1 interface{}) *gomock.Call

GetUserByID indicates an expected call of GetUserByID.

func (*MockStoreMockRecorder) ListPaginatedUsers

func (mr *MockStoreMockRecorder) ListPaginatedUsers(arg0, arg1 interface{}) *gomock.Call

ListPaginatedUsers indicates an expected call of ListPaginatedUsers.

func (*MockStoreMockRecorder) ListUsers

func (mr *MockStoreMockRecorder) ListUsers(arg0 interface{}) *gomock.Call

ListUsers indicates an expected call of ListUsers.

func (*MockStoreMockRecorder) UpdateUser

func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

Jump to

Keyboard shortcuts

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