Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInteractor
- func (m *MockInteractor) CreateChatUser(ctx context.Context, cu *ent.ChatUser) (*ent.ChatUser, error)
- func (m *MockInteractor) DeleteChatUser(ctx context.Context, cu *ent.ChatUser) error
- func (m *MockInteractor) EXPECT() *MockInteractorMockRecorder
- func (m *MockInteractor) FindChatUserByID(ctx context.Context, id string) (*ent.ChatUser, error)
- func (m *MockInteractor) FindDeploymentByID(ctx context.Context, id int) (*ent.Deployment, error)
- func (m *MockInteractor) FindDeploymentStatusByID(ctx context.Context, id int) (*ent.DeploymentStatus, error)
- func (m *MockInteractor) FindReviewByID(ctx context.Context, id int) (*ent.Review, error)
- func (m *MockInteractor) FindUserByID(ctx context.Context, id int64) (*ent.User, error)
- func (m *MockInteractor) SubscribeEvent(fn func(*ent.Event)) error
- func (m *MockInteractor) UnsubscribeEvent(fn func(*ent.Event)) error
- func (m *MockInteractor) UpdateChatUser(ctx context.Context, cu *ent.ChatUser) (*ent.ChatUser, error)
- type MockInteractorMockRecorder
- func (mr *MockInteractorMockRecorder) CreateChatUser(ctx, cu interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) DeleteChatUser(ctx, cu interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindChatUserByID(ctx, id interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindDeploymentByID(ctx, id interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindDeploymentStatusByID(ctx, id interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindReviewByID(ctx, id interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindUserByID(ctx, id interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) SubscribeEvent(fn interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) UnsubscribeEvent(fn interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) UpdateChatUser(ctx, cu interface{}) *gomock.Call
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 ¶
DeleteChatUser mocks base method.
func (*MockInteractor) EXPECT ¶
func (m *MockInteractor) EXPECT() *MockInteractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInteractor) FindChatUserByID ¶
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 ¶
FindReviewByID mocks base method.
func (*MockInteractor) FindUserByID ¶
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.