testing

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFilterPlugin

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

MockFilterPlugin is a mock of FilterPlugin interface.

func NewMockFilterPlugin

func NewMockFilterPlugin(ctrl *gomock.Controller) *MockFilterPlugin

NewMockFilterPlugin creates a new mock instance.

func (*MockFilterPlugin) EXPECT

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

func (*MockFilterPlugin) Filter

Filter mocks base method.

func (*MockFilterPlugin) Name

func (m *MockFilterPlugin) Name() string

Name mocks base method.

type MockFilterPluginMockRecorder

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

MockFilterPluginMockRecorder is the mock recorder for MockFilterPlugin.

func (*MockFilterPluginMockRecorder) Filter

func (mr *MockFilterPluginMockRecorder) Filter(ctx, bindingSpec, bindingStatus, cluster any) *gomock.Call

Filter indicates an expected call of Filter.

func (*MockFilterPluginMockRecorder) Name

Name indicates an expected call of Name.

type MockFramework

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

MockFramework is a mock of Framework interface.

func NewMockFramework

func NewMockFramework(ctrl *gomock.Controller) *MockFramework

NewMockFramework creates a new mock instance.

func (*MockFramework) EXPECT

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

func (*MockFramework) RunFilterPlugins

func (m *MockFramework) RunFilterPlugins(ctx context.Context, bindingSpec *v1alpha2.ResourceBindingSpec, bindingStatus *v1alpha2.ResourceBindingStatus, cluster *v1alpha1.Cluster) *framework.Result

RunFilterPlugins mocks base method.

func (*MockFramework) RunScorePlugins

RunScorePlugins mocks base method.

type MockFrameworkMockRecorder

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

MockFrameworkMockRecorder is the mock recorder for MockFramework.

func (*MockFrameworkMockRecorder) RunFilterPlugins

func (mr *MockFrameworkMockRecorder) RunFilterPlugins(ctx, bindingSpec, bindingStatus, cluster any) *gomock.Call

RunFilterPlugins indicates an expected call of RunFilterPlugins.

func (*MockFrameworkMockRecorder) RunScorePlugins

func (mr *MockFrameworkMockRecorder) RunScorePlugins(ctx, spec, clusters any) *gomock.Call

RunScorePlugins indicates an expected call of RunScorePlugins.

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) Name

func (m *MockPlugin) Name() string

Name mocks base method.

type MockPluginMockRecorder

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

MockPluginMockRecorder is the mock recorder for MockPlugin.

func (*MockPluginMockRecorder) Name

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

Name indicates an expected call of Name.

type MockScoreExtensions

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

MockScoreExtensions is a mock of ScoreExtensions interface.

func NewMockScoreExtensions

func NewMockScoreExtensions(ctrl *gomock.Controller) *MockScoreExtensions

NewMockScoreExtensions creates a new mock instance.

func (*MockScoreExtensions) EXPECT

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

func (*MockScoreExtensions) NormalizeScore

NormalizeScore mocks base method.

type MockScoreExtensionsMockRecorder

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

MockScoreExtensionsMockRecorder is the mock recorder for MockScoreExtensions.

func (*MockScoreExtensionsMockRecorder) NormalizeScore

func (mr *MockScoreExtensionsMockRecorder) NormalizeScore(ctx, scores any) *gomock.Call

NormalizeScore indicates an expected call of NormalizeScore.

type MockScorePlugin

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

MockScorePlugin is a mock of ScorePlugin interface.

func NewMockScorePlugin

func NewMockScorePlugin(ctrl *gomock.Controller) *MockScorePlugin

NewMockScorePlugin creates a new mock instance.

func (*MockScorePlugin) EXPECT

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

func (*MockScorePlugin) Name

func (m *MockScorePlugin) Name() string

Name mocks base method.

func (*MockScorePlugin) Score

Score mocks base method.

func (*MockScorePlugin) ScoreExtensions

func (m *MockScorePlugin) ScoreExtensions() framework.ScoreExtensions

ScoreExtensions mocks base method.

type MockScorePluginMockRecorder

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

MockScorePluginMockRecorder is the mock recorder for MockScorePlugin.

func (*MockScorePluginMockRecorder) Name

Name indicates an expected call of Name.

func (*MockScorePluginMockRecorder) Score

func (mr *MockScorePluginMockRecorder) Score(ctx, spec, cluster any) *gomock.Call

Score indicates an expected call of Score.

func (*MockScorePluginMockRecorder) ScoreExtensions

func (mr *MockScorePluginMockRecorder) ScoreExtensions() *gomock.Call

ScoreExtensions indicates an expected call of ScoreExtensions.

Jump to

Keyboard shortcuts

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