mock_entity

package
v0.0.0-...-9b5cd94 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_entity is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdapter

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

MockAdapter is a mock of Adapter interface.

func NewMockAdapter

func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter

NewMockAdapter creates a new mock instance.

func (*MockAdapter) AddInfos

func (m *MockAdapter) AddInfos(arg0 context.Context, arg1 string, arg2 map[string]types.Info) (bool, error)

AddInfos mocks base method.

func (*MockAdapter) Bulk

func (m *MockAdapter) Bulk(arg0 context.Context, arg1 []mongo0.WriteModel) error

Bulk mocks base method.

func (*MockAdapter) Count

func (m *MockAdapter) Count(arg0 context.Context) (int, error)

Count mocks base method.

func (*MockAdapter) EXPECT

func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder

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

func (*MockAdapter) FindByIDs

func (m *MockAdapter) FindByIDs(arg0 context.Context, arg1 []string) ([]types.Entity, error)

FindByIDs mocks base method.

func (*MockAdapter) FindComponent

func (m *MockAdapter) FindComponent(arg0 context.Context, arg1 string) (*types.Entity, error)

FindComponent mocks base method.

func (*MockAdapter) FindConnector

func (m *MockAdapter) FindConnector(arg0 context.Context, arg1 string) (*types.Entity, error)

FindConnector mocks base method.

func (*MockAdapter) FindToCheckPbehaviorInfo

func (m *MockAdapter) FindToCheckPbehaviorInfo(arg0 context.Context, arg1, arg2 []string) (mongo.Cursor, error)

FindToCheckPbehaviorInfo mocks base method.

func (*MockAdapter) Get

func (m *MockAdapter) Get(arg0 context.Context, arg1 string) (types.Entity, bool)

Get mocks base method.

func (*MockAdapter) GetAllWithLastUpdateDateBefore

func (m *MockAdapter) GetAllWithLastUpdateDateBefore(arg0 context.Context, arg1 datetime.CpsTime, arg2 []string) (mongo.Cursor, error)

GetAllWithLastUpdateDateBefore mocks base method.

func (*MockAdapter) GetIDs

func (m *MockAdapter) GetIDs(arg0 context.Context, arg1 map[string]interface{}, arg2 *[]interface{}) error

GetIDs mocks base method.

func (*MockAdapter) GetWithIdleSince

func (m *MockAdapter) GetWithIdleSince(arg0 context.Context) (mongo.Cursor, error)

GetWithIdleSince mocks base method.

func (*MockAdapter) Insert

func (m *MockAdapter) Insert(arg0 context.Context, arg1 types.Entity) error

Insert mocks base method.

func (*MockAdapter) Update

func (m *MockAdapter) Update(arg0 context.Context, arg1 types.Entity) error

Update mocks base method.

func (*MockAdapter) UpdateComponentInfos

func (m *MockAdapter) UpdateComponentInfos(arg0 context.Context, arg1, arg2 string) (map[string]types.Info, error)

UpdateComponentInfos mocks base method.

func (*MockAdapter) UpdateComponentInfosByComponent

func (m *MockAdapter) UpdateComponentInfosByComponent(arg0 context.Context, arg1 string) ([]string, error)

UpdateComponentInfosByComponent mocks base method.

func (*MockAdapter) UpdateIdleFields

func (m *MockAdapter) UpdateIdleFields(arg0 context.Context, arg1 string, arg2 *datetime.CpsTime, arg3 string) error

UpdateIdleFields mocks base method.

func (*MockAdapter) UpdateLastEventDate

func (m *MockAdapter) UpdateLastEventDate(arg0 context.Context, arg1 []string, arg2 datetime.CpsTime) error

UpdateLastEventDate mocks base method.

func (*MockAdapter) UpdatePbehaviorInfo

func (m *MockAdapter) UpdatePbehaviorInfo(arg0 context.Context, arg1 string, arg2 types.PbehaviorInfo) error

UpdatePbehaviorInfo mocks base method.

func (*MockAdapter) UpsertMany

func (m *MockAdapter) UpsertMany(arg0 context.Context, arg1 []types.Entity) (map[string]bool, error)

UpsertMany mocks base method.

type MockAdapterMockRecorder

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

