Documentation ¶
Overview ¶
Package mock_alarm is a generated GoMock package.
Index ¶
- type MockActivationService
- type MockActivationServiceMockRecorder
- type MockAdapter
- func (m *MockAdapter) CopyAlarmToResolvedCollection(arg0 context.Context, arg1 types.Alarm) error
- func (m *MockAdapter) CountResolvedAlarm(arg0 context.Context, arg1 []string) (int, error)
- func (m *MockAdapter) DeleteResolvedAlarms(arg0 context.Context, arg1 time.Duration) error
- func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder
- func (m *MockAdapter) FindToCheckPbehaviorInfo(arg0 context.Context, arg1 datetime.CpsTime, arg2 []string) (mongo.Cursor, error)
- func (m *MockAdapter) GetAlarmByAlarmId(arg0 context.Context, arg1 string) (types.Alarm, error)
- func (m *MockAdapter) GetAlarmsWithCancelMark(arg0 context.Context) ([]types.Alarm, error)
- func (m *MockAdapter) GetAlarmsWithFlappingStatus(arg0 context.Context) ([]types.AlarmWithEntity, error)
- func (m *MockAdapter) GetAlarmsWithSnoozeMark(arg0 context.Context) ([]types.Alarm, error)
- func (m *MockAdapter) GetAlarmsWithoutTicketByComponent(arg0 context.Context, arg1 string) ([]types.AlarmWithEntity, error)
- func (m *MockAdapter) GetCountOpenedAlarmsByIDs(arg0 context.Context, arg1 []string) (int64, error)
- func (m *MockAdapter) GetLastAlarmByEntityID(arg0 context.Context, arg1 string) (*types.Alarm, error)
- func (m *MockAdapter) GetOpenedAlarmByAlarmId(arg0 context.Context, arg1 string) (types.Alarm, error)
- func (m *MockAdapter) GetOpenedAlarmsByAlarmIDs(arg0 context.Context, arg1 []string, arg2 *[]types.Alarm) error
- func (m *MockAdapter) GetOpenedAlarmsByConnectorIdleRules(arg0 context.Context) ([]types.Alarm, error)
- func (m *MockAdapter) GetOpenedAlarmsByIDs(arg0 context.Context, arg1 []string, arg2 *[]types.Alarm) error
- func (m *MockAdapter) GetOpenedAlarmsWithEntity(arg0 context.Context) (mongo.Cursor, error)
- func (m *MockAdapter) GetOpenedAlarmsWithEntityByIDs(arg0 context.Context, arg1 []string, arg2 *[]types.AlarmWithEntity) error
- func (m *MockAdapter) GetOpenedAlarmsWithLastDatesBefore(arg0 context.Context, arg1 datetime.CpsTime) (mongo.Cursor, error)
- func (m *MockAdapter) GetWorstAlarmStateAndMaxLastEventDate(arg0 context.Context, arg1 []string) (int64, int64, error)
- func (m *MockAdapter) UpdateLastEventDate(arg0 context.Context, arg1 []string, arg2 datetime.CpsTime) error
- type MockAdapterMockRecorder
- func (mr *MockAdapterMockRecorder) CopyAlarmToResolvedCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) CountResolvedAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DeleteResolvedAlarms(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) FindToCheckPbehaviorInfo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetAlarmByAlarmId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetAlarmsWithCancelMark(arg0 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetAlarmsWithFlappingStatus(arg0 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetAlarmsWithSnoozeMark(arg0 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetAlarmsWithoutTicketByComponent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetCountOpenedAlarmsByIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetLastAlarmByEntityID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmByAlarmId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmsByAlarmIDs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmsByConnectorIdleRules(arg0 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmsByIDs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmsWithEntity(arg0 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmsWithEntityByIDs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetOpenedAlarmsWithLastDatesBefore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetWorstAlarmStateAndMaxLastEventDate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateLastEventDate(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockEventProcessor
- type MockEventProcessorMockRecorder
- type MockMetaAlarmEventProcessor
- func (m *MockMetaAlarmEventProcessor) AttachChildrenToMetaAlarm(arg0 context.Context, arg1 rpc.AxeEvent) (*types.Alarm, []types.Alarm, []types.Event, error)
- func (m *MockMetaAlarmEventProcessor) CreateMetaAlarm(arg0 context.Context, arg1 rpc.AxeEvent) (*types.Alarm, []types.Alarm, error)
- func (m *MockMetaAlarmEventProcessor) DetachChildrenFromMetaAlarm(arg0 context.Context, arg1 rpc.AxeEvent) (*types.Alarm, error)
- func (m *MockMetaAlarmEventProcessor) EXPECT() *MockMetaAlarmEventProcessorMockRecorder
- func (m *MockMetaAlarmEventProcessor) ProcessAxeRpc(arg0 context.Context, arg1 rpc.AxeEvent, arg2 rpc.AxeResultEvent) error
- type MockMetaAlarmEventProcessorMockRecorder
- func (mr *MockMetaAlarmEventProcessorMockRecorder) AttachChildrenToMetaAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetaAlarmEventProcessorMockRecorder) CreateMetaAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetaAlarmEventProcessorMockRecorder) DetachChildrenFromMetaAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetaAlarmEventProcessorMockRecorder) ProcessAxeRpc(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ResolveCancels(arg0 context.Context, arg1 config.AlarmConfig) ([]types.Alarm, error)
- func (m *MockService) ResolveClosed(arg0 context.Context) ([]types.Alarm, error)
- func (m *MockService) ResolveSnoozes(arg0 context.Context, arg1 config.AlarmConfig) ([]types.Alarm, error)
- func (m *MockService) UpdateFlappingAlarms(arg0 context.Context) ([]types.Alarm, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) ResolveCancels(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ResolveClosed(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ResolveSnoozes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) UpdateFlappingAlarms(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActivationService ¶
type MockActivationService struct {
// contains filtered or unexported fields
}
MockActivationService is a mock of ActivationService interface.
func NewMockActivationService ¶
func NewMockActivationService(ctrl *gomock.Controller) *MockActivationService
NewMockActivationService creates a new mock instance.
func (*MockActivationService) EXPECT ¶
func (m *MockActivationService) EXPECT() *MockActivationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockActivationServiceMockRecorder ¶
type MockActivationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockActivationServiceMockRecorder is the mock recorder for MockActivationService.
func (*MockActivationServiceMockRecorder) Process ¶
func (mr *MockActivationServiceMockRecorder) Process(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Process indicates an expected call of Process.
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) CopyAlarmToResolvedCollection ¶
CopyAlarmToResolvedCollection mocks base method.
func (*MockAdapter) CountResolvedAlarm ¶
CountResolvedAlarm mocks base method.
func (*MockAdapter) DeleteResolvedAlarms ¶
DeleteResolvedAlarms 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) FindToCheckPbehaviorInfo ¶
func (m *MockAdapter) FindToCheckPbehaviorInfo(arg0 context.Context, arg1 datetime.CpsTime, arg2 []string) (mongo.Cursor, error)
FindToCheckPbehaviorInfo mocks base method.
func (*MockAdapter) GetAlarmByAlarmId ¶
GetAlarmByAlarmId mocks base method.
func (*MockAdapter) GetAlarmsWithCancelMark ¶
GetAlarmsWithCancelMark mocks base method.
func (*MockAdapter) GetAlarmsWithFlappingStatus ¶
func (m *MockAdapter) GetAlarmsWithFlappingStatus(arg0 context.Context) ([]types.AlarmWithEntity, error)
GetAlarmsWithFlappingStatus mocks base method.
func (*MockAdapter) GetAlarmsWithSnoozeMark ¶
GetAlarmsWithSnoozeMark mocks base method.
func (*MockAdapter) GetAlarmsWithoutTicketByComponent ¶
func (m *MockAdapter) GetAlarmsWithoutTicketByComponent(arg0 context.Context, arg1 string) ([]types.AlarmWithEntity, error)
GetAlarmsWithoutTicketByComponent mocks base method.
func (*MockAdapter) GetCountOpenedAlarmsByIDs ¶
GetCountOpenedAlarmsByIDs mocks base method.
func (*MockAdapter) GetLastAlarmByEntityID ¶
func (m *MockAdapter) GetLastAlarmByEntityID(arg0 context.Context, arg1 string) (*types.Alarm, error)
GetLastAlarmByEntityID mocks base method.
func (*MockAdapter) GetOpenedAlarmByAlarmId ¶
func (m *MockAdapter) GetOpenedAlarmByAlarmId(arg0 context.Context, arg1 string) (types.Alarm, error)
GetOpenedAlarmByAlarmId mocks base method.
func (*MockAdapter) GetOpenedAlarmsByAlarmIDs ¶
func (m *MockAdapter) GetOpenedAlarmsByAlarmIDs(arg0 context.Context, arg1 []string, arg2 *[]types.Alarm) error
GetOpenedAlarmsByAlarmIDs mocks base method.
func (*MockAdapter) GetOpenedAlarmsByConnectorIdleRules ¶
func (m *MockAdapter) GetOpenedAlarmsByConnectorIdleRules(arg0 context.Context) ([]types.Alarm, error)
GetOpenedAlarmsByConnectorIdleRules mocks base method.
func (*MockAdapter) GetOpenedAlarmsByIDs ¶
func (m *MockAdapter) GetOpenedAlarmsByIDs(arg0 context.Context, arg1 []string, arg2 *[]types.Alarm) error
GetOpenedAlarmsByIDs mocks base method.
func (*MockAdapter) GetOpenedAlarmsWithEntity ¶
GetOpenedAlarmsWithEntity mocks base method.
func (*MockAdapter) GetOpenedAlarmsWithEntityByIDs ¶
func (m *MockAdapter) GetOpenedAlarmsWithEntityByIDs(arg0 context.Context, arg1 []string, arg2 *[]types.AlarmWithEntity) error
GetOpenedAlarmsWithEntityByIDs mocks base method.
func (*MockAdapter) GetOpenedAlarmsWithLastDatesBefore ¶
func (m *MockAdapter) GetOpenedAlarmsWithLastDatesBefore(arg0 context.Context, arg1 datetime.CpsTime) (mongo.Cursor, error)
GetOpenedAlarmsWithLastDatesBefore mocks base method.
func (*MockAdapter) GetWorstAlarmStateAndMaxLastEventDate ¶
func (m *MockAdapter) GetWorstAlarmStateAndMaxLastEventDate(arg0 context.Context, arg1 []string) (int64, int64, error)
GetWorstAlarmStateAndMaxLastEventDate mocks base method.
func (*MockAdapter) UpdateLastEventDate ¶
func (m *MockAdapter) UpdateLastEventDate(arg0 context.Context, arg1 []string, arg2 datetime.CpsTime) error
UpdateLastEventDate mocks base method.
type MockAdapterMockRecorder ¶
type MockAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockAdapterMockRecorder is the mock recorder for MockAdapter.
func (*MockAdapterMockRecorder) CopyAlarmToResolvedCollection ¶
func (mr *MockAdapterMockRecorder) CopyAlarmToResolvedCollection(arg0, arg1 interface{}) *gomock.Call
CopyAlarmToResolvedCollection indicates an expected call of CopyAlarmToResolvedCollection.
func (*MockAdapterMockRecorder) CountResolvedAlarm ¶
func (mr *MockAdapterMockRecorder) CountResolvedAlarm(arg0, arg1 interface{}) *gomock.Call
CountResolvedAlarm indicates an expected call of CountResolvedAlarm.
func (*MockAdapterMockRecorder) DeleteResolvedAlarms ¶
func (mr *MockAdapterMockRecorder) DeleteResolvedAlarms(arg0, arg1 interface{}) *gomock.Call
DeleteResolvedAlarms indicates an expected call of DeleteResolvedAlarms.
func (*MockAdapterMockRecorder) FindToCheckPbehaviorInfo ¶
func (mr *MockAdapterMockRecorder) FindToCheckPbehaviorInfo(arg0, arg1, arg2 interface{}) *gomock.Call
FindToCheckPbehaviorInfo indicates an expected call of FindToCheckPbehaviorInfo.
func (*MockAdapterMockRecorder) GetAlarmByAlarmId ¶
func (mr *MockAdapterMockRecorder) GetAlarmByAlarmId(arg0, arg1 interface{}) *gomock.Call
GetAlarmByAlarmId indicates an expected call of GetAlarmByAlarmId.
func (*MockAdapterMockRecorder) GetAlarmsWithCancelMark ¶
func (mr *MockAdapterMockRecorder) GetAlarmsWithCancelMark(arg0 interface{}) *gomock.Call
GetAlarmsWithCancelMark indicates an expected call of GetAlarmsWithCancelMark.
func (*MockAdapterMockRecorder) GetAlarmsWithFlappingStatus ¶
func (mr *MockAdapterMockRecorder) GetAlarmsWithFlappingStatus(arg0 interface{}) *gomock.Call
GetAlarmsWithFlappingStatus indicates an expected call of GetAlarmsWithFlappingStatus.
func (*MockAdapterMockRecorder) GetAlarmsWithSnoozeMark ¶
func (mr *MockAdapterMockRecorder) GetAlarmsWithSnoozeMark(arg0 interface{}) *gomock.Call
GetAlarmsWithSnoozeMark indicates an expected call of GetAlarmsWithSnoozeMark.
func (*MockAdapterMockRecorder) GetAlarmsWithoutTicketByComponent ¶
func (mr *MockAdapterMockRecorder) GetAlarmsWithoutTicketByComponent(arg0, arg1 interface{}) *gomock.Call
GetAlarmsWithoutTicketByComponent indicates an expected call of GetAlarmsWithoutTicketByComponent.
func (*MockAdapterMockRecorder) GetCountOpenedAlarmsByIDs ¶
func (mr *MockAdapterMockRecorder) GetCountOpenedAlarmsByIDs(arg0, arg1 interface{}) *gomock.Call
GetCountOpenedAlarmsByIDs indicates an expected call of GetCountOpenedAlarmsByIDs.
func (*MockAdapterMockRecorder) GetLastAlarmByEntityID ¶
func (mr *MockAdapterMockRecorder) GetLastAlarmByEntityID(arg0, arg1 interface{}) *gomock.Call
GetLastAlarmByEntityID indicates an expected call of GetLastAlarmByEntityID.
func (*MockAdapterMockRecorder) GetOpenedAlarmByAlarmId ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmByAlarmId(arg0, arg1 interface{}) *gomock.Call
GetOpenedAlarmByAlarmId indicates an expected call of GetOpenedAlarmByAlarmId.
func (*MockAdapterMockRecorder) GetOpenedAlarmsByAlarmIDs ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmsByAlarmIDs(arg0, arg1, arg2 interface{}) *gomock.Call
GetOpenedAlarmsByAlarmIDs indicates an expected call of GetOpenedAlarmsByAlarmIDs.
func (*MockAdapterMockRecorder) GetOpenedAlarmsByConnectorIdleRules ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmsByConnectorIdleRules(arg0 interface{}) *gomock.Call
GetOpenedAlarmsByConnectorIdleRules indicates an expected call of GetOpenedAlarmsByConnectorIdleRules.
func (*MockAdapterMockRecorder) GetOpenedAlarmsByIDs ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmsByIDs(arg0, arg1, arg2 interface{}) *gomock.Call
GetOpenedAlarmsByIDs indicates an expected call of GetOpenedAlarmsByIDs.
func (*MockAdapterMockRecorder) GetOpenedAlarmsWithEntity ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmsWithEntity(arg0 interface{}) *gomock.Call
GetOpenedAlarmsWithEntity indicates an expected call of GetOpenedAlarmsWithEntity.
func (*MockAdapterMockRecorder) GetOpenedAlarmsWithEntityByIDs ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmsWithEntityByIDs(arg0, arg1, arg2 interface{}) *gomock.Call
GetOpenedAlarmsWithEntityByIDs indicates an expected call of GetOpenedAlarmsWithEntityByIDs.
func (*MockAdapterMockRecorder) GetOpenedAlarmsWithLastDatesBefore ¶
func (mr *MockAdapterMockRecorder) GetOpenedAlarmsWithLastDatesBefore(arg0, arg1 interface{}) *gomock.Call
GetOpenedAlarmsWithLastDatesBefore indicates an expected call of GetOpenedAlarmsWithLastDatesBefore.
func (*MockAdapterMockRecorder) GetWorstAlarmStateAndMaxLastEventDate ¶
func (mr *MockAdapterMockRecorder) GetWorstAlarmStateAndMaxLastEventDate(arg0, arg1 interface{}) *gomock.Call
GetWorstAlarmStateAndMaxLastEventDate indicates an expected call of GetWorstAlarmStateAndMaxLastEventDate.
func (*MockAdapterMockRecorder) UpdateLastEventDate ¶
func (mr *MockAdapterMockRecorder) UpdateLastEventDate(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateLastEventDate indicates an expected call of UpdateLastEventDate.
type MockEventProcessor ¶
type MockEventProcessor struct {
// contains filtered or unexported fields
}
MockEventProcessor is a mock of EventProcessor interface.
func NewMockEventProcessor ¶
func NewMockEventProcessor(ctrl *gomock.Controller) *MockEventProcessor
NewMockEventProcessor creates a new mock instance.
func (*MockEventProcessor) EXPECT ¶
func (m *MockEventProcessor) EXPECT() *MockEventProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventProcessor) Process ¶
func (m *MockEventProcessor) Process(arg0 context.Context, arg1 *types.Event) (types.AlarmChange, error)
Process mocks base method.
type MockEventProcessorMockRecorder ¶
type MockEventProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockEventProcessorMockRecorder is the mock recorder for MockEventProcessor.
func (*MockEventProcessorMockRecorder) Process ¶
func (mr *MockEventProcessorMockRecorder) Process(arg0, arg1 interface{}) *gomock.Call
Process indicates an expected call of Process.
type MockMetaAlarmEventProcessor ¶
type MockMetaAlarmEventProcessor struct {
// contains filtered or unexported fields
}
MockMetaAlarmEventProcessor is a mock of MetaAlarmEventProcessor interface.
func NewMockMetaAlarmEventProcessor ¶
func NewMockMetaAlarmEventProcessor(ctrl *gomock.Controller) *MockMetaAlarmEventProcessor
NewMockMetaAlarmEventProcessor creates a new mock instance.
func (*MockMetaAlarmEventProcessor) AttachChildrenToMetaAlarm ¶
func (m *MockMetaAlarmEventProcessor) AttachChildrenToMetaAlarm(arg0 context.Context, arg1 rpc.AxeEvent) (*types.Alarm, []types.Alarm, []types.Event, error)
AttachChildrenToMetaAlarm mocks base method.
func (*MockMetaAlarmEventProcessor) CreateMetaAlarm ¶
func (m *MockMetaAlarmEventProcessor) CreateMetaAlarm(arg0 context.Context, arg1 rpc.AxeEvent) (*types.Alarm, []types.Alarm, error)
CreateMetaAlarm mocks base method.
func (*MockMetaAlarmEventProcessor) DetachChildrenFromMetaAlarm ¶
func (m *MockMetaAlarmEventProcessor) DetachChildrenFromMetaAlarm(arg0 context.Context, arg1 rpc.AxeEvent) (*types.Alarm, error)
DetachChildrenFromMetaAlarm mocks base method.
func (*MockMetaAlarmEventProcessor) EXPECT ¶
func (m *MockMetaAlarmEventProcessor) EXPECT() *MockMetaAlarmEventProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetaAlarmEventProcessor) ProcessAxeRpc ¶
func (m *MockMetaAlarmEventProcessor) ProcessAxeRpc(arg0 context.Context, arg1 rpc.AxeEvent, arg2 rpc.AxeResultEvent) error
ProcessAxeRpc mocks base method.
type MockMetaAlarmEventProcessorMockRecorder ¶
type MockMetaAlarmEventProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaAlarmEventProcessorMockRecorder is the mock recorder for MockMetaAlarmEventProcessor.
func (*MockMetaAlarmEventProcessorMockRecorder) AttachChildrenToMetaAlarm ¶
func (mr *MockMetaAlarmEventProcessorMockRecorder) AttachChildrenToMetaAlarm(arg0, arg1 interface{}) *gomock.Call
AttachChildrenToMetaAlarm indicates an expected call of AttachChildrenToMetaAlarm.
func (*MockMetaAlarmEventProcessorMockRecorder) CreateMetaAlarm ¶
func (mr *MockMetaAlarmEventProcessorMockRecorder) CreateMetaAlarm(arg0, arg1 interface{}) *gomock.Call
CreateMetaAlarm indicates an expected call of CreateMetaAlarm.
func (*MockMetaAlarmEventProcessorMockRecorder) DetachChildrenFromMetaAlarm ¶
func (mr *MockMetaAlarmEventProcessorMockRecorder) DetachChildrenFromMetaAlarm(arg0, arg1 interface{}) *gomock.Call
DetachChildrenFromMetaAlarm indicates an expected call of DetachChildrenFromMetaAlarm.
func (*MockMetaAlarmEventProcessorMockRecorder) ProcessAxeRpc ¶
func (mr *MockMetaAlarmEventProcessorMockRecorder) ProcessAxeRpc(arg0, arg1, arg2 interface{}) *gomock.Call
ProcessAxeRpc indicates an expected call of ProcessAxeRpc.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) ResolveCancels ¶
func (m *MockService) ResolveCancels(arg0 context.Context, arg1 config.AlarmConfig) ([]types.Alarm, error)
ResolveCancels mocks base method.
func (*MockService) ResolveClosed ¶
ResolveClosed mocks base method.
func (*MockService) ResolveSnoozes ¶
func (m *MockService) ResolveSnoozes(arg0 context.Context, arg1 config.AlarmConfig) ([]types.Alarm, error)
ResolveSnoozes mocks base method.
func (*MockService) UpdateFlappingAlarms ¶
UpdateFlappingAlarms mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) ResolveCancels ¶
func (mr *MockServiceMockRecorder) ResolveCancels(arg0, arg1 interface{}) *gomock.Call
ResolveCancels indicates an expected call of ResolveCancels.
func (*MockServiceMockRecorder) ResolveClosed ¶
func (mr *MockServiceMockRecorder) ResolveClosed(arg0 interface{}) *gomock.Call
ResolveClosed indicates an expected call of ResolveClosed.
func (*MockServiceMockRecorder) ResolveSnoozes ¶
func (mr *MockServiceMockRecorder) ResolveSnoozes(arg0, arg1 interface{}) *gomock.Call
ResolveSnoozes indicates an expected call of ResolveSnoozes.
func (*MockServiceMockRecorder) UpdateFlappingAlarms ¶
func (mr *MockServiceMockRecorder) UpdateFlappingAlarms(arg0 interface{}) *gomock.Call
UpdateFlappingAlarms indicates an expected call of UpdateFlappingAlarms.