mocks

package
v0.0.0-...-6343e97 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEvents

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

MockEvents is a mock of Events interface.

func NewMockEvents

func NewMockEvents(ctrl *gomock.Controller) *MockEvents

NewMockEvents creates a new mock instance.

func (*MockEvents) EXPECT

func (m *MockEvents) EXPECT() *MockEventsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEvents) Produce

func (m *MockEvents) Produce(arg0 context.Context, arg1 events.Topic, arg2 interface{})

Produce mocks base method.

type MockEventsMockRecorder

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

MockEventsMockRecorder is the mock recorder for MockEvents.

func (*MockEventsMockRecorder) Produce

func (mr *MockEventsMockRecorder) Produce(arg0, arg1, arg2 interface{}) *gomock.Call

Produce indicates an expected call of Produce.

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) DeleteUser

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

DeleteUser 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) FindUsers

func (m *MockStore) FindUsers(arg0 context.Context, arg1 []model.Filter, arg2, arg3 int64) ([]*model.User, error)

FindUsers mocks base method.

func (*MockStore) GetUser

func (m *MockStore) GetUser(arg0 context.Context, arg1 string) (*model.User, error)

GetUser mocks base method.

func (*MockStore) GetUserByEmail

func (m *MockStore) GetUserByEmail(arg0 context.Context, arg1 string) (*model.User, error)

GetUserByEmail mocks base method.

func (*MockStore) InsertUser

func (m *MockStore) InsertUser(arg0 context.Context, arg1 *model.User) (*model.User, error)

InsertUser mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(arg0 context.Context, arg1 *model.User) (*model.User, error)

UpdateUser mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) DeleteUser

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

DeleteUser indicates an expected call of DeleteUser.

func (*MockStoreMockRecorder) FindUsers

func (mr *MockStoreMockRecorder) FindUsers(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindUsers indicates an expected call of FindUsers.

func (*MockStoreMockRecorder) GetUser

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

GetUser indicates an expected call of GetUser.

func (*MockStoreMockRecorder) GetUserByEmail

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

GetUserByEmail indicates an expected call of GetUserByEmail.

func (*MockStoreMockRecorder) InsertUser

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

InsertUser indicates an expected call of InsertUser.

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