Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCentreonHandler
- func (m *MockCentreonHandler) CreateService(arg0 *centreonhandler.CentreonService) error
- func (m *MockCentreonHandler) CreateServiceGroup(arg0 *centreonhandler.CentreonServiceGroup) error
- func (m *MockCentreonHandler) DeleteService(arg0, arg1 string) error
- func (m *MockCentreonHandler) DeleteServiceGroup(arg0 string) error
- func (m *MockCentreonHandler) DiffService(arg0, arg1 *centreonhandler.CentreonService, arg2 []string) (*centreonhandler.CentreonServiceDiff, error)
- func (m *MockCentreonHandler) DiffServiceGroup(arg0, arg1 *centreonhandler.CentreonServiceGroup, arg2 []string) (*centreonhandler.CentreonServiceGroupDiff, error)
- func (m *MockCentreonHandler) EXPECT() *MockCentreonHandlerMockRecorder
- func (m *MockCentreonHandler) GetService(arg0, arg1 string) (*centreonhandler.CentreonService, error)
- func (m *MockCentreonHandler) GetServiceGroup(arg0 string) (*centreonhandler.CentreonServiceGroup, error)
- func (m *MockCentreonHandler) SetLogger(arg0 *logrus.Entry)
- func (m *MockCentreonHandler) UpdateService(arg0 *centreonhandler.CentreonServiceDiff) error
- func (m *MockCentreonHandler) UpdateServiceGroup(arg0 *centreonhandler.CentreonServiceGroupDiff) error
- type MockCentreonHandlerMockRecorder
- func (mr *MockCentreonHandlerMockRecorder) CreateService(arg0 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) CreateServiceGroup(arg0 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) DeleteServiceGroup(arg0 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) DiffService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) DiffServiceGroup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) GetServiceGroup(arg0 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) SetLogger(arg0 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) UpdateService(arg0 interface{}) *gomock.Call
- func (mr *MockCentreonHandlerMockRecorder) UpdateServiceGroup(arg0 interface{}) *gomock.Call
- type MockCentreonService
- type MockCentreonServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCentreonHandler ¶
type MockCentreonHandler struct {
// contains filtered or unexported fields
}
MockCentreonHandler is a mock of CentreonHandler interface.
func NewMockCentreonHandler ¶
func NewMockCentreonHandler(ctrl *gomock.Controller) *MockCentreonHandler
NewMockCentreonHandler creates a new mock instance.
func (*MockCentreonHandler) CreateService ¶
func (m *MockCentreonHandler) CreateService(arg0 *centreonhandler.CentreonService) error
CreateService mocks base method.
func (*MockCentreonHandler) CreateServiceGroup ¶
func (m *MockCentreonHandler) CreateServiceGroup(arg0 *centreonhandler.CentreonServiceGroup) error
CreateServiceGroup mocks base method.
func (*MockCentreonHandler) DeleteService ¶
func (m *MockCentreonHandler) DeleteService(arg0, arg1 string) error
DeleteService mocks base method.
func (*MockCentreonHandler) DeleteServiceGroup ¶
func (m *MockCentreonHandler) DeleteServiceGroup(arg0 string) error
DeleteServiceGroup mocks base method.
func (*MockCentreonHandler) DiffService ¶
func (m *MockCentreonHandler) DiffService(arg0, arg1 *centreonhandler.CentreonService, arg2 []string) (*centreonhandler.CentreonServiceDiff, error)
DiffService mocks base method.
func (*MockCentreonHandler) DiffServiceGroup ¶
func (m *MockCentreonHandler) DiffServiceGroup(arg0, arg1 *centreonhandler.CentreonServiceGroup, arg2 []string) (*centreonhandler.CentreonServiceGroupDiff, error)
DiffServiceGroup mocks base method.
func (*MockCentreonHandler) EXPECT ¶
func (m *MockCentreonHandler) EXPECT() *MockCentreonHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCentreonHandler) GetService ¶
func (m *MockCentreonHandler) GetService(arg0, arg1 string) (*centreonhandler.CentreonService, error)
GetService mocks base method.
func (*MockCentreonHandler) GetServiceGroup ¶
func (m *MockCentreonHandler) GetServiceGroup(arg0 string) (*centreonhandler.CentreonServiceGroup, error)
GetServiceGroup mocks base method.
func (*MockCentreonHandler) SetLogger ¶
func (m *MockCentreonHandler) SetLogger(arg0 *logrus.Entry)
SetLogger mocks base method.
func (*MockCentreonHandler) UpdateService ¶
func (m *MockCentreonHandler) UpdateService(arg0 *centreonhandler.CentreonServiceDiff) error
UpdateService mocks base method.
func (*MockCentreonHandler) UpdateServiceGroup ¶
func (m *MockCentreonHandler) UpdateServiceGroup(arg0 *centreonhandler.CentreonServiceGroupDiff) error
UpdateServiceGroup mocks base method.
type MockCentreonHandlerMockRecorder ¶
type MockCentreonHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockCentreonHandlerMockRecorder is the mock recorder for MockCentreonHandler.
func (*MockCentreonHandlerMockRecorder) CreateService ¶
func (mr *MockCentreonHandlerMockRecorder) CreateService(arg0 interface{}) *gomock.Call
CreateService indicates an expected call of CreateService.
func (*MockCentreonHandlerMockRecorder) CreateServiceGroup ¶
func (mr *MockCentreonHandlerMockRecorder) CreateServiceGroup(arg0 interface{}) *gomock.Call
CreateServiceGroup indicates an expected call of CreateServiceGroup.
func (*MockCentreonHandlerMockRecorder) DeleteService ¶
func (mr *MockCentreonHandlerMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call
DeleteService indicates an expected call of DeleteService.
func (*MockCentreonHandlerMockRecorder) DeleteServiceGroup ¶
func (mr *MockCentreonHandlerMockRecorder) DeleteServiceGroup(arg0 interface{}) *gomock.Call
DeleteServiceGroup indicates an expected call of DeleteServiceGroup.
func (*MockCentreonHandlerMockRecorder) DiffService ¶
func (mr *MockCentreonHandlerMockRecorder) DiffService(arg0, arg1, arg2 interface{}) *gomock.Call
DiffService indicates an expected call of DiffService.
func (*MockCentreonHandlerMockRecorder) DiffServiceGroup ¶
func (mr *MockCentreonHandlerMockRecorder) DiffServiceGroup(arg0, arg1, arg2 interface{}) *gomock.Call
DiffServiceGroup indicates an expected call of DiffServiceGroup.
func (*MockCentreonHandlerMockRecorder) GetService ¶
func (mr *MockCentreonHandlerMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call
GetService indicates an expected call of GetService.
func (*MockCentreonHandlerMockRecorder) GetServiceGroup ¶
func (mr *MockCentreonHandlerMockRecorder) GetServiceGroup(arg0 interface{}) *gomock.Call
GetServiceGroup indicates an expected call of GetServiceGroup.
func (*MockCentreonHandlerMockRecorder) SetLogger ¶
func (mr *MockCentreonHandlerMockRecorder) SetLogger(arg0 interface{}) *gomock.Call
SetLogger indicates an expected call of SetLogger.
func (*MockCentreonHandlerMockRecorder) UpdateService ¶
func (mr *MockCentreonHandlerMockRecorder) UpdateService(arg0 interface{}) *gomock.Call
UpdateService indicates an expected call of UpdateService.
func (*MockCentreonHandlerMockRecorder) UpdateServiceGroup ¶
func (mr *MockCentreonHandlerMockRecorder) UpdateServiceGroup(arg0 interface{}) *gomock.Call
UpdateServiceGroup indicates an expected call of UpdateServiceGroup.
type MockCentreonService ¶
type MockCentreonService struct {
// contains filtered or unexported fields
}
MockCentreonService is a mock of CentreonService interface.
func NewMockCentreonService ¶
func NewMockCentreonService(ctrl *gomock.Controller) *MockCentreonService
NewMockCentreonService creates a new mock instance.
func (*MockCentreonService) Delete ¶
func (m *MockCentreonService) Delete(arg0 *v1.CentreonService) error
Delete mocks base method.
func (*MockCentreonService) EXPECT ¶
func (m *MockCentreonService) EXPECT() *MockCentreonServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCentreonService) Reconcile ¶
func (m *MockCentreonService) Reconcile(arg0 *v1.CentreonService) (bool, bool, error)
Reconcile mocks base method.
func (*MockCentreonService) SetLogger ¶
func (m *MockCentreonService) SetLogger(arg0 *logrus.Entry)
SetLogger mocks base method.
type MockCentreonServiceMockRecorder ¶
type MockCentreonServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCentreonServiceMockRecorder is the mock recorder for MockCentreonService.
func (*MockCentreonServiceMockRecorder) Delete ¶
func (mr *MockCentreonServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCentreonServiceMockRecorder) Reconcile ¶
func (mr *MockCentreonServiceMockRecorder) Reconcile(arg0 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.
func (*MockCentreonServiceMockRecorder) SetLogger ¶
func (mr *MockCentreonServiceMockRecorder) SetLogger(arg0 interface{}) *gomock.Call
SetLogger indicates an expected call of SetLogger.