func (m *MockRoleEventHandler) DeleteRole(obj *v1.Role) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteRole", obj)
	ret0, _ := ret[0].(error)
	return ret0
}
DeleteRole mocks base method
package mock_controller
import (
	context "context"
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
	controller "github.com/solo-io/skv2/pkg/multicluster/internal/k8s/rbac.authorization.k8s.io/v1/controller"
	v1 "k8s.io/api/rbac/v1"
	predicate "sigs.k8s.io/controller-runtime/pkg/predicate"
)
type MockRoleEventHandler struct {
	ctrl     *gomock.Controller
	recorder *MockRoleEventHandlerMockRecorder
}
type MockRoleEventHandlerMockRecorder struct {
	mock *MockRoleEventHandler
}
func NewMockRoleEventHandler(ctrl *gomock.Controller) *MockRoleEventHandler {
	mock := &MockRoleEventHandler{ctrl: ctrl}
	mock.recorder = &MockRoleEventHandlerMockRecorder{mock}
	return mock
}
func (m *MockRoleEventHandler) EXPECT() *MockRoleEventHandlerMockRecorder {
	return m.recorder
}
func (m *MockRoleEventHandler) CreateRole(obj *v1.Role) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateRole", obj)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockRoleEventHandlerMockRecorder) CreateRole(obj interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateRole", reflect.TypeOf((*MockRoleEventHandler)(nil).CreateRole), obj)
}
func (m *MockRoleEventHandler) UpdateRole(old, new *v1.Role) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateRole", old, new)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockRoleEventHandlerMockRecorder) UpdateRole(old, new interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateRole", reflect.TypeOf((*MockRoleEventHandler)(nil).UpdateRole), old, new)
}