mock_eventemitter

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_eventemitter is a generated GoMock package.

Index

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEventHandler) Emit

func (m *MockEventHandler) Emit(object runtime.Object, namesapce types.NamespacedName, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL