mock_plugin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_plugin is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockstore

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

Mockstore is a mock of store interface.

func NewMockstore

func NewMockstore(ctrl *gomock.Controller) *Mockstore

NewMockstore creates a new mock instance.

func (*Mockstore) AddFilterResult

func (m *Mockstore) AddFilterResult(namespace, podName, nodeName, pluginName, reason string)

AddFilterResult mocks base method.

func (*Mockstore) AddNormalizedScoreResult

func (m *Mockstore) AddNormalizedScoreResult(namespace, podName, nodeName, pluginName string, normalizedscore int64)

AddNormalizedScoreResult mocks base method.

func (*Mockstore) AddScoreResult

func (m *Mockstore) AddScoreResult(namespace, podName, nodeName, pluginName string, score int64)

AddScoreResult mocks base method.

func (*Mockstore) EXPECT

func (m *Mockstore) EXPECT() *MockstoreMockRecorder

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

type MockstoreMockRecorder

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

MockstoreMockRecorder is the mock recorder for Mockstore.

func (*MockstoreMockRecorder) AddFilterResult

func (mr *MockstoreMockRecorder) AddFilterResult(namespace, podName, nodeName, pluginName, reason interface{}) *gomock.Call

AddFilterResult indicates an expected call of AddFilterResult.

func (*MockstoreMockRecorder) AddNormalizedScoreResult

func (mr *MockstoreMockRecorder) AddNormalizedScoreResult(namespace, podName, nodeName, pluginName, normalizedscore interface{}) *gomock.Call

AddNormalizedScoreResult indicates an expected call of AddNormalizedScoreResult.

func (*MockstoreMockRecorder) AddScoreResult

func (mr *MockstoreMockRecorder) AddScoreResult(namespace, podName, nodeName, pluginName, score interface{}) *gomock.Call

AddScoreResult indicates an expected call of AddScoreResult.

Jump to

Keyboard shortcuts

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