mock_model

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 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 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 ...model.DeleteOption) error

Delete mocks base method.

func (*MockLockMetaRepository) DeleteByID

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

DeleteByID mocks base method.

func (*MockLockMetaRepository) DeleteByIDWithTx

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

DeleteByIDWithTx mocks base method.

func (*MockLockMetaRepository) DeleteMulti

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

DeleteMulti mocks base method.

func (*MockLockMetaRepository) DeleteMultiByIDs

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

DeleteMultiByIDs mocks base method.

func (*MockLockMetaRepository) DeleteMultiByIDsWithTx

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

DeleteMultiByIDsWithTx mocks base method.

func (*MockLockMetaRepository) DeleteMultiWithTx

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

DeleteMultiWithTx mocks base method.

func (*MockLockMetaRepository) DeleteWithTx

func (m *MockLockMetaRepository) DeleteWithTx(ctx context.Context, tx *firestore.Transaction, subject *model.LockMeta, opts ...model.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 ...model.GetOption) ([]*model.LockMeta, error)

GetMulti mocks base method.

func (*MockLockMetaRepository) GetMultiWithTx

func (m *MockLockMetaRepository) GetMultiWithTx(tx *firestore.Transaction, ids []string, opts ...model.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) SearchByParam added in v1.4.0

SearchByParam mocks base method.

func (*MockLockMetaRepository) SearchByParamWithTx added in v1.4.0

SearchByParamWithTx 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 ...model.DeleteOption) (bool, error)

BeforeDelete mocks base method.

func (*MockLockMetaRepositoryMiddleware) BeforeDeleteByID

func (m *MockLockMetaRepositoryMiddleware) BeforeDeleteByID(ctx context.Context, ids []string, opts ...model.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 any, opts ...any) *gomock.Call

BeforeDelete indicates an expected call of BeforeDelete.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeDeleteByID

func (mr *MockLockMetaRepositoryMiddlewareMockRecorder) BeforeDeleteByID(ctx, ids any, opts ...any) *gomock.Call

BeforeDeleteByID indicates an expected call of BeforeDeleteByID.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeInsert

func (mr *MockLockMetaRepositoryMiddlewareMockRecorder) BeforeInsert(ctx, subject any) *gomock.Call

BeforeInsert indicates an expected call of BeforeInsert.

func (*MockLockMetaRepositoryMiddlewareMockRecorder) BeforeUpdate

func (mr *MockLockMetaRepositoryMiddlewareMockRecorder) BeforeUpdate(ctx, old, subject any) *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 any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLockMetaRepositoryMockRecorder) DeleteByID

func (mr *MockLockMetaRepositoryMockRecorder) DeleteByID(ctx, id any, opts ...any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockLockMetaRepositoryMockRecorder) DeleteByIDWithTx

func (mr *MockLockMetaRepositoryMockRecorder) DeleteByIDWithTx(ctx, tx, id any, opts ...any) *gomock.Call

DeleteByIDWithTx indicates an expected call of DeleteByIDWithTx.

func (*MockLockMetaRepositoryMockRecorder) DeleteMulti

func (mr *MockLockMetaRepositoryMockRecorder) DeleteMulti(ctx, subjects any, opts ...any) *gomock.Call

DeleteMulti indicates an expected call of DeleteMulti.

func (*MockLockMetaRepositoryMockRecorder) DeleteMultiByIDs

func (mr *MockLockMetaRepositoryMockRecorder) DeleteMultiByIDs(ctx, ids any, opts ...any) *gomock.Call

DeleteMultiByIDs indicates an expected call of DeleteMultiByIDs.

func (*MockLockMetaRepositoryMockRecorder) DeleteMultiByIDsWithTx

func (mr *MockLockMetaRepositoryMockRecorder) DeleteMultiByIDsWithTx(ctx, tx, ids any, opts ...any) *gomock.Call

DeleteMultiByIDsWithTx indicates an expected call of DeleteMultiByIDsWithTx.

func (*MockLockMetaRepositoryMockRecorder) DeleteMultiWithTx

func (mr *MockLockMetaRepositoryMockRecorder) DeleteMultiWithTx(ctx, tx, subjects any, opts ...any) *gomock.Call

DeleteMultiWithTx indicates an expected call of DeleteMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) DeleteWithTx

func (mr *MockLockMetaRepositoryMockRecorder) DeleteWithTx(ctx, tx, subject any, opts ...any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockLockMetaRepositoryMockRecorder) Get

func (mr *MockLockMetaRepositoryMockRecorder) Get(ctx, id any, opts ...any) *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

