mock_extender

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_extender is a generated GoMock package.

Package mock_extender is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExtender

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

MockExtender is a mock of Extender interface.

func NewMockExtender

func NewMockExtender(ctrl *gomock.Controller) *MockExtender

NewMockExtender creates a new mock instance.

func (*MockExtender) Bind

Bind mocks base method.

func (*MockExtender) EXPECT

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

func (*MockExtender) Filter

Filter mocks base method.

func (*MockExtender) Name

func (m *MockExtender) Name() string

Name mocks base method.

func (*MockExtender) Preempt

Preempt mocks base method.

func (*MockExtender) Prioritize

func (m *MockExtender) Prioritize(arg0 v1.ExtenderArgs) (*v1.HostPriorityList, error)

Prioritize mocks base method.

type MockExtenderMockRecorder

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

MockExtenderMockRecorder is the mock recorder for MockExtender.

func (*MockExtenderMockRecorder) Bind

func (mr *MockExtenderMockRecorder) Bind(arg0 interface{}) *gomock.Call

Bind indicates an expected call of Bind.

func (*MockExtenderMockRecorder) Filter

func (mr *MockExtenderMockRecorder) Filter(arg0 interface{}) *gomock.Call

Filter indicates an expected call of Filter.

func (*MockExtenderMockRecorder) Name

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

Name indicates an expected call of Name.

func (*MockExtenderMockRecorder) Preempt

func (mr *MockExtenderMockRecorder) Preempt(arg0 interface{}) *gomock.Call

Preempt indicates an expected call of Preempt.

func (*MockExtenderMockRecorder) Prioritize

func (mr *MockExtenderMockRecorder) Prioritize(arg0 interface{}) *gomock.Call

Prioritize indicates an expected call of Prioritize.

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

func (m *MockStore) AddBindResult(args v10.ExtenderBindingArgs, result v10.ExtenderBindingResult, hostName string)

AddBindResult mocks base method.

func (*MockStore) AddFilterResult

func (m *MockStore) AddFilterResult(args v10.ExtenderArgs, result v10.ExtenderFilterResult, hostName string)

AddFilterResult mocks base method.

func (*MockStore) AddPreemptResult

func (m *MockStore) AddPreemptResult(args v10.ExtenderPreemptionArgs, result v10.ExtenderPreemptionResult, hostName string)

AddPreemptResult mocks base method.

func (*MockStore) AddPrioritizeResult

func (m *MockStore) AddPrioritizeResult(args v10.ExtenderArgs, result v10.HostPriorityList, hostName string)

AddPrioritizeResult mocks base method.

func (*MockStore) DeleteData

func (m *MockStore) DeleteData(pod v1.Pod)

DeleteData mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetStoredResult

func (m *MockStore) GetStoredResult(pod *v1.Pod) map[string]string

GetStoredResult mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddBindResult

func (mr *MockStoreMockRecorder) AddBindResult(args, result, hostName interface{}) *gomock.Call

AddBindResult indicates an expected call of AddBindResult.

func (*MockStoreMockRecorder) AddFilterResult

func (mr *MockStoreMockRecorder) AddFilterResult(args, result, hostName interface{}) *gomock.Call

AddFilterResult indicates an expected call of AddFilterResult.

func (*MockStoreMockRecorder) AddPreemptResult

func (mr *MockStoreMockRecorder) AddPreemptResult(args, result, hostName interface{}) *gomock.Call

AddPreemptResult indicates an expected call of AddPreemptResult.

func (*MockStoreMockRecorder) AddPrioritizeResult

func (mr *MockStoreMockRecorder) AddPrioritizeResult(args, result, hostName interface{}) *gomock.Call

AddPrioritizeResult indicates an expected call of AddPrioritizeResult.

func (*MockStoreMockRecorder) DeleteData

func (mr *MockStoreMockRecorder) DeleteData(pod interface{}) *gomock.Call

DeleteData indicates an expected call of DeleteData.

func (*MockStoreMockRecorder) GetStoredResult

func (mr *MockStoreMockRecorder) GetStoredResult(pod interface{}) *gomock.Call

GetStoredResult indicates an expected call of GetStoredResult.

Jump to

Keyboard shortcuts

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