mock_model

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_model is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSubTaskRepository

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

MockSubTaskRepository is a mock of SubTaskRepository interface.

func NewMockSubTaskRepository

func NewMockSubTaskRepository(ctrl *gomock.Controller) *MockSubTaskRepository

NewMockSubTaskRepository creates a new mock instance.

func (*MockSubTaskRepository) Delete

func (m *MockSubTaskRepository) Delete(ctx context.Context, subject *model.SubTask, opts ...model.DeleteOption) error

Delete mocks base method.

func (*MockSubTaskRepository) DeleteByID

func (m *MockSubTaskRepository) DeleteByID(ctx context.Context, id string, opts ...model.DeleteOption) error

DeleteByID mocks base method.

func (*MockSubTaskRepository) DeleteByIDWithTx

func (m *MockSubTaskRepository) DeleteByIDWithTx(ctx context.Context, tx *firestore.Transaction, id string, opts ...model.DeleteOption) error

DeleteByIDWithTx mocks base method.

func (*MockSubTaskRepository) DeleteMulti

func (m *MockSubTaskRepository) DeleteMulti(ctx context.Context, subjects []*model.SubTask, opts ...model.DeleteOption) error

DeleteMulti mocks base method.

func (*MockSubTaskRepository) DeleteMultiByIDs

func (m *MockSubTaskRepository) DeleteMultiByIDs(ctx context.Context, ids []string, opts ...model.DeleteOption) error

DeleteMultiByIDs mocks base method.

func (*MockSubTaskRepository) DeleteMultiByIDsWithTx

func (m *MockSubTaskRepository) DeleteMultiByIDsWithTx(ctx context.Context, tx *firestore.Transaction, ids []string, opts ...model.DeleteOption) error

DeleteMultiByIDsWithTx mocks base method.

func (*MockSubTaskRepository) DeleteMultiWithTx

func (m *MockSubTaskRepository) DeleteMultiWithTx(ctx context.Context, tx *firestore.Transaction, subjects []*model.SubTask, opts ...model.DeleteOption) error

DeleteMultiWithTx mocks base method.

func (*MockSubTaskRepository) DeleteWithTx

func (m *MockSubTaskRepository) DeleteWithTx(ctx context.Context, tx *firestore.Transaction, subject *model.SubTask, opts ...model.DeleteOption) error

DeleteWithTx mocks base method.

func (*MockSubTaskRepository) EXPECT

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

func (*MockSubTaskRepository) Free

func (m *MockSubTaskRepository) Free()

Free mocks base method.

func (*MockSubTaskRepository) Get

Get mocks base method.

func (*MockSubTaskRepository) GetCollection

func (m *MockSubTaskRepository) GetCollection() *firestore.CollectionRef

GetCollection mocks base method.

func (*MockSubTaskRepository) GetCollectionName

func (m *MockSubTaskRepository) GetCollectionName() string

GetCollectionName mocks base method.

func (*MockSubTaskRepository) GetDocRef

GetDocRef mocks base method.

func (*MockSubTaskRepository) GetMulti

func (m *MockSubTaskRepository) GetMulti(ctx context.Context, ids []string, opts ...model.GetOption) ([]*model.SubTask, error)

GetMulti mocks base method.

func (*MockSubTaskRepository) GetMultiWithTx

func (m *MockSubTaskRepository) GetMultiWithTx(tx *firestore.Transaction, ids []string, opts ...model.GetOption) ([]*model.SubTask, error)

GetMultiWithTx mocks base method.

func (*MockSubTaskRepository) GetWithDoc

GetWithDoc mocks base method.

func (*MockSubTaskRepository) GetWithDocWithTx

func (m *MockSubTaskRepository) GetWithDocWithTx(tx *firestore.Transaction, doc *firestore.DocumentRef, opts ...model.GetOption) (*model.SubTask, error)

GetWithDocWithTx mocks base method.