GetDocRef indicates an expected call of GetDocRef.

func (*MockLockMetaRepositoryMockRecorder) GetMulti

func (mr *MockLockMetaRepositoryMockRecorder) GetMulti(ctx, ids any, opts ...any) *gomock.Call

GetMulti indicates an expected call of GetMulti.

func (*MockLockMetaRepositoryMockRecorder) GetMultiWithTx

func (mr *MockLockMetaRepositoryMockRecorder) GetMultiWithTx(tx, ids any, opts ...any) *gomock.Call

GetMultiWithTx indicates an expected call of GetMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) GetWithDoc

func (mr *MockLockMetaRepositoryMockRecorder) GetWithDoc(ctx, doc any, opts ...any) *gomock.Call

GetWithDoc indicates an expected call of GetWithDoc.

func (*MockLockMetaRepositoryMockRecorder) GetWithDocWithTx

func (mr *MockLockMetaRepositoryMockRecorder) GetWithDocWithTx(tx, doc any, opts ...any) *gomock.Call

GetWithDocWithTx indicates an expected call of GetWithDocWithTx.

func (*MockLockMetaRepositoryMockRecorder) GetWithTx

func (mr *MockLockMetaRepositoryMockRecorder) GetWithTx(tx, id any, opts ...any) *gomock.Call

GetWithTx indicates an expected call of GetWithTx.

func (*MockLockMetaRepositoryMockRecorder) Insert

func (mr *MockLockMetaRepositoryMockRecorder) Insert(ctx, subject any) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockLockMetaRepositoryMockRecorder) InsertMulti

func (mr *MockLockMetaRepositoryMockRecorder) InsertMulti(ctx, subjects any) *gomock.Call

InsertMulti indicates an expected call of InsertMulti.

func (*MockLockMetaRepositoryMockRecorder) InsertMultiWithTx

func (mr *MockLockMetaRepositoryMockRecorder) InsertMultiWithTx(ctx, tx, subjects any) *gomock.Call

InsertMultiWithTx indicates an expected call of InsertMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) InsertWithTx

func (mr *MockLockMetaRepositoryMockRecorder) InsertWithTx(ctx, tx, subject any) *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 any) *gomock.Call

Search indicates an expected call of Search.

func (*MockLockMetaRepositoryMockRecorder) SearchByParam added in v1.4.0

func (mr *MockLockMetaRepositoryMockRecorder) SearchByParam(ctx, param any) *gomock.Call

SearchByParam indicates an expected call of SearchByParam.

func (*MockLockMetaRepositoryMockRecorder) SearchByParamWithTx added in v1.4.0

func (mr *MockLockMetaRepositoryMockRecorder) SearchByParamWithTx(tx, param any) *gomock.Call

SearchByParamWithTx indicates an expected call of SearchByParamWithTx.

func (*MockLockMetaRepositoryMockRecorder) SearchWithTx

func (mr *MockLockMetaRepositoryMockRecorder) SearchWithTx(tx, param, q any) *gomock.Call

SearchWithTx indicates an expected call of SearchWithTx.

func (*MockLockMetaRepositoryMockRecorder) StrictUpdate

func (mr *MockLockMetaRepositoryMockRecorder) StrictUpdate(ctx, id, param any, opts ...any) *gomock.Call

StrictUpdate indicates an expected call of StrictUpdate.

func (*MockLockMetaRepositoryMockRecorder) StrictUpdateWithTx

func (mr *MockLockMetaRepositoryMockRecorder) StrictUpdateWithTx(tx, id, param any, opts ...any) *gomock.Call

StrictUpdateWithTx indicates an expected call of StrictUpdateWithTx.

func (*MockLockMetaRepositoryMockRecorder) Update

func (mr *MockLockMetaRepositoryMockRecorder) Update(ctx, subject any) *gomock.Call

Update indicates an expected call of Update.

func (*MockLockMetaRepositoryMockRecorder) UpdateMulti

func (mr *MockLockMetaRepositoryMockRecorder) UpdateMulti(ctx, subjects any) *gomock.Call

UpdateMulti indicates an expected call of UpdateMulti.

func (*MockLockMetaRepositoryMockRecorder) UpdateMultiWithTx

func (mr *MockLockMetaRepositoryMockRecorder) UpdateMultiWithTx(ctx, tx, subjects any) *gomock.Call

UpdateMultiWithTx indicates an expected call of UpdateMultiWithTx.

func (*MockLockMetaRepositoryMockRecorder) UpdateWithTx

func (mr *MockLockMetaRepositoryMockRecorder) UpdateWithTx(ctx, tx, subject any) *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