pluginmock

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package pluginmock is a generated GoMock package.

Package pluginmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPlugin

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

MockPlugin is a mock of Plugin interface.

func NewMockPlugin

func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin

NewMockPlugin creates a new mock instance.

func (*MockPlugin) Activate

func (m *MockPlugin) Activate(arg0 context.Context) error

Activate mocks base method.

func (*MockPlugin) Deactivate

func (m *MockPlugin) Deactivate(arg0 context.Context) error

Deactivate mocks base method.

func (*MockPlugin) EXPECT

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

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

func (*MockPlugin) ElectionKey

func (m *MockPlugin) ElectionKey(arg0 context.Context) string

ElectionKey mocks base method.

func (*MockPlugin) Ensure

func (m *MockPlugin) Ensure(arg0 context.Context) error

Ensure mocks base method.

type MockPluginMockRecorder

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

MockPluginMockRecorder is the mock recorder for MockPlugin.

func (*MockPluginMockRecorder) Activate

func (mr *MockPluginMockRecorder) Activate(arg0 interface{}) *gomock.Call

Activate indicates an expected call of Activate.

func (*MockPluginMockRecorder) Deactivate

func (mr *MockPluginMockRecorder) Deactivate(arg0 interface{}) *gomock.Call

Deactivate indicates an expected call of Deactivate.

func (*MockPluginMockRecorder) ElectionKey

func (mr *MockPluginMockRecorder) ElectionKey(arg0 interface{}) *gomock.Call

ElectionKey indicates an expected call of ElectionKey.

func (*MockPluginMockRecorder) Ensure

func (mr *MockPluginMockRecorder) Ensure(arg0 interface{}) *gomock.Call

Ensure indicates an expected call of Ensure.

type MockRegistry

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

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) Create

func (m *MockRegistry) Create(arg0 context.Context, arg1 models.Endpoint) (plugin.Plugin, error)

Create mocks base method.

func (*MockRegistry) EXPECT

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

func (*MockRegistry) Mutate

func (m *MockRegistry) Mutate(arg0 context.Context, arg1 models.Endpoint) (json.RawMessage, error)

Mutate mocks base method.

func (*MockRegistry) Register

func (m *MockRegistry) Register(arg0 context.Context, arg1 string, arg2 plugin.Factory)

Register mocks base method.

func (*MockRegistry) Validate

func (m *MockRegistry) Validate(arg0 context.Context, arg1 models.Endpoint) error

Validate mocks base method.

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Create

func (mr *MockRegistryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRegistryMockRecorder) Mutate

func (mr *MockRegistryMockRecorder) Mutate(arg0, arg1 interface{}) *gomock.Call

Mutate indicates an expected call of Mutate.

func (*MockRegistryMockRecorder) Register

func (mr *MockRegistryMockRecorder) Register(arg0, arg1, arg2 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockRegistryMockRecorder) Validate

func (mr *MockRegistryMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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