Documentation ¶
Overview ¶
Package mock_plugin is a generated GoMock package.
Index ¶
- type Mockstore
- func (m *Mockstore) AddFilterResult(namespace, podName, nodeName, pluginName, reason string)
- func (m *Mockstore) AddNormalizedScoreResult(namespace, podName, nodeName, pluginName string, normalizedscore int64)
- func (m *Mockstore) AddScoreResult(namespace, podName, nodeName, pluginName string, score int64)
- func (m *Mockstore) EXPECT() *MockstoreMockRecorder
- type MockstoreMockRecorder
- func (mr *MockstoreMockRecorder) AddFilterResult(namespace, podName, nodeName, pluginName, reason interface{}) *gomock.Call
- func (mr *MockstoreMockRecorder) AddNormalizedScoreResult(namespace, podName, nodeName, pluginName, normalizedscore interface{}) *gomock.Call
- func (mr *MockstoreMockRecorder) AddScoreResult(namespace, podName, nodeName, pluginName, score interface{}) *gomock.Call
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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.