mock_model

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 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 MockLockMeta2Repository

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

MockLockMeta2Repository is a mock of LockMeta2Repository interface.

func NewMockLockMeta2Repository

func NewMockLockMeta2Repository(ctrl *gomock.Controller) *MockLockMeta2Repository

NewMockLockMeta2Repository creates a new mock instance.

func (*MockLockMeta2Repository) Delete

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

Delete mocks base method.

func (*MockLockMeta2Repository) DeleteByID

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

DeleteByID mocks base method.

func (*MockLockMeta2Repository) DeleteByIDWithTx

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

DeleteByIDWithTx mocks base method.

func (*MockLockMeta2Repository) DeleteMulti

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

DeleteMulti mocks base method.

func (*MockLockMeta2Repository) DeleteMultiByIDs

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

DeleteMultiByIDs mocks base method.

func (*MockLockMeta2Repository) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx mocks base method.

func (*MockLockMeta2Repository) DeleteMultiWithTx

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

DeleteMultiWithTx mocks base method.

func (*MockLockMeta2Repository) DeleteWithTx

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

DeleteWithTx mocks base method.

func (*MockLockMeta2Repository) EXPECT

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

func (*MockLockMeta2Repository) Get

Get mocks base method.

func (*MockLockMeta2Repository) GetCollection

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

GetCollection mocks base method.

func (*MockLockMeta2Repository) GetCollectionName

func (m *MockLockMeta2Repository) GetCollectionName() string

GetCollectionName mocks base method.

func (*MockLockMeta2Repository) GetDocRef

GetDocRef mocks base method.

func (*MockLockMeta2Repository) GetMulti

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

GetMulti mocks base method.

func (*MockLockMeta2Repository) GetMultiWithTx

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

GetMultiWithTx mocks base method.

func (*MockLockMeta2Repository) GetWithDoc

GetWithDoc mocks base method.

func (*MockLockMeta2Repository) GetWithDocWithTx

GetWithDocWithTx mocks base method.

func (*MockLockMeta2Repository) GetWithTx

GetWithTx mocks base method.

func (*MockLockMeta2Repository) Insert

func (m *MockLockMeta2Repository) Insert(ctx context.Context, subject *model.LockMeta2) (string, error)

Insert mocks base method.

func (*MockLockMeta2Repository) InsertMulti

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

InsertMulti mocks base method.

func (*MockLockMeta2Repository) InsertMultiWithTx

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

InsertMultiWithTx mocks base method.

func (*MockLockMeta2Repository) InsertWithTx

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

InsertWithTx mocks base method.

func (*MockLockMeta2Repository) RunInTransaction

RunInTransaction mocks base method.

func (*MockLockMeta2Repository) Search

Search mocks base method.

func (*MockLockMeta2Repository) SearchByParam added in v1.4.0

SearchByParam mocks base method.

func (*MockLockMeta2Repository) SearchByParamWithTx added in v1.4.0

SearchByParamWithTx mocks base method.

func (*MockLockMeta2Repository) SearchWithTx

SearchWithTx mocks base method.

func (*MockLockMeta2Repository) StrictUpdate

StrictUpdate mocks base method.

func (*MockLockMeta2Repository) StrictUpdateWithTx

StrictUpdateWithTx mocks base method.

func (*MockLockMeta2Repository) Update

func (m *MockLockMeta2Repository) Update(ctx context.Context, subject *model.LockMeta2) error

Update mocks base method.

func (*MockLockMeta2Repository) UpdateMulti

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

UpdateMulti mocks base method.

func (*MockLockMeta2Repository) UpdateMultiWithTx

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

UpdateMultiWithTx mocks base method.

func (*MockLockMeta2Repository) UpdateWithTx

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

UpdateWithTx mocks base method.

type MockLockMeta2RepositoryMiddleware

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

MockLockMeta2RepositoryMiddleware is a mock of LockMeta2RepositoryMiddleware interface.

func NewMockLockMeta2RepositoryMiddleware

func NewMockLockMeta2RepositoryMiddleware(ctrl *gomock.Controller) *MockLockMeta2RepositoryMiddleware

NewMockLockMeta2RepositoryMiddleware creates a new mock instance.

func (*MockLockMeta2RepositoryMiddleware) BeforeDelete

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

BeforeDelete mocks base method.

func (*MockLockMeta2RepositoryMiddleware) BeforeDeleteByID

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

BeforeDeleteByID mocks base method.

func (*MockLockMeta2RepositoryMiddleware) BeforeInsert

func (m *MockLockMeta2RepositoryMiddleware) BeforeInsert(ctx context.Context, subject *model.LockMeta2) (bool, error)

BeforeInsert mocks base method.

func (*MockLockMeta2RepositoryMiddleware) BeforeUpdate

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

BeforeUpdate mocks base method.

func (*MockLockMeta2RepositoryMiddleware) EXPECT

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

type MockLockMeta2RepositoryMiddlewareMockRecorder

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

MockLockMeta2RepositoryMiddlewareMockRecorder is the mock recorder for MockLockMeta2RepositoryMiddleware.