MockAdapterMockRecorder is the mock recorder for MockAdapter.

func (*MockAdapterMockRecorder) AddInfos

func (mr *MockAdapterMockRecorder) AddInfos(arg0, arg1, arg2 interface{}) *gomock.Call

AddInfos indicates an expected call of AddInfos.

func (*MockAdapterMockRecorder) Bulk

func (mr *MockAdapterMockRecorder) Bulk(arg0, arg1 interface{}) *gomock.Call

Bulk indicates an expected call of Bulk.

func (*MockAdapterMockRecorder) Count

func (mr *MockAdapterMockRecorder) Count(arg0 interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockAdapterMockRecorder) FindByIDs

func (mr *MockAdapterMockRecorder) FindByIDs(arg0, arg1 interface{}) *gomock.Call

FindByIDs indicates an expected call of FindByIDs.

func (*MockAdapterMockRecorder) FindComponent

func (mr *MockAdapterMockRecorder) FindComponent(arg0, arg1 interface{}) *gomock.Call

FindComponent indicates an expected call of FindComponent.

func (*MockAdapterMockRecorder) FindConnector

func (mr *MockAdapterMockRecorder) FindConnector(arg0, arg1 interface{}) *gomock.Call

FindConnector indicates an expected call of FindConnector.

func (*MockAdapterMockRecorder) FindToCheckPbehaviorInfo

func (mr *MockAdapterMockRecorder) FindToCheckPbehaviorInfo(arg0, arg1, arg2 interface{}) *gomock.Call

FindToCheckPbehaviorInfo indicates an expected call of FindToCheckPbehaviorInfo.

func (*MockAdapterMockRecorder) Get

func (mr *MockAdapterMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockAdapterMockRecorder) GetAllWithLastUpdateDateBefore

func (mr *MockAdapterMockRecorder) GetAllWithLastUpdateDateBefore(arg0, arg1, arg2 interface{}) *gomock.Call

GetAllWithLastUpdateDateBefore indicates an expected call of GetAllWithLastUpdateDateBefore.

func (*MockAdapterMockRecorder) GetIDs

func (mr *MockAdapterMockRecorder) GetIDs(arg0, arg1, arg2 interface{}) *gomock.Call

GetIDs indicates an expected call of GetIDs.

func (*MockAdapterMockRecorder) GetWithIdleSince

func (mr *MockAdapterMockRecorder) GetWithIdleSince(arg0 interface{}) *gomock.Call

GetWithIdleSince indicates an expected call of GetWithIdleSince.

func (*MockAdapterMockRecorder) Insert

func (mr *MockAdapterMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockAdapterMockRecorder) Update

func (mr *MockAdapterMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockAdapterMockRecorder) UpdateComponentInfos

func (mr *MockAdapterMockRecorder) UpdateComponentInfos(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateComponentInfos indicates an expected call of UpdateComponentInfos.

func (*MockAdapterMockRecorder) UpdateComponentInfosByComponent

func (mr *MockAdapterMockRecorder) UpdateComponentInfosByComponent(arg0, arg1 interface{}) *gomock.Call

UpdateComponentInfosByComponent indicates an expected call of UpdateComponentInfosByComponent.

func (*MockAdapterMockRecorder) UpdateIdleFields

func (mr *MockAdapterMockRecorder) UpdateIdleFields(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateIdleFields indicates an expected call of UpdateIdleFields.

func (*MockAdapterMockRecorder) UpdateLastEventDate

func (mr *MockAdapterMockRecorder) UpdateLastEventDate(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateLastEventDate indicates an expected call of UpdateLastEventDate.

func (*MockAdapterMockRecorder) UpdatePbehaviorInfo

func (mr *MockAdapterMockRecorder) UpdatePbehaviorInfo(arg0, arg1, arg2 interface{}) *gomock.Call

UpdatePbehaviorInfo indicates an expected call of UpdatePbehaviorInfo.

func (*MockAdapterMockRecorder) UpsertMany

func (mr *MockAdapterMockRecorder) UpsertMany(arg0, arg1 interface{}) *gomock.Call

UpsertMany indicates an expected call of UpsertMany.

Jump to

Keyboard shortcuts

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