mock_entity

package
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 6 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) AddImpactByQuery

func (m *MockAdapter) AddImpactByQuery(arg0 interface{}, arg1 string) ([]string, error)

AddImpactByQuery mocks base method

func (*MockAdapter) AddImpacts

func (m *MockAdapter) AddImpacts(arg0, arg1 []string) error

AddImpacts mocks base method

func (*MockAdapter) AddInfos

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

AddInfos mocks base method

func (*MockAdapter) AddToBulkUpdate

func (m *MockAdapter) AddToBulkUpdate(arg0 string, arg1 interface{}) error

AddToBulkUpdate mocks base method

func (*MockAdapter) Bulk

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

Bulk mocks base method

func (*MockAdapter) BulkInsert

func (m *MockAdapter) BulkInsert(arg0 types.Entity) error

BulkInsert mocks base method

func (*MockAdapter) BulkUpsert

func (m *MockAdapter) BulkUpsert(arg0 types.Entity, arg1, arg2 []string) error

BulkUpsert mocks base method

func (*MockAdapter) Count

func (m *MockAdapter) Count() (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 []string) ([]types.Entity, error)

FindByIDs mocks base method

func (*MockAdapter) FindComponentForResource

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

FindComponentForResource mocks base method

func (*MockAdapter) FindConnectorForComponent

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

FindConnectorForComponent mocks base method

func (*MockAdapter) FindConnectorForResource

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

FindConnectorForResource mocks base method

func (*MockAdapter) FlushBulk

func (m *MockAdapter) FlushBulk() error

FlushBulk mocks base method

func (*MockAdapter) FlushBulkInsert

func (m *MockAdapter) FlushBulkInsert() error

FlushBulkInsert mocks base method

func (*MockAdapter) FlushBulkUpdate

func (m *MockAdapter) FlushBulkUpdate() error

FlushBulkUpdate mocks base method

func (*MockAdapter) Get

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

Get mocks base method

func (*MockAdapter) GetAllWithLastUpdateDateBefore

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

GetAllWithLastUpdateDateBefore mocks base method

func (*MockAdapter) GetEntityByID

func (m *MockAdapter) GetEntityByID(arg0 string) (types.Entity, error)

GetEntityByID mocks base method

func (*MockAdapter) GetIDs

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

GetIDs mocks base method

func (*MockAdapter) GetImpactedServicesInfo

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

GetImpactedServicesInfo 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 types.Entity) error

Insert mocks base method

func (*MockAdapter) Remove

func (m *MockAdapter) Remove(arg0 types.Entity) error

Remove mocks base method

func (*MockAdapter) RemoveAll

func (m *MockAdapter) RemoveAll() error

RemoveAll mocks base method

func (*MockAdapter) RemoveImpactByQuery

func (m *MockAdapter) RemoveImpactByQuery(arg0 interface{}, arg1 string) ([]string, error)

RemoveImpactByQuery mocks base method

func (*MockAdapter) RemoveImpacts

func (m *MockAdapter) RemoveImpacts(arg0, arg1 []string) error

RemoveImpacts mocks base method

func (*MockAdapter) Update

func (m *MockAdapter) Update(arg0 types.Entity) error

Update mocks base method

func (*MockAdapter) UpdateComponentInfos

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

UpdateComponentInfos mocks base method

func (*MockAdapter) UpdateComponentInfosByComponent

func (m *MockAdapter) UpdateComponentInfosByComponent(arg0 string) ([]string, error)

UpdateComponentInfosByComponent mocks base method

func (*MockAdapter) UpdateIdleFields

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

UpdateIdleFields mocks base method

func (*MockAdapter) UpdateLastEventDate

func (m *MockAdapter) UpdateLastEventDate(arg0 []string, arg1 types.CpsTime) error

UpdateLastEventDate mocks base method

func (*MockAdapter) UpsertMany

func (m *MockAdapter) UpsertMany(arg0 []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) AddImpactByQuery

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

AddImpactByQuery indicates an expected call of AddImpactByQuery

func (*MockAdapterMockRecorder) AddImpacts

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

AddImpacts indicates an expected call of AddImpacts

func (*MockAdapterMockRecorder) AddInfos

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

AddInfos indicates an expected call of AddInfos

func (*MockAdapterMockRecorder) AddToBulkUpdate

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

AddToBulkUpdate indicates an expected call of AddToBulkUpdate

func (*MockAdapterMockRecorder) Bulk

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

Bulk indicates an expected call of Bulk

func (*MockAdapterMockRecorder) BulkInsert

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

BulkInsert indicates an expected call of BulkInsert

func (*MockAdapterMockRecorder) BulkUpsert

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

BulkUpsert indicates an expected call of BulkUpsert

func (*MockAdapterMockRecorder) Count

func (mr *MockAdapterMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count

func (*MockAdapterMockRecorder) FindByIDs

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

FindByIDs indicates an expected call of FindByIDs

func (*MockAdapterMockRecorder) FindComponentForResource

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

FindComponentForResource indicates an expected call of FindComponentForResource

func (*MockAdapterMockRecorder) FindConnectorForComponent

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

FindConnectorForComponent indicates an expected call of FindConnectorForComponent

func (*MockAdapterMockRecorder) FindConnectorForResource

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

FindConnectorForResource indicates an expected call of FindConnectorForResource

func (*MockAdapterMockRecorder) FlushBulk

func (mr *MockAdapterMockRecorder) FlushBulk() *gomock.Call

FlushBulk indicates an expected call of FlushBulk

func (*MockAdapterMockRecorder) FlushBulkInsert

func (mr *MockAdapterMockRecorder) FlushBulkInsert() *gomock.Call

FlushBulkInsert indicates an expected call of FlushBulkInsert

func (*MockAdapterMockRecorder) FlushBulkUpdate

func (mr *MockAdapterMockRecorder) FlushBulkUpdate() *gomock.Call

FlushBulkUpdate indicates an expected call of FlushBulkUpdate

func (*MockAdapterMockRecorder) Get

func (mr *MockAdapterMockRecorder) Get(arg0 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) GetEntityByID

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

GetEntityByID indicates an expected call of GetEntityByID

func (*MockAdapterMockRecorder) GetIDs

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

GetIDs indicates an expected call of GetIDs

func (*MockAdapterMockRecorder) GetImpactedServicesInfo

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

GetImpactedServicesInfo indicates an expected call of GetImpactedServicesInfo

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 interface{}) *gomock.Call

Insert indicates an expected call of Insert

func (*MockAdapterMockRecorder) Remove

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

Remove indicates an expected call of Remove

func (*MockAdapterMockRecorder) RemoveAll

func (mr *MockAdapterMockRecorder) RemoveAll() *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockAdapterMockRecorder) RemoveImpactByQuery

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

RemoveImpactByQuery indicates an expected call of RemoveImpactByQuery

func (*MockAdapterMockRecorder) RemoveImpacts

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

RemoveImpacts indicates an expected call of RemoveImpacts

func (*MockAdapterMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockAdapterMockRecorder) UpdateComponentInfos

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

UpdateComponentInfos indicates an expected call of UpdateComponentInfos

func (*MockAdapterMockRecorder) UpdateComponentInfosByComponent

func (mr *MockAdapterMockRecorder) UpdateComponentInfosByComponent(arg0 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 interface{}) *gomock.Call

UpdateLastEventDate indicates an expected call of UpdateLastEventDate

func (*MockAdapterMockRecorder) UpsertMany

func (mr *MockAdapterMockRecorder) UpsertMany(arg0 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