func (*MockLockMeta2RepositoryMiddlewareMockRecorder) BeforeDelete

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

BeforeDelete indicates an expected call of BeforeDelete.

func (*MockLockMeta2RepositoryMiddlewareMockRecorder) BeforeDeleteByID

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

BeforeDeleteByID indicates an expected call of BeforeDeleteByID.

func (*MockLockMeta2RepositoryMiddlewareMockRecorder) BeforeInsert

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

BeforeInsert indicates an expected call of BeforeInsert.

func (*MockLockMeta2RepositoryMiddlewareMockRecorder) BeforeUpdate

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

BeforeUpdate indicates an expected call of BeforeUpdate.

type MockLockMeta2RepositoryMockRecorder

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

MockLockMeta2RepositoryMockRecorder is the mock recorder for MockLockMeta2Repository.

func (*MockLockMeta2RepositoryMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockLockMeta2RepositoryMockRecorder) DeleteByID

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

DeleteByID indicates an expected call of DeleteByID.

func (*MockLockMeta2RepositoryMockRecorder) DeleteByIDWithTx

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

DeleteByIDWithTx indicates an expected call of DeleteByIDWithTx.

func (*MockLockMeta2RepositoryMockRecorder) DeleteMulti

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

DeleteMulti indicates an expected call of DeleteMulti.

func (*MockLockMeta2RepositoryMockRecorder) DeleteMultiByIDs

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

DeleteMultiByIDs indicates an expected call of DeleteMultiByIDs.

func (*MockLockMeta2RepositoryMockRecorder) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx indicates an expected call of DeleteMultiByIDsWithTx.

func (*MockLockMeta2RepositoryMockRecorder) DeleteMultiWithTx

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

DeleteMultiWithTx indicates an expected call of DeleteMultiWithTx.

func (*MockLockMeta2RepositoryMockRecorder) DeleteWithTx

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

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockLockMeta2RepositoryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockLockMeta2RepositoryMockRecorder) GetCollection

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

GetCollection indicates an expected call of GetCollection.

func (*MockLockMeta2RepositoryMockRecorder) GetCollectionName

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

GetCollectionName indicates an expected call of GetCollectionName.

func (*MockLockMeta2RepositoryMockRecorder) GetDocRef

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

GetDocRef indicates an expected call of GetDocRef.

func (*MockLockMeta2RepositoryMockRecorder) GetMulti

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

GetMulti indicates an expected call of GetMulti.

func (*MockLockMeta2RepositoryMockRecorder) GetMultiWithTx

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

GetMultiWithTx indicates an expected call of GetMultiWithTx.

func (*MockLockMeta2RepositoryMockRecorder) GetWithDoc

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

GetWithDoc indicates an expected call of GetWithDoc.

func (*MockLockMeta2RepositoryMockRecorder) GetWithDocWithTx

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

GetWithDocWithTx indicates an expected call of GetWithDocWithTx.

func (*MockLockMeta2RepositoryMockRecorder) GetWithTx

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

GetWithTx indicates an expected call of GetWithTx.

func (*MockLockMeta2RepositoryMockRecorder) Insert

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

Insert indicates an expected call of Insert.

func (*MockLockMeta2RepositoryMockRecorder) InsertMulti

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

InsertMulti indicates an expected call of InsertMulti.

func (*MockLockMeta2RepositoryMockRecorder) InsertMultiWithTx

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

InsertMultiWithTx indicates an expected call of InsertMultiWithTx.

func (*MockLockMeta2RepositoryMockRecorder) InsertWithTx

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

InsertWithTx indicates an expected call of InsertWithTx.

func (*MockLockMeta2RepositoryMockRecorder) RunInTransaction

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

RunInTransaction indicates an expected call of RunInTransaction.

func (*MockLockMeta2RepositoryMockRecorder) Search

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

Search indicates an expected call of Search.

func (*MockLockMeta2RepositoryMockRecorder) SearchByParam added in v1.4.0

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

SearchByParam indicates an expected call of SearchByParam.

func (*MockLockMeta2RepositoryMockRecorder) SearchByParamWithTx added in v1.4.0

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

SearchByParamWithTx indicates an expected call of SearchByParamWithTx.

func (*MockLockMeta2RepositoryMockRecorder) SearchWithTx

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

SearchWithTx indicates an expected call of SearchWithTx.

func (*MockLockMeta2RepositoryMockRecorder) StrictUpdate

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

StrictUpdate indicates an expected call of StrictUpdate.

func (*MockLockMeta2RepositoryMockRecorder) StrictUpdateWithTx

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

StrictUpdateWithTx indicates an expected call of StrictUpdateWithTx.

func (*MockLockMeta2RepositoryMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockLockMeta2RepositoryMockRecorder) UpdateMulti

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

UpdateMulti indicates an expected call of UpdateMulti.

func (*MockLockMeta2RepositoryMockRecorder) UpdateMultiWithTx

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

UpdateMultiWithTx indicates an expected call of UpdateMultiWithTx.

func (*MockLockMeta2RepositoryMockRecorder) UpdateWithTx

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