mock_model

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 6 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 MockLockMetaRepository

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

MockLockMetaRepository is a mock of LockMetaRepository interface.

func NewMockLockMetaRepository

func NewMockLockMetaRepository(ctrl *gomock.Controller) *MockLockMetaRepository

NewMockLockMetaRepository creates a new mock instance.

func (*MockLockMetaRepository) Delete

func (m *MockLockMetaRepository) Delete(ctx context.Context, subject *model.LockMeta, opts ...model0.DeleteOption) error

Delete mocks base method.

func (*MockLockMetaRepository) DeleteByID

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

DeleteByID mocks base method.

func (*MockLockMetaRepository) DeleteByIDWithTx

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

DeleteByIDWithTx mocks base method.

func (*MockLockMetaRepository) DeleteMulti

func (m *MockLockMetaRepository) DeleteMulti(ctx context.Context, subjects []*model.LockMeta, opts ...model0.DeleteOption) error

DeleteMulti mocks base method.

func (*MockLockMetaRepository) DeleteMultiByIDs

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

DeleteMultiByIDs mocks base method.

func (*MockLockMetaRepository) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx mocks base method.

func (*MockLockMetaRepository) DeleteMultiWithTx

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

DeleteMultiWithTx mocks base method.

func (*MockLockMetaRepository) DeleteWithTx

func (m *MockLockMetaRepository) DeleteWithTx(ctx context.Context, tx *firestore.Transaction, subject *model.LockMeta, opts ...model0.DeleteOption) error

DeleteWithTx mocks base method.

func (*MockLockMetaRepository) EXPECT

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

func (*MockLockMetaRepository) Get

Get mocks base method.

func (*MockLockMetaRepository) GetCollection

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

GetCollection mocks base method.

func (*MockLockMetaRepository) GetCollectionName

func (m *MockLockMetaRepository) GetCollectionName() string

GetCollectionName mocks base method.

func (*MockLockMetaRepository) GetDocRef

GetDocRef mocks base method.

func (*MockLockMetaRepository) GetMulti

func (m *MockLockMetaRepository) GetMulti(ctx context.Context, ids []string, opts ...model0.GetOption) ([]*model.LockMeta, error)

GetMulti mocks base method.

func (*MockLockMetaRepository) GetMultiWithTx

func (m *MockLockMetaRepository) GetMultiWithTx(tx *firestore.Transaction, ids []string, opts ...model0.GetOption) ([]*model.LockMeta, error)

GetMultiWithTx mocks base method.

func (*MockLockMetaRepository) GetWithDoc

GetWithDoc mocks base method.

func (*MockLockMetaRepository) GetWithDocWithTx

GetWithDocWithTx mocks base method.

func (*MockLockMetaRepository) GetWithTx

GetWithTx mocks base method.

func (*MockLockMetaRepository) Insert

func (m *MockLockMetaRepository) Insert(ctx context.Context, subject *model.LockMeta) (string, error)

Insert mocks base method.

func (*MockLockMetaRepository) InsertMulti

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

InsertMulti mocks base method.

func (*MockLockMetaRepository) InsertMultiWithTx

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

InsertMultiWithTx mocks base method.

func (*MockLockMetaRepository) InsertWithTx

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

InsertWithTx mocks base method.

func (*MockLockMetaRepository) RunInTransaction

RunInTransaction mocks base method.

func (*MockLockMetaRepository) Search

Search mocks base method.

func (*MockLockMetaRepository) SearchWithTx

SearchWithTx mocks base method.

func (*MockLockMetaRepository) StrictUpdate

StrictUpdate mocks base method.

func (*MockLockMetaRepository) StrictUpdateWithTx

StrictUpdateWithTx mocks base method.

func (*MockLockMetaRepository) Update

func (m *MockLockMetaRepository) Update(ctx context.Context, subject *model.LockMeta) error

Update mocks base method.

func (*MockLockMetaRepository) UpdateMulti

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

UpdateMulti mocks base method.

func (*MockLockMetaRepository) UpdateMultiWithTx

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

UpdateMultiWithTx mocks base method.

func (*MockLockMetaRepository) UpdateWithTx

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

UpdateWithTx mocks base method.

type MockLockMetaRepositoryMiddleware

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

MockLockMetaRepositoryMiddleware is a mock of LockMetaRepositoryMiddleware interface.

func NewMockLockMetaRepositoryMiddleware

func NewMockLockMetaRepositoryMiddleware(ctrl *gomock.Controller) *MockLockMetaRepositoryMiddleware

NewMockLockMetaRepositoryMiddleware creates a new mock instance.

func (*MockLockMetaRepositoryMiddleware) BeforeDelete

func (m *MockLockMetaRepositoryMiddleware) BeforeDelete(ctx context.Context, subject *model.LockMeta, opts ...model0.DeleteOption) (bool, error)

