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 MockSubCollectionRepository

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

MockSubCollectionRepository is a mock of SubCollectionRepository interface.

func NewMockSubCollectionRepository

func NewMockSubCollectionRepository(ctrl *gomock.Controller) *MockSubCollectionRepository

NewMockSubCollectionRepository creates a new mock instance.

func (*MockSubCollectionRepository) Delete

Delete mocks base method.

func (*MockSubCollectionRepository) DeleteByID

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

DeleteByID mocks base method.

func (*MockSubCollectionRepository) DeleteByIDWithTx

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

DeleteByIDWithTx mocks base method.

func (*MockSubCollectionRepository) DeleteMulti

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

DeleteMulti mocks base method.

func (*MockSubCollectionRepository) DeleteMultiByIDs

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

DeleteMultiByIDs mocks base method.

func (*MockSubCollectionRepository) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx mocks base method.

func (*MockSubCollectionRepository) DeleteMultiWithTx

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

DeleteMultiWithTx mocks base method.

func (*MockSubCollectionRepository) DeleteWithTx

DeleteWithTx mocks base method.

func (*MockSubCollectionRepository) EXPECT

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

func (*MockSubCollectionRepository) Free

func (m *MockSubCollectionRepository) Free()

Free mocks base method.

func (*MockSubCollectionRepository) Get

Get mocks base method.

func (*MockSubCollectionRepository) GetCollection

GetCollection mocks base method.

func (*MockSubCollectionRepository) GetCollectionName

func (m *MockSubCollectionRepository) GetCollectionName() string

GetCollectionName mocks base method.

func (*MockSubCollectionRepository) GetDocRef

GetDocRef mocks base method.

func (*MockSubCollectionRepository) GetMulti

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

GetMulti mocks base method.

func (*MockSubCollectionRepository) GetMultiWithTx

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

GetMultiWithTx mocks base method.

func (*MockSubCollectionRepository) GetWithDoc

GetWithDoc mocks base method.

func (*MockSubCollectionRepository) GetWithDocWithTx

GetWithDocWithTx mocks base method.

func (*MockSubCollectionRepository) GetWithTx

GetWithTx mocks base method.

func (*MockSubCollectionRepository) Insert

Insert mocks base method.

func (*MockSubCollectionRepository) InsertMulti

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

InsertMulti mocks base method.

func (*MockSubCollectionRepository) InsertMultiWithTx

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

InsertMultiWithTx mocks base method.

func (*MockSubCollectionRepository) InsertWithTx

InsertWithTx mocks base method.

func (*MockSubCollectionRepository) NewRepositoryByParent

NewRepositoryByParent mocks base method.

func (*MockSubCollectionRepository) RunInTransaction

RunInTransaction mocks base method.

func (*MockSubCollectionRepository) Search

Search mocks base method.

func (*MockSubCollectionRepository) SearchByParam

SearchByParam mocks base method.

func (*MockSubCollectionRepository) SearchByParamWithTx

SearchByParamWithTx mocks base method.

func (*MockSubCollectionRepository) SearchWithTx

SearchWithTx mocks base method.

func (*MockSubCollectionRepository) SetParentDoc

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

SetParentDoc mocks base method.

func (*MockSubCollectionRepository) StrictUpdate

StrictUpdate mocks base method.

func (*MockSubCollectionRepository) StrictUpdateWithTx

StrictUpdateWithTx mocks base method.

func (*MockSubCollectionRepository) Update

Update mocks base method.

func (*MockSubCollectionRepository) UpdateMulti

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

UpdateMulti mocks base method.

func (*MockSubCollectionRepository) UpdateMultiWithTx

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

UpdateMultiWithTx mocks base method.

func (*MockSubCollectionRepository) UpdateWithTx

UpdateWithTx mocks base method.

type MockSubCollectionRepositoryMiddleware

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

MockSubCollectionRepositoryMiddleware is a mock of SubCollectionRepositoryMiddleware interface.

func NewMockSubCollectionRepositoryMiddleware

func NewMockSubCollectionRepositoryMiddleware(ctrl *gomock.Controller) *MockSubCollectionRepositoryMiddleware

NewMockSubCollectionRepositoryMiddleware creates a new mock instance.

func (*MockSubCollectionRepositoryMiddleware) BeforeDelete

BeforeDelete mocks base method.

func (*MockSubCollectionRepositoryMiddleware) BeforeDeleteByID

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

BeforeDeleteByID mocks base method.

func (*MockSubCollectionRepositoryMiddleware) BeforeInsert

BeforeInsert mocks base method.

func (*MockSubCollectionRepositoryMiddleware) BeforeUpdate

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

BeforeUpdate mocks base method.

func (*MockSubCollectionRepositoryMiddleware) EXPECT

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

type MockSubCollectionRepositoryMiddlewareMockRecorder

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

MockSubCollectionRepositoryMiddlewareMockRecorder is the mock recorder for MockSubCollectionRepositoryMiddleware.

func (*MockSubCollectionRepositoryMiddlewareMockRecorder) BeforeDelete

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

BeforeDelete indicates an expected call of BeforeDelete.

func (*MockSubCollectionRepositoryMiddlewareMockRecorder) BeforeDeleteByID

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

