mock_eventhandler

package
v1.5.0-alpha13 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_system is a generated GoMock package.

Package mock_eventhandler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContextProvider

type MockContextProvider struct {
	// contains filtered or unexported fields
}

MockContextProvider is a mock of ContextProvider interface.

func NewMockContextProvider

func NewMockContextProvider(ctrl *gomock.Controller) *MockContextProvider

NewMockContextProvider creates a new mock instance.

func (*MockContextProvider) EXPECT

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

func (*MockContextProvider) GetContext

func (m *MockContextProvider) GetContext(ctx context.Context, jobID string) context.Context

GetContext mocks base method.

type MockContextProviderMockRecorder

type MockContextProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockContextProviderMockRecorder is the mock recorder for MockContextProvider.

func (*MockContextProviderMockRecorder) GetContext

func (mr *MockContextProviderMockRecorder) GetContext(ctx, jobID interface{}) *gomock.Call

GetContext indicates an expected call of GetContext.

type MockJobEventHandler

type MockJobEventHandler struct {
	// contains filtered or unexported fields
}

MockJobEventHandler is a mock of JobEventHandler interface.

func NewMockJobEventHandler

func NewMockJobEventHandler(ctrl *gomock.Controller) *MockJobEventHandler

NewMockJobEventHandler creates a new mock instance.

func (*MockJobEventHandler) EXPECT

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

func (*MockJobEventHandler) HandleJobEvent

func (m *MockJobEventHandler) HandleJobEvent(ctx context.Context, event models.JobEvent) error

HandleJobEvent mocks base method.

type MockJobEventHandlerMockRecorder

type MockJobEventHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockJobEventHandlerMockRecorder is the mock recorder for MockJobEventHandler.

func (*MockJobEventHandlerMockRecorder) HandleJobEvent

func (mr *MockJobEventHandlerMockRecorder) HandleJobEvent(ctx, event any) *gomock.Call

HandleJobEvent indicates an expected call of HandleJobEvent.

Jump to

Keyboard shortcuts

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