Documentation ¶
Overview ¶
Package mock_contextgraph is a generated GoMock package.
Index ¶
- type MockEntityServiceStorage
- type MockEntityServiceStorageMockRecorder
- type MockManager
- func (m *MockManager) AssignServices(arg0 *types.Entity, arg1 mongo.CommandsRegister)
- func (m *MockManager) AssignStateSetting(arg0 context.Context, arg1 *types.Entity, arg2 mongo.CommandsRegister) (bool, error)
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) HandleComponent(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
- func (m *MockManager) HandleConnector(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
- func (m *MockManager) HandleResource(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
- func (m *MockManager) HandleService(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
- func (m *MockManager) InheritComponentFields(arg0, arg1 *types.Entity, arg2 mongo.CommandsRegister) error
- func (m *MockManager) LoadServices(arg0 context.Context) error
- func (m *MockManager) ProcessComponentDependencies(arg0 context.Context, arg1 *types.Entity, arg2 mongo.CommandsRegister) ([]string, error)
- func (m *MockManager) RecomputeService(arg0 context.Context, arg1 string, arg2 mongo.CommandsRegister) (types.Entity, error)
- func (m *MockManager) UpdateImpactedServicesFromDependencies(arg0 context.Context) error
- func (m *MockManager) UpdateLastEventDate(arg0 context.Context, arg1 *types.Event, arg2 bool) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AssignServices(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AssignStateSetting(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) HandleComponent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) HandleConnector(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) HandleResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) HandleService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) InheritComponentFields(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) LoadServices(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ProcessComponentDependencies(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) RecomputeService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateImpactedServicesFromDependencies(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateLastEventDate(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEntityServiceStorage ¶
type MockEntityServiceStorage struct {
// contains filtered or unexported fields
}
MockEntityServiceStorage is a mock of EntityServiceStorage interface.
func NewMockEntityServiceStorage ¶
func NewMockEntityServiceStorage(ctrl *gomock.Controller) *MockEntityServiceStorage
NewMockEntityServiceStorage creates a new mock instance.
func (*MockEntityServiceStorage) EXPECT ¶
func (m *MockEntityServiceStorage) EXPECT() *MockEntityServiceStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntityServiceStorage) Get ¶
func (m *MockEntityServiceStorage) Get(arg0 context.Context, arg1 string) (entityservice.EntityService, error)
Get mocks base method.
func (*MockEntityServiceStorage) GetAll ¶
func (m *MockEntityServiceStorage) GetAll(arg0 context.Context) ([]entityservice.EntityService, error)
GetAll mocks base method.
type MockEntityServiceStorageMockRecorder ¶
type MockEntityServiceStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityServiceStorageMockRecorder is the mock recorder for MockEntityServiceStorage.
func (*MockEntityServiceStorageMockRecorder) Get ¶
func (mr *MockEntityServiceStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockEntityServiceStorageMockRecorder) GetAll ¶
func (mr *MockEntityServiceStorageMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) AssignServices ¶
func (m *MockManager) AssignServices(arg0 *types.Entity, arg1 mongo.CommandsRegister)
AssignServices mocks base method.
func (*MockManager) AssignStateSetting ¶
func (m *MockManager) AssignStateSetting(arg0 context.Context, arg1 *types.Entity, arg2 mongo.CommandsRegister) (bool, error)
AssignStateSetting mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) HandleComponent ¶
func (m *MockManager) HandleComponent(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
HandleComponent mocks base method.
func (*MockManager) HandleConnector ¶
func (m *MockManager) HandleConnector(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
HandleConnector mocks base method.
func (*MockManager) HandleResource ¶
func (m *MockManager) HandleResource(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
HandleResource mocks base method.
func (*MockManager) HandleService ¶
func (m *MockManager) HandleService(arg0 context.Context, arg1 *types.Event, arg2 mongo.CommandsRegister) (contextgraph.Report, error)
HandleService mocks base method.
func (*MockManager) InheritComponentFields ¶
func (m *MockManager) InheritComponentFields(arg0, arg1 *types.Entity, arg2 mongo.CommandsRegister) error
InheritComponentFields mocks base method.
func (*MockManager) LoadServices ¶
func (m *MockManager) LoadServices(arg0 context.Context) error
LoadServices mocks base method.
func (*MockManager) ProcessComponentDependencies ¶
func (m *MockManager) ProcessComponentDependencies(arg0 context.Context, arg1 *types.Entity, arg2 mongo.CommandsRegister) ([]string, error)
ProcessComponentDependencies mocks base method.
func (*MockManager) RecomputeService ¶
func (m *MockManager) RecomputeService(arg0 context.Context, arg1 string, arg2 mongo.CommandsRegister) (types.Entity, error)
RecomputeService mocks base method.
func (*MockManager) UpdateImpactedServicesFromDependencies ¶
func (m *MockManager) UpdateImpactedServicesFromDependencies(arg0 context.Context) error
UpdateImpactedServicesFromDependencies mocks base method.
func (*MockManager) UpdateLastEventDate ¶
UpdateLastEventDate mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) AssignServices ¶
func (mr *MockManagerMockRecorder) AssignServices(arg0, arg1 interface{}) *gomock.Call
AssignServices indicates an expected call of AssignServices.
func (*MockManagerMockRecorder) AssignStateSetting ¶
func (mr *MockManagerMockRecorder) AssignStateSetting(arg0, arg1, arg2 interface{}) *gomock.Call
AssignStateSetting indicates an expected call of AssignStateSetting.
func (*MockManagerMockRecorder) HandleComponent ¶
func (mr *MockManagerMockRecorder) HandleComponent(arg0, arg1, arg2 interface{}) *gomock.Call
HandleComponent indicates an expected call of HandleComponent.
func (*MockManagerMockRecorder) HandleConnector ¶
func (mr *MockManagerMockRecorder) HandleConnector(arg0, arg1, arg2 interface{}) *gomock.Call
HandleConnector indicates an expected call of HandleConnector.
func (*MockManagerMockRecorder) HandleResource ¶
func (mr *MockManagerMockRecorder) HandleResource(arg0, arg1, arg2 interface{}) *gomock.Call
HandleResource indicates an expected call of HandleResource.
func (*MockManagerMockRecorder) HandleService ¶
func (mr *MockManagerMockRecorder) HandleService(arg0, arg1, arg2 interface{}) *gomock.Call
HandleService indicates an expected call of HandleService.
func (*MockManagerMockRecorder) InheritComponentFields ¶
func (mr *MockManagerMockRecorder) InheritComponentFields(arg0, arg1, arg2 interface{}) *gomock.Call
InheritComponentFields indicates an expected call of InheritComponentFields.
func (*MockManagerMockRecorder) LoadServices ¶
func (mr *MockManagerMockRecorder) LoadServices(arg0 interface{}) *gomock.Call
LoadServices indicates an expected call of LoadServices.
func (*MockManagerMockRecorder) ProcessComponentDependencies ¶
func (mr *MockManagerMockRecorder) ProcessComponentDependencies(arg0, arg1, arg2 interface{}) *gomock.Call
ProcessComponentDependencies indicates an expected call of ProcessComponentDependencies.
func (*MockManagerMockRecorder) RecomputeService ¶
func (mr *MockManagerMockRecorder) RecomputeService(arg0, arg1, arg2 interface{}) *gomock.Call
RecomputeService indicates an expected call of RecomputeService.
func (*MockManagerMockRecorder) UpdateImpactedServicesFromDependencies ¶
func (mr *MockManagerMockRecorder) UpdateImpactedServicesFromDependencies(arg0 interface{}) *gomock.Call
UpdateImpactedServicesFromDependencies indicates an expected call of UpdateImpactedServicesFromDependencies.
func (*MockManagerMockRecorder) UpdateLastEventDate ¶
func (mr *MockManagerMockRecorder) UpdateLastEventDate(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateLastEventDate indicates an expected call of UpdateLastEventDate.