func (*MockSubTaskRepository) GetWithTx

func (m *MockSubTaskRepository) GetWithTx(tx *firestore.Transaction, id string, opts ...model.GetOption) (*model.SubTask, error)

GetWithTx mocks base method.

func (*MockSubTaskRepository) Insert

func (m *MockSubTaskRepository) Insert(ctx context.Context, subject *model.SubTask) (string, error)

Insert mocks base method.

func (*MockSubTaskRepository) InsertMulti

func (m *MockSubTaskRepository) InsertMulti(ctx context.Context, subjects []*model.SubTask) ([]string, error)

InsertMulti mocks base method.

func (*MockSubTaskRepository) InsertMultiWithTx

func (m *MockSubTaskRepository) InsertMultiWithTx(ctx context.Context, tx *firestore.Transaction, subjects []*model.SubTask) ([]string, error)

InsertMultiWithTx mocks base method.

func (*MockSubTaskRepository) InsertWithTx

func (m *MockSubTaskRepository) InsertWithTx(ctx context.Context, tx *firestore.Transaction, subject *model.SubTask) (string, error)

InsertWithTx mocks base method.

func (*MockSubTaskRepository) NewRepositoryByParent added in v1.4.0

func (m *MockSubTaskRepository) NewRepositoryByParent(doc *firestore.DocumentRef) model.SubTaskRepository

NewRepositoryByParent mocks base method.

func (*MockSubTaskRepository) RunInTransaction

RunInTransaction mocks base method.

func (*MockSubTaskRepository) Search

Search mocks base method.

func (*MockSubTaskRepository) SearchByParam added in v1.4.0

SearchByParam mocks base method.

func (*MockSubTaskRepository) SearchByParamWithTx added in v1.4.0

SearchByParamWithTx mocks base method.

func (*MockSubTaskRepository) SearchWithTx

SearchWithTx mocks base method.

func (*MockSubTaskRepository) SetParentDoc

func (m *MockSubTaskRepository) SetParentDoc(doc *firestore.DocumentRef)

SetParentDoc mocks base method.

func (*MockSubTaskRepository) StrictUpdate

StrictUpdate mocks base method.

func (*MockSubTaskRepository) StrictUpdateWithTx

func (m *MockSubTaskRepository) StrictUpdateWithTx(tx *firestore.Transaction, id string, param *model.SubTaskUpdateParam, opts ...firestore.Precondition) error

StrictUpdateWithTx mocks base method.

func (*MockSubTaskRepository) Update

func (m *MockSubTaskRepository) Update(ctx context.Context, subject *model.SubTask) error

Update mocks base method.

func (*MockSubTaskRepository) UpdateMulti

func (m *MockSubTaskRepository) UpdateMulti(ctx context.Context, subjects []*model.SubTask) error

UpdateMulti mocks base method.

func (*MockSubTaskRepository) UpdateMultiWithTx

func (m *MockSubTaskRepository) UpdateMultiWithTx(ctx context.Context, tx *firestore.Transaction, subjects []*model.SubTask) error

UpdateMultiWithTx mocks base method.

func (*MockSubTaskRepository) UpdateWithTx

func (m *MockSubTaskRepository) UpdateWithTx(ctx context.Context, tx *firestore.Transaction, subject *model.SubTask) error

UpdateWithTx mocks base method.

type MockSubTaskRepositoryMiddleware

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

MockSubTaskRepositoryMiddleware is a mock of SubTaskRepositoryMiddleware interface.

func NewMockSubTaskRepositoryMiddleware

func NewMockSubTaskRepositoryMiddleware(ctrl *gomock.Controller) *MockSubTaskRepositoryMiddleware

NewMockSubTaskRepositoryMiddleware creates a new mock instance.

func (*MockSubTaskRepositoryMiddleware) BeforeDelete

func (m *MockSubTaskRepositoryMiddleware) BeforeDelete(ctx context.Context, subject *model.SubTask, opts ...model.DeleteOption) (bool, error)