BeforeDelete mocks base method.

func (*MockLockMetaRepositoryMiddleware) BeforeDeleteByID

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

BeforeDeleteByID mocks base method.

func (*MockLockMetaRepositoryMiddleware) BeforeInsert

func (m *MockLockMetaRepositoryMiddleware) BeforeInsert(ctx context.Context, subject *model.LockMeta) (bool, error)

BeforeInsert mocks base method.

func (*MockLockMetaRepositoryMiddleware) BeforeUpdate

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

BeforeUpdate mocks base method.

func (*MockLockMetaRepositoryMiddleware) EXPECT

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

type MockLockMetaRepositoryMiddlewareMockRecorder

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

MockLockMetaRepositoryMiddlewareMockRecorder is the mock recorder for MockLockMetaRepositoryMiddleware.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeDelete

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

BeforeDelete indicates an expected call of BeforeDelete.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeDeleteByID

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

BeforeDeleteByID indicates an expected call of BeforeDeleteByID.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeInsert

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

BeforeInsert indicates an expected call of BeforeInsert.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeUpdate

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

BeforeUpdate indicates an expected call of BeforeUpdate.

type MockLockMetaRepositoryMockRecorder

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

MockLockMetaRepositoryMockRecorder is the mock recorder for MockLockMetaRepository.

func (*MockLockMetaRepositoryMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockLockMetaRepositoryMockRecorder) DeleteByID

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

DeleteByID indicates an expected call of DeleteByID.

func (*MockLockMetaRepositoryMockRecorder) DeleteByIDWithTx

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

DeleteByIDWithTx indicates an expected call of DeleteByIDWithTx.

func (*MockLockMetaRepositoryMockRecorder) DeleteMulti

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

DeleteMulti indicates an expected call of DeleteMulti.

func (*MockLockMetaRepositoryMockRecorder) DeleteMultiByIDs

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

DeleteMultiByIDs indicates an expected call of DeleteMultiByIDs.

func (*MockLockMetaRepositoryMockRecorder) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx indicates an expected call of DeleteMultiByIDsWithTx.

func (*MockLockMetaRepositoryMockRecorder) DeleteMultiWithTx

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

DeleteMultiWithTx indicates an expected call of DeleteMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) DeleteWithTx

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

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockLockMetaRepositoryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockLockMetaRepositoryMockRecorder) GetCollection

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

GetCollection indicates an expected call of GetCollection.

func (*MockLockMetaRepositoryMockRecorder) GetCollectionName

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

GetCollectionName indicates an expected call of GetCollectionName.

func (*MockLockMetaRepositoryMockRecorder) GetDocRef

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

GetDocRef indicates an expected call of GetDocRef.

func (*MockLockMetaRepositoryMockRecorder) GetMulti

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

GetMulti indicates an expected call of GetMulti.

func (*MockLockMetaRepositoryMockRecorder) GetMultiWithTx

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

GetMultiWithTx indicates an expected call of GetMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) GetWithDoc

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

GetWithDoc indicates an expected call of GetWithDoc.

func (*MockLockMetaRepositoryMockRecorder) GetWithDocWithTx

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

GetWithDocWithTx indicates an expected call of GetWithDocWithTx.

func (*MockLockMetaRepositoryMockRecorder) GetWithTx

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

GetWithTx indicates an expected call of GetWithTx.

func (*MockLockMetaRepositoryMockRecorder) Insert

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

Insert indicates an expected call of Insert.

func (*MockLockMetaRepositoryMockRecorder) InsertMulti

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

InsertMulti indicates an expected call of InsertMulti.

func (*MockLockMetaRepositoryMockRecorder) InsertMultiWithTx

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

InsertMultiWithTx indicates an expected call of InsertMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) InsertWithTx

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

InsertWithTx indicates an expected call of InsertWithTx.

func (*MockLockMetaRepositoryMockRecorder) RunInTransaction

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

RunInTransaction indicates an expected call of RunInTransaction.

func (*MockLockMetaRepositoryMockRecorder) Search

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

Search indicates an expected call of Search.

func (*MockLockMetaRepositoryMockRecorder) SearchWithTx

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

SearchWithTx indicates an expected call of SearchWithTx.

func (*MockLockMetaRepositoryMockRecorder) StrictUpdate

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

StrictUpdate indicates an expected call of StrictUpdate.

func (*MockLockMetaRepositoryMockRecorder) StrictUpdateWithTx

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

StrictUpdateWithTx indicates an expected call of StrictUpdateWithTx.

func (*MockLockMetaRepositoryMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockLockMetaRepositoryMockRecorder) UpdateMulti

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

UpdateMulti indicates an expected call of UpdateMulti.

func (*MockLockMetaRepositoryMockRecorder) UpdateMultiWithTx

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

UpdateMultiWithTx indicates an expected call of UpdateMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) UpdateWithTx

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