Documentation ¶
Overview ¶
Package mock_eventemitter is a generated GoMock package.
Index ¶
- type MockEventDataHandler
- func (m *MockEventDataHandler) CloseHandler()
- func (m *MockEventDataHandler) EXPECT() *MockEventDataHandlerMockRecorder
- func (m *MockEventDataHandler) EmitEvent(eventData eventdata.EventData, failureFunc func(eventdata.EventData, error))
- func (m *MockEventDataHandler) GetActiveStatus() v1.ConditionStatus
- func (m *MockEventDataHandler) SetActiveStatus(status v1.ConditionStatus)
- type MockEventDataHandlerMockRecorder
- func (mr *MockEventDataHandlerMockRecorder) CloseHandler() *gomock.Call
- func (mr *MockEventDataHandlerMockRecorder) EmitEvent(eventData, failureFunc any) *gomock.Call
- func (mr *MockEventDataHandlerMockRecorder) GetActiveStatus() *gomock.Call
- func (mr *MockEventDataHandlerMockRecorder) SetActiveStatus(status any) *gomock.Call
- type MockEventHandler
- func (m *MockEventHandler) DeleteCloudEventSource(cloudEventSource *v1alpha1.CloudEventSource) error
- func (m *MockEventHandler) EXPECT() *MockEventHandlerMockRecorder
- func (m *MockEventHandler) Emit(object runtime.Object, namesapce, eventType string, ...)
- func (m *MockEventHandler) HandleCloudEventSource(ctx context.Context, cloudEventSource *v1alpha1.CloudEventSource) error
- type MockEventHandlerMockRecorder
- func (mr *MockEventHandlerMockRecorder) DeleteCloudEventSource(cloudEventSource any) *gomock.Call
- func (mr *MockEventHandlerMockRecorder) Emit(object, namesapce, eventType, cloudeventType, reason, message any) *gomock.Call
- func (mr *MockEventHandlerMockRecorder) HandleCloudEventSource(ctx, cloudEventSource any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventDataHandler ¶
type MockEventDataHandler struct {
// contains filtered or unexported fields
}
MockEventDataHandler is a mock of EventDataHandler interface.
func NewMockEventDataHandler ¶
func NewMockEventDataHandler(ctrl *gomock.Controller) *MockEventDataHandler
NewMockEventDataHandler creates a new mock instance.
func (*MockEventDataHandler) CloseHandler ¶
func (m *MockEventDataHandler) CloseHandler()
CloseHandler mocks base method.
func (*MockEventDataHandler) EXPECT ¶
func (m *MockEventDataHandler) EXPECT() *MockEventDataHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventDataHandler) EmitEvent ¶
func (m *MockEventDataHandler) EmitEvent(eventData eventdata.EventData, failureFunc func(eventdata.EventData, error))
EmitEvent mocks base method.
func (*MockEventDataHandler) GetActiveStatus ¶
func (m *MockEventDataHandler) GetActiveStatus() v1.ConditionStatus
GetActiveStatus mocks base method.
func (*MockEventDataHandler) SetActiveStatus ¶
func (m *MockEventDataHandler) SetActiveStatus(status v1.ConditionStatus)
SetActiveStatus mocks base method.
type MockEventDataHandlerMockRecorder ¶
type MockEventDataHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockEventDataHandlerMockRecorder is the mock recorder for MockEventDataHandler.
func (*MockEventDataHandlerMockRecorder) CloseHandler ¶
func (mr *MockEventDataHandlerMockRecorder) CloseHandler() *gomock.Call
CloseHandler indicates an expected call of CloseHandler.
func (*MockEventDataHandlerMockRecorder) EmitEvent ¶
func (mr *MockEventDataHandlerMockRecorder) EmitEvent(eventData, failureFunc any) *gomock.Call
EmitEvent indicates an expected call of EmitEvent.
func (*MockEventDataHandlerMockRecorder) GetActiveStatus ¶
func (mr *MockEventDataHandlerMockRecorder) GetActiveStatus() *gomock.Call
GetActiveStatus indicates an expected call of GetActiveStatus.
func (*MockEventDataHandlerMockRecorder) SetActiveStatus ¶
func (mr *MockEventDataHandlerMockRecorder) SetActiveStatus(status any) *gomock.Call
SetActiveStatus indicates an expected call of SetActiveStatus.
type MockEventHandler ¶
type MockEventHandler struct {
// contains filtered or unexported fields
}
MockEventHandler is a mock of EventHandler interface.
func NewMockEventHandler ¶
func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler
NewMockEventHandler creates a new mock instance.
func (*MockEventHandler) DeleteCloudEventSource ¶
func (m *MockEventHandler) DeleteCloudEventSource(cloudEventSource *v1alpha1.CloudEventSource) error
DeleteCloudEventSource mocks base method.
func (*MockEventHandler) EXPECT ¶
func (m *MockEventHandler) EXPECT() *MockEventHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventHandler) Emit ¶
func (m *MockEventHandler) Emit(object runtime.Object, namesapce, eventType string, cloudeventType v1alpha1.CloudEventType, reason, message string)
Emit mocks base method.
func (*MockEventHandler) HandleCloudEventSource ¶
func (m *MockEventHandler) HandleCloudEventSource(ctx context.Context, cloudEventSource *v1alpha1.CloudEventSource) error
HandleCloudEventSource mocks base method.
type MockEventHandlerMockRecorder ¶
type MockEventHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockEventHandlerMockRecorder is the mock recorder for MockEventHandler.
func (*MockEventHandlerMockRecorder) DeleteCloudEventSource ¶
func (mr *MockEventHandlerMockRecorder) DeleteCloudEventSource(cloudEventSource any) *gomock.Call
DeleteCloudEventSource indicates an expected call of DeleteCloudEventSource.
func (*MockEventHandlerMockRecorder) Emit ¶
func (mr *MockEventHandlerMockRecorder) Emit(object, namesapce, eventType, cloudeventType, reason, message any) *gomock.Call
Emit indicates an expected call of Emit.
func (*MockEventHandlerMockRecorder) HandleCloudEventSource ¶
func (mr *MockEventHandlerMockRecorder) HandleCloudEventSource(ctx, cloudEventSource any) *gomock.Call
HandleCloudEventSource indicates an expected call of HandleCloudEventSource.