mock_plugins

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_plugins 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) EXPECT

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

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

func (*MockPlugin) Mutate

func (m *MockPlugin) Mutate(arg0 *v1.Pod) error

Mutate mocks base method.

func (*MockPlugin) Name

func (m *MockPlugin) Name() string

Name mocks base method.

func (*MockPlugin) PostBind

func (m *MockPlugin) PostBind(ctx context.Context, pod *v1.Pod, node *v1.Node, bindRequest *v1alpha2.BindRequest, state *state.BindingState)

PostBind mocks base method.

func (*MockPlugin) PreBind

func (m *MockPlugin) PreBind(ctx context.Context, pod *v1.Pod, node *v1.Node, bindRequest *v1alpha2.BindRequest, state *state.BindingState) error

PreBind mocks base method.

func (*MockPlugin) Validate

func (m *MockPlugin) Validate(arg0 *v1.Pod) error

Validate mocks base method.

type MockPluginMockRecorder

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

MockPluginMockRecorder is the mock recorder for MockPlugin.

func (*MockPluginMockRecorder) Mutate

func (mr *MockPluginMockRecorder) Mutate(arg0 any) *gomock.Call

Mutate indicates an expected call of Mutate.

func (*MockPluginMockRecorder) Name

func (mr *MockPluginMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockPluginMockRecorder) PostBind

func (mr *MockPluginMockRecorder) PostBind(ctx, pod, node, bindRequest, state any) *gomock.Call

PostBind indicates an expected call of PostBind.

func (*MockPluginMockRecorder) PreBind

func (mr *MockPluginMockRecorder) PreBind(ctx, pod, node, bindRequest, state any) *gomock.Call

PreBind indicates an expected call of PreBind.

func (*MockPluginMockRecorder) Validate

func (mr *MockPluginMockRecorder) Validate(arg0 any) *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