Documentation ¶
Overview ¶
Package mock_metrics is a generated GoMock package.
Index ¶
- type MockSender
- func (m *MockSender) EXPECT() *MockSenderMockRecorder
- func (m *MockSender) Run(arg0 context.Context)
- func (m *MockSender) SendAck(arg0 types.Alarm, arg1 string, arg2 time.Time)
- func (m *MockSender) SendAutoInstructionAssignForInstructions(arg0 []string, arg1 time.Time)
- func (m *MockSender) SendAutoInstructionExecutionForInstruction(arg0 string, arg1 time.Time)
- func (m *MockSender) SendAutoInstructionExecutionStart(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendCancelAck(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendCorrelation(arg0 time.Time, arg1 types.Alarm)
- func (m *MockSender) SendCreate(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendCreateAndPbhEnter(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendEventMetrics(arg0 types.Alarm, arg1 types.Entity, arg2 types.AlarmChange, arg3 time.Time, ...)
- func (m *MockSender) SendInstructionAssignForAlarm(arg0 string, arg1 time.Time)
- func (m *MockSender) SendInstructionAssignForAlarms(arg0 []string, arg1 time.Time)
- func (m *MockSender) SendInstructionAssignForInstruction(arg0 string, arg1 time.Time, arg2 int64)
- func (m *MockSender) SendInstructionAssignForInstructions(arg0 []string, arg1 time.Time)
- func (m *MockSender) SendInstructionExecutionForAlarm(arg0 string, arg1 time.Time)
- func (m *MockSender) SendInstructionExecutionForInstruction(arg0 string, arg1 time.Time)
- func (m *MockSender) SendMessageRate(arg0 time.Time, arg1, arg2 string)
- func (m *MockSender) SendNotAckedInDayDec(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendNotAckedInDayInc(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendNotAckedInFourHoursDec(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendNotAckedInFourHoursInc(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendNotAckedInHourDec(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendNotAckedInHourInc(arg0 types.Alarm, arg1 time.Time)
- func (m *MockSender) SendPbhEnter(arg0 types.Alarm, arg1 types.Entity)
- func (m *MockSender) SendPbhLeave(arg0 types.Entity, arg1 time.Time, arg2 string, arg3 time.Time)
- func (m *MockSender) SendPbhLeaveAndEnter(arg0 types.Alarm, arg1 types.Entity, arg2 string, arg3 time.Time)
- func (m *MockSender) SendPerfData(arg0 time.Time, arg1, arg2 string, arg3 float64, arg4 string)
- func (m *MockSender) SendRemoveNotAckedMetric(arg0 types.Alarm, arg1 time.Time, arg2 string)
- func (m *MockSender) SendResolve(arg0 types.Alarm, arg1 types.Entity, arg2 time.Time)
- func (m *MockSender) SendSliMetric(arg0 time.Time, arg1 types.Alarm, arg2 types.Entity)
- func (m *MockSender) SendTicket(arg0 types.Alarm, arg1 string, arg2 time.Time)
- func (m *MockSender) SendUpdateState(arg0 types.Alarm, arg1 types.Entity, arg2 types.CpsNumber)
- func (m *MockSender) SendUserActivity(arg0 time.Time, arg1 string, arg2 int64)
- type MockSenderMockRecorder
- func (mr *MockSenderMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendAck(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendAutoInstructionAssignForInstructions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendAutoInstructionExecutionForInstruction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendAutoInstructionExecutionStart(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendCancelAck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendCorrelation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendCreateAndPbhEnter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendEventMetrics(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendInstructionAssignForAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendInstructionAssignForAlarms(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendInstructionAssignForInstruction(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendInstructionAssignForInstructions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendInstructionExecutionForAlarm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendInstructionExecutionForInstruction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendMessageRate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendNotAckedInDayDec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendNotAckedInDayInc(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendNotAckedInFourHoursDec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendNotAckedInFourHoursInc(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendNotAckedInHourDec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendNotAckedInHourInc(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendPbhEnter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendPbhLeave(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendPbhLeaveAndEnter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendPerfData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendRemoveNotAckedMetric(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendResolve(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendSliMetric(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendTicket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendUpdateState(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSenderMockRecorder) SendUserActivity(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSender ¶
type MockSender struct {
// contains filtered or unexported fields
}
MockSender is a mock of Sender interface.
func NewMockSender ¶
func NewMockSender(ctrl *gomock.Controller) *MockSender
NewMockSender creates a new mock instance.
func (*MockSender) EXPECT ¶
func (m *MockSender) EXPECT() *MockSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSender) SendAck ¶
SendAck mocks base method.
func (*MockSender) SendAutoInstructionAssignForInstructions ¶
func (m *MockSender) SendAutoInstructionAssignForInstructions(arg0 []string, arg1 time.Time)
SendAutoInstructionAssignForInstructions mocks base method.
func (*MockSender) SendAutoInstructionExecutionForInstruction ¶
func (m *MockSender) SendAutoInstructionExecutionForInstruction(arg0 string, arg1 time.Time)
SendAutoInstructionExecutionForInstruction mocks base method.
func (*MockSender) SendAutoInstructionExecutionStart ¶
func (m *MockSender) SendAutoInstructionExecutionStart(arg0 types.Alarm, arg1 time.Time)
SendAutoInstructionExecutionStart mocks base method.
func (*MockSender) SendCancelAck ¶
func (m *MockSender) SendCancelAck(arg0 types.Alarm, arg1 time.Time)
SendCancelAck mocks base method.
func (*MockSender) SendCorrelation ¶
func (m *MockSender) SendCorrelation(arg0 time.Time, arg1 types.Alarm)
SendCorrelation mocks base method.
func (*MockSender) SendCreate ¶
func (m *MockSender) SendCreate(arg0 types.Alarm, arg1 time.Time)
SendCreate mocks base method.
func (*MockSender) SendCreateAndPbhEnter ¶
func (m *MockSender) SendCreateAndPbhEnter(arg0 types.Alarm, arg1 time.Time)
SendCreateAndPbhEnter mocks base method.
func (*MockSender) SendEventMetrics ¶
func (m *MockSender) SendEventMetrics(arg0 types.Alarm, arg1 types.Entity, arg2 types.AlarmChange, arg3 time.Time, arg4, arg5, arg6, arg7 string)
SendEventMetrics mocks base method.
func (*MockSender) SendInstructionAssignForAlarm ¶
func (m *MockSender) SendInstructionAssignForAlarm(arg0 string, arg1 time.Time)
SendInstructionAssignForAlarm mocks base method.
func (*MockSender) SendInstructionAssignForAlarms ¶
func (m *MockSender) SendInstructionAssignForAlarms(arg0 []string, arg1 time.Time)
SendInstructionAssignForAlarms mocks base method.
func (*MockSender) SendInstructionAssignForInstruction ¶
func (m *MockSender) SendInstructionAssignForInstruction(arg0 string, arg1 time.Time, arg2 int64)
SendInstructionAssignForInstruction mocks base method.
func (*MockSender) SendInstructionAssignForInstructions ¶
func (m *MockSender) SendInstructionAssignForInstructions(arg0 []string, arg1 time.Time)
SendInstructionAssignForInstructions mocks base method.
func (*MockSender) SendInstructionExecutionForAlarm ¶
func (m *MockSender) SendInstructionExecutionForAlarm(arg0 string, arg1 time.Time)
SendInstructionExecutionForAlarm mocks base method.
func (*MockSender) SendInstructionExecutionForInstruction ¶
func (m *MockSender) SendInstructionExecutionForInstruction(arg0 string, arg1 time.Time)
SendInstructionExecutionForInstruction mocks base method.
func (*MockSender) SendMessageRate ¶
func (m *MockSender) SendMessageRate(arg0 time.Time, arg1, arg2 string)
SendMessageRate mocks base method.
func (*MockSender) SendNotAckedInDayDec ¶
func (m *MockSender) SendNotAckedInDayDec(arg0 types.Alarm, arg1 time.Time)
SendNotAckedInDayDec mocks base method.
func (*MockSender) SendNotAckedInDayInc ¶
func (m *MockSender) SendNotAckedInDayInc(arg0 types.Alarm, arg1 time.Time)
SendNotAckedInDayInc mocks base method.
func (*MockSender) SendNotAckedInFourHoursDec ¶
func (m *MockSender) SendNotAckedInFourHoursDec(arg0 types.Alarm, arg1 time.Time)
SendNotAckedInFourHoursDec mocks base method.
func (*MockSender) SendNotAckedInFourHoursInc ¶
func (m *MockSender) SendNotAckedInFourHoursInc(arg0 types.Alarm, arg1 time.Time)
SendNotAckedInFourHoursInc mocks base method.
func (*MockSender) SendNotAckedInHourDec ¶
func (m *MockSender) SendNotAckedInHourDec(arg0 types.Alarm, arg1 time.Time)
SendNotAckedInHourDec mocks base method.
func (*MockSender) SendNotAckedInHourInc ¶
func (m *MockSender) SendNotAckedInHourInc(arg0 types.Alarm, arg1 time.Time)
SendNotAckedInHourInc mocks base method.
func (*MockSender) SendPbhEnter ¶
func (m *MockSender) SendPbhEnter(arg0 types.Alarm, arg1 types.Entity)
SendPbhEnter mocks base method.
func (*MockSender) SendPbhLeave ¶
SendPbhLeave mocks base method.
func (*MockSender) SendPbhLeaveAndEnter ¶
func (m *MockSender) SendPbhLeaveAndEnter(arg0 types.Alarm, arg1 types.Entity, arg2 string, arg3 time.Time)
SendPbhLeaveAndEnter mocks base method.
func (*MockSender) SendPerfData ¶
SendPerfData mocks base method.
func (*MockSender) SendRemoveNotAckedMetric ¶
SendRemoveNotAckedMetric mocks base method.
func (*MockSender) SendResolve ¶
SendResolve mocks base method.
func (*MockSender) SendSliMetric ¶
SendSliMetric mocks base method.
func (*MockSender) SendTicket ¶
SendTicket mocks base method.
func (*MockSender) SendUpdateState ¶
SendUpdateState mocks base method.
type MockSenderMockRecorder ¶
type MockSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockSenderMockRecorder is the mock recorder for MockSender.
func (*MockSenderMockRecorder) Run ¶
func (mr *MockSenderMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockSenderMockRecorder) SendAck ¶
func (mr *MockSenderMockRecorder) SendAck(arg0, arg1, arg2 interface{}) *gomock.Call
SendAck indicates an expected call of SendAck.
func (*MockSenderMockRecorder) SendAutoInstructionAssignForInstructions ¶
func (mr *MockSenderMockRecorder) SendAutoInstructionAssignForInstructions(arg0, arg1 interface{}) *gomock.Call
SendAutoInstructionAssignForInstructions indicates an expected call of SendAutoInstructionAssignForInstructions.
func (*MockSenderMockRecorder) SendAutoInstructionExecutionForInstruction ¶
func (mr *MockSenderMockRecorder) SendAutoInstructionExecutionForInstruction(arg0, arg1 interface{}) *gomock.Call
SendAutoInstructionExecutionForInstruction indicates an expected call of SendAutoInstructionExecutionForInstruction.
func (*MockSenderMockRecorder) SendAutoInstructionExecutionStart ¶
func (mr *MockSenderMockRecorder) SendAutoInstructionExecutionStart(arg0, arg1 interface{}) *gomock.Call
SendAutoInstructionExecutionStart indicates an expected call of SendAutoInstructionExecutionStart.
func (*MockSenderMockRecorder) SendCancelAck ¶
func (mr *MockSenderMockRecorder) SendCancelAck(arg0, arg1 interface{}) *gomock.Call
SendCancelAck indicates an expected call of SendCancelAck.
func (*MockSenderMockRecorder) SendCorrelation ¶
func (mr *MockSenderMockRecorder) SendCorrelation(arg0, arg1 interface{}) *gomock.Call
SendCorrelation indicates an expected call of SendCorrelation.
func (*MockSenderMockRecorder) SendCreate ¶
func (mr *MockSenderMockRecorder) SendCreate(arg0, arg1 interface{}) *gomock.Call
SendCreate indicates an expected call of SendCreate.
func (*MockSenderMockRecorder) SendCreateAndPbhEnter ¶
func (mr *MockSenderMockRecorder) SendCreateAndPbhEnter(arg0, arg1 interface{}) *gomock.Call
SendCreateAndPbhEnter indicates an expected call of SendCreateAndPbhEnter.
func (*MockSenderMockRecorder) SendEventMetrics ¶
func (mr *MockSenderMockRecorder) SendEventMetrics(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
SendEventMetrics indicates an expected call of SendEventMetrics.
func (*MockSenderMockRecorder) SendInstructionAssignForAlarm ¶
func (mr *MockSenderMockRecorder) SendInstructionAssignForAlarm(arg0, arg1 interface{}) *gomock.Call
SendInstructionAssignForAlarm indicates an expected call of SendInstructionAssignForAlarm.
func (*MockSenderMockRecorder) SendInstructionAssignForAlarms ¶
func (mr *MockSenderMockRecorder) SendInstructionAssignForAlarms(arg0, arg1 interface{}) *gomock.Call
SendInstructionAssignForAlarms indicates an expected call of SendInstructionAssignForAlarms.
func (*MockSenderMockRecorder) SendInstructionAssignForInstruction ¶
func (mr *MockSenderMockRecorder) SendInstructionAssignForInstruction(arg0, arg1, arg2 interface{}) *gomock.Call
SendInstructionAssignForInstruction indicates an expected call of SendInstructionAssignForInstruction.
func (*MockSenderMockRecorder) SendInstructionAssignForInstructions ¶
func (mr *MockSenderMockRecorder) SendInstructionAssignForInstructions(arg0, arg1 interface{}) *gomock.Call
SendInstructionAssignForInstructions indicates an expected call of SendInstructionAssignForInstructions.
func (*MockSenderMockRecorder) SendInstructionExecutionForAlarm ¶
func (mr *MockSenderMockRecorder) SendInstructionExecutionForAlarm(arg0, arg1 interface{}) *gomock.Call
SendInstructionExecutionForAlarm indicates an expected call of SendInstructionExecutionForAlarm.
func (*MockSenderMockRecorder) SendInstructionExecutionForInstruction ¶
func (mr *MockSenderMockRecorder) SendInstructionExecutionForInstruction(arg0, arg1 interface{}) *gomock.Call
SendInstructionExecutionForInstruction indicates an expected call of SendInstructionExecutionForInstruction.
func (*MockSenderMockRecorder) SendMessageRate ¶
func (mr *MockSenderMockRecorder) SendMessageRate(arg0, arg1, arg2 interface{}) *gomock.Call
SendMessageRate indicates an expected call of SendMessageRate.
func (*MockSenderMockRecorder) SendNotAckedInDayDec ¶
func (mr *MockSenderMockRecorder) SendNotAckedInDayDec(arg0, arg1 interface{}) *gomock.Call
SendNotAckedInDayDec indicates an expected call of SendNotAckedInDayDec.
func (*MockSenderMockRecorder) SendNotAckedInDayInc ¶
func (mr *MockSenderMockRecorder) SendNotAckedInDayInc(arg0, arg1 interface{}) *gomock.Call
SendNotAckedInDayInc indicates an expected call of SendNotAckedInDayInc.
func (*MockSenderMockRecorder) SendNotAckedInFourHoursDec ¶
func (mr *MockSenderMockRecorder) SendNotAckedInFourHoursDec(arg0, arg1 interface{}) *gomock.Call
SendNotAckedInFourHoursDec indicates an expected call of SendNotAckedInFourHoursDec.
func (*MockSenderMockRecorder) SendNotAckedInFourHoursInc ¶
func (mr *MockSenderMockRecorder) SendNotAckedInFourHoursInc(arg0, arg1 interface{}) *gomock.Call
SendNotAckedInFourHoursInc indicates an expected call of SendNotAckedInFourHoursInc.
func (*MockSenderMockRecorder) SendNotAckedInHourDec ¶
func (mr *MockSenderMockRecorder) SendNotAckedInHourDec(arg0, arg1 interface{}) *gomock.Call
SendNotAckedInHourDec indicates an expected call of SendNotAckedInHourDec.
func (*MockSenderMockRecorder) SendNotAckedInHourInc ¶
func (mr *MockSenderMockRecorder) SendNotAckedInHourInc(arg0, arg1 interface{}) *gomock.Call
SendNotAckedInHourInc indicates an expected call of SendNotAckedInHourInc.
func (*MockSenderMockRecorder) SendPbhEnter ¶
func (mr *MockSenderMockRecorder) SendPbhEnter(arg0, arg1 interface{}) *gomock.Call
SendPbhEnter indicates an expected call of SendPbhEnter.
func (*MockSenderMockRecorder) SendPbhLeave ¶
func (mr *MockSenderMockRecorder) SendPbhLeave(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendPbhLeave indicates an expected call of SendPbhLeave.
func (*MockSenderMockRecorder) SendPbhLeaveAndEnter ¶
func (mr *MockSenderMockRecorder) SendPbhLeaveAndEnter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendPbhLeaveAndEnter indicates an expected call of SendPbhLeaveAndEnter.
func (*MockSenderMockRecorder) SendPerfData ¶
func (mr *MockSenderMockRecorder) SendPerfData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SendPerfData indicates an expected call of SendPerfData.
func (*MockSenderMockRecorder) SendRemoveNotAckedMetric ¶
func (mr *MockSenderMockRecorder) SendRemoveNotAckedMetric(arg0, arg1, arg2 interface{}) *gomock.Call
SendRemoveNotAckedMetric indicates an expected call of SendRemoveNotAckedMetric.
func (*MockSenderMockRecorder) SendResolve ¶
func (mr *MockSenderMockRecorder) SendResolve(arg0, arg1, arg2 interface{}) *gomock.Call
SendResolve indicates an expected call of SendResolve.
func (*MockSenderMockRecorder) SendSliMetric ¶
func (mr *MockSenderMockRecorder) SendSliMetric(arg0, arg1, arg2 interface{}) *gomock.Call
SendSliMetric indicates an expected call of SendSliMetric.
func (*MockSenderMockRecorder) SendTicket ¶
func (mr *MockSenderMockRecorder) SendTicket(arg0, arg1, arg2 interface{}) *gomock.Call
SendTicket indicates an expected call of SendTicket.
func (*MockSenderMockRecorder) SendUpdateState ¶
func (mr *MockSenderMockRecorder) SendUpdateState(arg0, arg1, arg2 interface{}) *gomock.Call
SendUpdateState indicates an expected call of SendUpdateState.
func (*MockSenderMockRecorder) SendUserActivity ¶
func (mr *MockSenderMockRecorder) SendUserActivity(arg0, arg1, arg2 interface{}) *gomock.Call
SendUserActivity indicates an expected call of SendUserActivity.