mock

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) ApplicationContext

func (m *MockFactory) ApplicationContext() context0.ApplicationContext

ApplicationContext mocks base method.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) GetLog

func (m *MockFactory) GetLog() log.Logger

GetLog mocks base method.

func (*MockFactory) NewCompletion

func (m *MockFactory) NewCompletion(cmd *cobra.Command, args []string) plugin.Completion

NewCompletion mocks base method.

func (*MockFactory) NewConfigLoader

func (m *MockFactory) NewConfigLoader() config.Config

NewConfigLoader mocks base method.

func (*MockFactory) NewPipelineManager

func (m *MockFactory) NewPipelineManager() pipeline.Pipelines

NewPipelineManager mocks base method.

func (*MockFactory) NewPluginManager

func (m *MockFactory) NewPluginManager() plugin.Plugins

NewPluginManager mocks base method.

func (*MockFactory) NewProcessManager

func (m *MockFactory) NewProcessManager() processor.Processor

NewProcessManager mocks base method.

func (*MockFactory) SetContextWithValue

func (m *MockFactory) SetContextWithValue(ctx context.Context, key, value any)

SetContextWithValue mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) ApplicationContext

func (mr *MockFactoryMockRecorder) ApplicationContext() *gomock.Call

ApplicationContext indicates an expected call of ApplicationContext.

func (*MockFactoryMockRecorder) GetLog

func (mr *MockFactoryMockRecorder) GetLog() *gomock.Call

GetLog indicates an expected call of GetLog.

func (*MockFactoryMockRecorder) NewCompletion

func (mr *MockFactoryMockRecorder) NewCompletion(cmd, args interface{}) *gomock.Call

NewCompletion indicates an expected call of NewCompletion.

func (*MockFactoryMockRecorder) NewConfigLoader

func (mr *MockFactoryMockRecorder) NewConfigLoader() *gomock.Call

NewConfigLoader indicates an expected call of NewConfigLoader.

func (*MockFactoryMockRecorder) NewPipelineManager

func (mr *MockFactoryMockRecorder) NewPipelineManager() *gomock.Call

NewPipelineManager indicates an expected call of NewPipelineManager.

func (*MockFactoryMockRecorder) NewPluginManager

func (mr *MockFactoryMockRecorder) NewPluginManager() *gomock.Call

NewPluginManager indicates an expected call of NewPluginManager.

func (*MockFactoryMockRecorder) NewProcessManager

func (mr *MockFactoryMockRecorder) NewProcessManager() *gomock.Call

NewProcessManager indicates an expected call of NewProcessManager.

func (*MockFactoryMockRecorder) SetContextWithValue

func (mr *MockFactoryMockRecorder) SetContextWithValue(ctx, key, value interface{}) *gomock.Call

SetContextWithValue indicates an expected call of SetContextWithValue.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