BeforeDelete mocks base method.

func (*MockSubTaskRepositoryMiddleware) BeforeDeleteByID

func (m *MockSubTaskRepositoryMiddleware) BeforeDeleteByID(ctx context.Context, ids []string, opts ...model.DeleteOption) (bool, error)

BeforeDeleteByID mocks base method.

func (*MockSubTaskRepositoryMiddleware) BeforeInsert

func (m *MockSubTaskRepositoryMiddleware) BeforeInsert(ctx context.Context, subject *model.SubTask) (bool, error)

BeforeInsert mocks base method.

func (*MockSubTaskRepositoryMiddleware) BeforeUpdate

func (m *MockSubTaskRepositoryMiddleware) BeforeUpdate(ctx context.Context, old, subject *model.SubTask) (bool, error)

BeforeUpdate mocks base method.

func (*MockSubTaskRepositoryMiddleware) EXPECT

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

type MockSubTaskRepositoryMiddlewareMockRecorder

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

MockSubTaskRepositoryMiddlewareMockRecorder is the mock recorder for MockSubTaskRepositoryMiddleware.

func (*MockSubTaskRepositoryMiddlewareMockRecorder) BeforeDelete

func (mr *MockSubTaskRepositoryMiddlewareMockRecorder) BeforeDelete(ctx, subject interface{}, opts ...interface{}) *gomock.Call

BeforeDelete indicates an expected call of BeforeDelete.

func (*MockSubTaskRepositoryMiddlewareMockRecorder) BeforeDeleteByID

func (mr *MockSubTaskRepositoryMiddlewareMockRecorder) BeforeDeleteByID(ctx, ids interface{}, opts ...interface{}) *gomock.Call

BeforeDeleteByID indicates an expected call of BeforeDeleteByID.

func (*MockSubTaskRepositoryMiddlewareMockRecorder) BeforeInsert

func (mr *MockSubTaskRepositoryMiddlewareMockRecorder) BeforeInsert(ctx, subject interface{}) *gomock.Call

BeforeInsert indicates an expected call of BeforeInsert.

func (*MockSubTaskRepositoryMiddlewareMockRecorder) BeforeUpdate

func (mr *MockSubTaskRepositoryMiddlewareMockRecorder) BeforeUpdate(ctx, old, subject interface{}) *gomock.Call

BeforeUpdate indicates an expected call of BeforeUpdate.

type MockSubTaskRepositoryMockRecorder

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

MockSubTaskRepositoryMockRecorder is the mock recorder for MockSubTaskRepository.

func (*MockSubTaskRepositoryMockRecorder) Delete

func (mr *MockSubTaskRepositoryMockRecorder) Delete(ctx, subject interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSubTaskRepositoryMockRecorder) DeleteByID

func (mr *MockSubTaskRepositoryMockRecorder) DeleteByID(ctx, id interface{}, opts ...interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockSubTaskRepositoryMockRecorder) DeleteByIDWithTx

func (mr *MockSubTaskRepositoryMockRecorder) DeleteByIDWithTx(ctx, tx, id interface{}, opts ...interface{}) *gomock.Call

DeleteByIDWithTx indicates an expected call of DeleteByIDWithTx.

func (*MockSubTaskRepositoryMockRecorder) DeleteMulti

func (mr *MockSubTaskRepositoryMockRecorder) DeleteMulti(ctx, subjects interface{}, opts ...interface{}) *gomock.Call

DeleteMulti indicates an expected call of DeleteMulti.

func (*MockSubTaskRepositoryMockRecorder) DeleteMultiByIDs

func (mr *MockSubTaskRepositoryMockRecorder) DeleteMultiByIDs(ctx, ids interface{}, opts ...interface{}) *gomock.Call

DeleteMultiByIDs indicates an expected call of DeleteMultiByIDs.

