// Code generated by MockGen. DO NOT EDIT.
// Source: git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/entitycounters (interfaces: EventsSender)
//
// Generated by this command:
//
//	mockgen -destination=../../../mocks/lib/canopsis/entitycounters/sender.go git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/entitycounters EventsSender
//

// Package mock_entitycounters is a generated GoMock package.
package mock_entitycounters

import (
	context "context"
	reflect "reflect"

	entitycounters "git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/entitycounters"
	gomock "go.uber.org/mock/gomock"
)

// MockEventsSender is a mock of EventsSender interface.
type MockEventsSender struct {
	ctrl     *gomock.Controller
	recorder *MockEventsSenderMockRecorder
	isgomock struct{}
}

// MockEventsSenderMockRecorder is the mock recorder for MockEventsSender.
type MockEventsSenderMockRecorder struct {
	mock *MockEventsSender
}

// NewMockEventsSender creates a new mock instance.
func NewMockEventsSender(ctrl *gomock.Controller) *MockEventsSender {
	mock := &MockEventsSender{ctrl: ctrl}
	mock.recorder = &MockEventsSenderMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockEventsSender) EXPECT() *MockEventsSenderMockRecorder {
	return m.recorder
}

// RecomputeComponent mocks base method.
func (m *MockEventsSender) RecomputeComponent(ctx context.Context, componentID string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RecomputeComponent", ctx, componentID)
	ret0, _ := ret[0].(error)
	return ret0
}

// RecomputeComponent indicates an expected call of RecomputeComponent.
func (mr *MockEventsSenderMockRecorder) RecomputeComponent(ctx, componentID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecomputeComponent", reflect.TypeOf((*MockEventsSender)(nil).RecomputeComponent), ctx, componentID)
}

// RecomputeService mocks base method.
func (m *MockEventsSender) RecomputeService(ctx context.Context, serviceID string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RecomputeService", ctx, serviceID)
	ret0, _ := ret[0].(error)
	return ret0
}

// RecomputeService indicates an expected call of RecomputeService.
func (mr *MockEventsSenderMockRecorder) RecomputeService(ctx, serviceID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecomputeService", reflect.TypeOf((*MockEventsSender)(nil).RecomputeService), ctx, serviceID)
}

// UpdateComponentState mocks base method.
func (m *MockEventsSender) UpdateComponentState(ctx context.Context, id string, state int) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateComponentState", ctx, id, state)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateComponentState indicates an expected call of UpdateComponentState.
func (mr *MockEventsSenderMockRecorder) UpdateComponentState(ctx, id, state any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateComponentState", reflect.TypeOf((*MockEventsSender)(nil).UpdateComponentState), ctx, id, state)
}

// UpdateServiceState mocks base method.
func (m *MockEventsSender) UpdateServiceState(ctx context.Context, serviceID string, serviceInfo entitycounters.UpdatedServicesInfo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateServiceState", ctx, serviceID, serviceInfo)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateServiceState indicates an expected call of UpdateServiceState.
func (mr *MockEventsSenderMockRecorder) UpdateServiceState(ctx, serviceID, serviceInfo any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateServiceState", reflect.TypeOf((*MockEventsSender)(nil).UpdateServiceState), ctx, serviceID, serviceInfo)
}
