Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInteractor

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

MockInteractor is a mock of Interactor interface.

func NewMockInteractor

func NewMockInteractor(ctrl *gomock.Controller) *MockInteractor

NewMockInteractor creates a new mock instance.

func (*MockInteractor) CreateChatUser

func (m *MockInteractor) CreateChatUser(ctx context.Context, cu *ent.ChatUser) (*ent.ChatUser, error)

CreateChatUser mocks base method.

func (*MockInteractor) DeleteChatUser

func (m *MockInteractor) DeleteChatUser(ctx context.Context, cu *ent.ChatUser) error

DeleteChatUser mocks base method.

func (*MockInteractor) EXPECT

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

func (*MockInteractor) FindChatUserByID

func (m *MockInteractor) FindChatUserByID(ctx context.Context, id string) (*ent.ChatUser, error)

FindChatUserByID mocks base method.

func (*MockInteractor) FindDeploymentByID

func (m *MockInteractor) FindDeploymentByID(ctx context.Context, id int) (*ent.Deployment, error)

FindDeploymentByID mocks base method.

func (*MockInteractor) FindDeploymentStatusByID

func (m *MockInteractor) FindDeploymentStatusByID(ctx context.Context, id int) (*ent.DeploymentStatus, error)

FindDeploymentStatusByID mocks base method.

func (*MockInteractor) FindReviewByID

func (m *MockInteractor) FindReviewByID(ctx context.Context, id int) (*ent.Review, error)

FindReviewByID mocks base method.

func (*MockInteractor) FindUserByID

func (m *MockInteractor) FindUserByID(ctx context.Context, id int64) (*ent.User, error)

FindUserByID mocks base method.

func (*MockInteractor) SubscribeEvent

func (m *MockInteractor) SubscribeEvent(fn func(*ent.Event)) error

SubscribeEvent mocks base method.

func (*MockInteractor) UnsubscribeEvent

func (m *MockInteractor) UnsubscribeEvent(fn func(*ent.Event)) error

UnsubscribeEvent mocks base method.

func (*MockInteractor) UpdateChatUser

func (m *MockInteractor) UpdateChatUser(ctx context.Context, cu *ent.ChatUser) (*ent.ChatUser, error)

UpdateChatUser mocks base method.

type MockInteractorMockRecorder

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

MockInteractorMockRecorder is the mock recorder for MockInteractor.

func (*MockInteractorMockRecorder) CreateChatUser

func (mr *MockInteractorMockRecorder) CreateChatUser(ctx, cu interface{}) *gomock.Call

CreateChatUser indicates an expected call of CreateChatUser.

func (*MockInteractorMockRecorder) DeleteChatUser

func (mr *MockInteractorMockRecorder) DeleteChatUser(ctx, cu interface{}) *gomock.Call

DeleteChatUser indicates an expected call of DeleteChatUser.

func (*MockInteractorMockRecorder) FindChatUserByID

func (mr *MockInteractorMockRecorder) FindChatUserByID(ctx, id interface{}) *gomock.Call

FindChatUserByID indicates an expected call of FindChatUserByID.

func (*MockInteractorMockRecorder) FindDeploymentByID

func (mr *MockInteractorMockRecorder) FindDeploymentByID(ctx, id interface{}) *gomock.Call

FindDeploymentByID indicates an expected call of FindDeploymentByID.

func (*MockInteractorMockRecorder) FindDeploymentStatusByID

func (mr *MockInteractorMockRecorder) FindDeploymentStatusByID(ctx, id interface{}) *gomock.Call

FindDeploymentStatusByID indicates an expected call of FindDeploymentStatusByID.

func (*MockInteractorMockRecorder) FindReviewByID

func (mr *MockInteractorMockRecorder) FindReviewByID(ctx, id interface{}) *gomock.Call

FindReviewByID indicates an expected call of FindReviewByID.

func (*MockInteractorMockRecorder) FindUserByID

func (mr *MockInteractorMockRecorder) FindUserByID(ctx, id interface{}) *gomock.Call

FindUserByID indicates an expected call of FindUserByID.

func (*MockInteractorMockRecorder) SubscribeEvent

func (mr *MockInteractorMockRecorder) SubscribeEvent(fn interface{}) *gomock.Call

SubscribeEvent indicates an expected call of SubscribeEvent.

func (*MockInteractorMockRecorder) UnsubscribeEvent

func (mr *MockInteractorMockRecorder) UnsubscribeEvent(fn interface{}) *gomock.Call

UnsubscribeEvent indicates an expected call of UnsubscribeEvent.

func (*MockInteractorMockRecorder) UpdateChatUser

func (mr *MockInteractorMockRecorder) UpdateChatUser(ctx, cu interface{}) *gomock.Call

UpdateChatUser indicates an expected call of UpdateChatUser.

Jump to

Keyboard shortcuts

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