func (*MockSubTaskRepositoryMockRecorder) DeleteMultiByIDsWithTx

func (mr *MockSubTaskRepositoryMockRecorder) DeleteMultiByIDsWithTx(ctx, tx, ids interface{}, opts ...interface{}) *gomock.Call

DeleteMultiByIDsWithTx indicates an expected call of DeleteMultiByIDsWithTx.

func (*MockSubTaskRepositoryMockRecorder) DeleteMultiWithTx

func (mr *MockSubTaskRepositoryMockRecorder) DeleteMultiWithTx(ctx, tx, subjects interface{}, opts ...interface{}) *gomock.Call

DeleteMultiWithTx indicates an expected call of DeleteMultiWithTx.

func (*MockSubTaskRepositoryMockRecorder) DeleteWithTx

func (mr *MockSubTaskRepositoryMockRecorder) DeleteWithTx(ctx, tx, subject interface{}, opts ...interface{}) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockSubTaskRepositoryMockRecorder) Free

Free indicates an expected call of Free.

func (*MockSubTaskRepositoryMockRecorder) Get

func (mr *MockSubTaskRepositoryMockRecorder) Get(ctx, id interface{}, opts ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockSubTaskRepositoryMockRecorder) GetCollection

func (mr *MockSubTaskRepositoryMockRecorder) GetCollection() *gomock.Call

GetCollection indicates an expected call of GetCollection.

func (*MockSubTaskRepositoryMockRecorder) GetCollectionName

func (mr *MockSubTaskRepositoryMockRecorder) GetCollectionName() *gomock.Call

GetCollectionName indicates an expected call of GetCollectionName.

func (*MockSubTaskRepositoryMockRecorder) GetDocRef

func (mr *MockSubTaskRepositoryMockRecorder) GetDocRef(id interface{}) *gomock.Call

GetDocRef indicates an expected call of GetDocRef.

func (*MockSubTaskRepositoryMockRecorder) GetMulti

func (mr *MockSubTaskRepositoryMockRecorder) GetMulti(ctx, ids interface{}, opts ...interface{}) *gomock.Call

GetMulti indicates an expected call of GetMulti.

func (*MockSubTaskRepositoryMockRecorder) GetMultiWithTx

func (mr *MockSubTaskRepositoryMockRecorder) GetMultiWithTx(tx, ids interface{}, opts ...interface{}) *gomock.Call

GetMultiWithTx indicates an expected call of GetMultiWithTx.

func (*MockSubTaskRepositoryMockRecorder) GetWithDoc

func (mr *MockSubTaskRepositoryMockRecorder) GetWithDoc(ctx, doc interface{}, opts ...interface{}) *gomock.Call

GetWithDoc indicates an expected call of GetWithDoc.

func (*MockSubTaskRepositoryMockRecorder) GetWithDocWithTx

func (mr *MockSubTaskRepositoryMockRecorder) GetWithDocWithTx(tx, doc interface{}, opts ...interface{}) *gomock.Call

GetWithDocWithTx indicates an expected call of GetWithDocWithTx.

func (*MockSubTaskRepositoryMockRecorder) GetWithTx

func (mr *MockSubTaskRepositoryMockRecorder) GetWithTx(tx, id interface{}, opts ...interface{}) *gomock.Call

GetWithTx indicates an expected call of GetWithTx.

func (*MockSubTaskRepositoryMockRecorder) Insert

func (mr *MockSubTaskRepositoryMockRecorder) Insert(ctx, subject interface{}) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockSubTaskRepositoryMockRecorder) InsertMulti

func (mr *MockSubTaskRepositoryMockRecorder) InsertMulti(ctx, subjects interface{}) *gomock.Call

InsertMulti indicates an expected call of InsertMulti.

func (*MockSubTaskRepositoryMockRecorder) InsertMultiWithTx

func (mr *MockSubTaskRepositoryMockRecorder) InsertMultiWithTx(ctx, tx, subjects interface{}) *gomock.Call