BeforeDeleteByID indicates an expected call of BeforeDeleteByID.

func (*MockSubCollectionRepositoryMiddlewareMockRecorder) BeforeInsert

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

BeforeInsert indicates an expected call of BeforeInsert.

func (*MockSubCollectionRepositoryMiddlewareMockRecorder) BeforeUpdate

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

BeforeUpdate indicates an expected call of BeforeUpdate.

type MockSubCollectionRepositoryMockRecorder

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

MockSubCollectionRepositoryMockRecorder is the mock recorder for MockSubCollectionRepository.

func (*MockSubCollectionRepositoryMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockSubCollectionRepositoryMockRecorder) DeleteByID

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

DeleteByID indicates an expected call of DeleteByID.

func (*MockSubCollectionRepositoryMockRecorder) DeleteByIDWithTx

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

DeleteByIDWithTx indicates an expected call of DeleteByIDWithTx.

func (*MockSubCollectionRepositoryMockRecorder) DeleteMulti

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

DeleteMulti indicates an expected call of DeleteMulti.

func (*MockSubCollectionRepositoryMockRecorder) DeleteMultiByIDs

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

DeleteMultiByIDs indicates an expected call of DeleteMultiByIDs.

func (*MockSubCollectionRepositoryMockRecorder) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx indicates an expected call of DeleteMultiByIDsWithTx.

func (*MockSubCollectionRepositoryMockRecorder) DeleteMultiWithTx

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

DeleteMultiWithTx indicates an expected call of DeleteMultiWithTx.

func (*MockSubCollectionRepositoryMockRecorder) DeleteWithTx

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

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockSubCollectionRepositoryMockRecorder) Free

Free indicates an expected call of Free.

func (*MockSubCollectionRepositoryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockSubCollectionRepositoryMockRecorder) GetCollection

GetCollection indicates an expected call of GetCollection.

func (*MockSubCollectionRepositoryMockRecorder) GetCollectionName

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

GetCollectionName indicates an expected call of GetCollectionName.

func (*MockSubCollectionRepositoryMockRecorder) GetDocRef

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

GetDocRef indicates an expected call of GetDocRef.

func (*MockSubCollectionRepositoryMockRecorder) GetMulti

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

GetMulti indicates an expected call of GetMulti.

func (*MockSubCollectionRepositoryMockRecorder) GetMultiWithTx

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

GetMultiWithTx indicates an expected call of GetMultiWithTx.

func (*MockSubCollectionRepositoryMockRecorder) GetWithDoc

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

GetWithDoc indicates an expected call of GetWithDoc.

func (*MockSubCollectionRepositoryMockRecorder) GetWithDocWithTx

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

GetWithDocWithTx indicates an expected call of GetWithDocWithTx.

func (*MockSubCollectionRepositoryMockRecorder) GetWithTx

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

GetWithTx indicates an expected call of GetWithTx.

func (*MockSubCollectionRepositoryMockRecorder) Insert

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

Insert indicates an expected call of Insert.

func (*MockSubCollectionRepositoryMockRecorder) InsertMulti

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

InsertMulti indicates an expected call of InsertMulti.

func (*MockSubCollectionRepositoryMockRecorder) InsertMultiWithTx

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

InsertMultiWithTx indicates an expected call of InsertMultiWithTx.

func (*MockSubCollectionRepositoryMockRecorder) InsertWithTx

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

InsertWithTx indicates an expected call of InsertWithTx.

func (*MockSubCollectionRepositoryMockRecorder) NewRepositoryByParent

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

NewRepositoryByParent indicates an expected call of NewRepositoryByParent.

func (*MockSubCollectionRepositoryMockRecorder) RunInTransaction

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

RunInTransaction indicates an expected call of RunInTransaction.

func (*MockSubCollectionRepositoryMockRecorder) Search

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

Search indicates an expected call of Search.

func (*MockSubCollectionRepositoryMockRecorder) SearchByParam

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

SearchByParam indicates an expected call of SearchByParam.

func (*MockSubCollectionRepositoryMockRecorder) SearchByParamWithTx

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

SearchByParamWithTx indicates an expected call of SearchByParamWithTx.

func (*MockSubCollectionRepositoryMockRecorder) SearchWithTx

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

SearchWithTx indicates an expected call of SearchWithTx.

func (*MockSubCollectionRepositoryMockRecorder) SetParentDoc

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

SetParentDoc indicates an expected call of SetParentDoc.

func (*MockSubCollectionRepositoryMockRecorder) StrictUpdate

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

StrictUpdate indicates an expected call of StrictUpdate.

func (*MockSubCollectionRepositoryMockRecorder) StrictUpdateWithTx

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

StrictUpdateWithTx indicates an expected call of StrictUpdateWithTx.

func (*MockSubCollectionRepositoryMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockSubCollectionRepositoryMockRecorder) UpdateMulti

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

UpdateMulti indicates an expected call of UpdateMulti.

func (*MockSubCollectionRepositoryMockRecorder) UpdateMultiWithTx

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

UpdateMultiWithTx indicates an expected call of UpdateMultiWithTx.

func (*MockSubCollectionRepositoryMockRecorder) UpdateWithTx

func (mr *MockSubCollectionRepositoryMockRecorder) 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