InsertMultiWithTx indicates an expected call of InsertMultiWithTx.

func (*MockSubTaskRepositoryMockRecorder) InsertWithTx

func (mr *MockSubTaskRepositoryMockRecorder) InsertWithTx(ctx, tx, subject interface{}) *gomock.Call

InsertWithTx indicates an expected call of InsertWithTx.

func (*MockSubTaskRepositoryMockRecorder) NewRepositoryByParent added in v1.4.0

func (mr *MockSubTaskRepositoryMockRecorder) NewRepositoryByParent(doc interface{}) *gomock.Call

NewRepositoryByParent indicates an expected call of NewRepositoryByParent.

func (*MockSubTaskRepositoryMockRecorder) RunInTransaction

func (mr *MockSubTaskRepositoryMockRecorder) RunInTransaction() *gomock.Call

RunInTransaction indicates an expected call of RunInTransaction.

func (*MockSubTaskRepositoryMockRecorder) Search

func (mr *MockSubTaskRepositoryMockRecorder) Search(ctx, param, q interface{}) *gomock.Call

Search indicates an expected call of Search.

func (*MockSubTaskRepositoryMockRecorder) SearchByParam added in v1.4.0

func (mr *MockSubTaskRepositoryMockRecorder) SearchByParam(ctx, param interface{}) *gomock.Call

SearchByParam indicates an expected call of SearchByParam.

func (*MockSubTaskRepositoryMockRecorder) SearchByParamWithTx added in v1.4.0

func (mr *MockSubTaskRepositoryMockRecorder) SearchByParamWithTx(tx, param interface{}) *gomock.Call

SearchByParamWithTx indicates an expected call of SearchByParamWithTx.

func (*MockSubTaskRepositoryMockRecorder) SearchWithTx

func (mr *MockSubTaskRepositoryMockRecorder) SearchWithTx(tx, param, q interface{}) *gomock.Call

SearchWithTx indicates an expected call of SearchWithTx.

func (*MockSubTaskRepositoryMockRecorder) SetParentDoc

func (mr *MockSubTaskRepositoryMockRecorder) SetParentDoc(doc interface{}) *gomock.Call

SetParentDoc indicates an expected call of SetParentDoc.

func (*MockSubTaskRepositoryMockRecorder) StrictUpdate

func (mr *MockSubTaskRepositoryMockRecorder) StrictUpdate(ctx, id, param interface{}, opts ...interface{}) *gomock.Call

StrictUpdate indicates an expected call of StrictUpdate.

func (*MockSubTaskRepositoryMockRecorder) StrictUpdateWithTx

func (mr *MockSubTaskRepositoryMockRecorder) StrictUpdateWithTx(tx, id, param interface{}, opts ...interface{}) *gomock.Call

StrictUpdateWithTx indicates an expected call of StrictUpdateWithTx.

func (*MockSubTaskRepositoryMockRecorder) Update

func (mr *MockSubTaskRepositoryMockRecorder) Update(ctx, subject interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockSubTaskRepositoryMockRecorder) UpdateMulti

func (mr *MockSubTaskRepositoryMockRecorder) UpdateMulti(ctx, subjects interface{}) *gomock.Call

UpdateMulti indicates an expected call of UpdateMulti.

func (*MockSubTaskRepositoryMockRecorder) UpdateMultiWithTx

func (mr *MockSubTaskRepositoryMockRecorder) UpdateMultiWithTx(ctx, tx, subjects interface{}) *gomock.Call

UpdateMultiWithTx indicates an expected call of UpdateMultiWithTx.

func (*MockSubTaskRepositoryMockRecorder) UpdateWithTx

func (mr *MockSubTaskRepositoryMockRecorder) UpdateWithTx(ctx, tx, subject interface{}) *gomock.Call

UpdateWithTx indicates an expected call of UpdateWithTx.

Jump to

Keyboard shortcuts

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