Documentation ¶
Overview ¶
Package mock_extender is a generated GoMock package.
Package mock_extender is a generated GoMock package.
Index ¶
- type MockExtender
- func (m *MockExtender) Bind(arg0 v1.ExtenderBindingArgs) (*v1.ExtenderBindingResult, error)
- func (m *MockExtender) EXPECT() *MockExtenderMockRecorder
- func (m *MockExtender) Filter(arg0 v1.ExtenderArgs) (*v1.ExtenderFilterResult, error)
- func (m *MockExtender) Name() string
- func (m *MockExtender) Preempt(arg0 v1.ExtenderPreemptionArgs) (*v1.ExtenderPreemptionResult, error)
- func (m *MockExtender) Prioritize(arg0 v1.ExtenderArgs) (*v1.HostPriorityList, error)
- type MockExtenderMockRecorder
- func (mr *MockExtenderMockRecorder) Bind(arg0 interface{}) *gomock.Call
- func (mr *MockExtenderMockRecorder) Filter(arg0 interface{}) *gomock.Call
- func (mr *MockExtenderMockRecorder) Name() *gomock.Call
- func (mr *MockExtenderMockRecorder) Preempt(arg0 interface{}) *gomock.Call
- func (mr *MockExtenderMockRecorder) Prioritize(arg0 interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) AddBindResult(args v10.ExtenderBindingArgs, result v10.ExtenderBindingResult, ...)
- func (m *MockStore) AddFilterResult(args v10.ExtenderArgs, result v10.ExtenderFilterResult, hostName string)
- func (m *MockStore) AddPreemptResult(args v10.ExtenderPreemptionArgs, result v10.ExtenderPreemptionResult, ...)
- func (m *MockStore) AddPrioritizeResult(args v10.ExtenderArgs, result v10.HostPriorityList, hostName string)
- func (m *MockStore) DeleteData(pod v1.Pod)
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetStoredResult(pod *v1.Pod) map[string]string
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddBindResult(args, result, hostName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddFilterResult(args, result, hostName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPreemptResult(args, result, hostName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPrioritizeResult(args, result, hostName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteData(pod interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetStoredResult(pod interface{}) *gomock.Call
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 ¶
func (m *MockExtender) Bind(arg0 v1.ExtenderBindingArgs) (*v1.ExtenderBindingResult, error)
Bind mocks base method.
func (*MockExtender) EXPECT ¶
func (m *MockExtender) EXPECT() *MockExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtender) Filter ¶
func (m *MockExtender) Filter(arg0 v1.ExtenderArgs) (*v1.ExtenderFilterResult, error)
Filter mocks base method.
func (*MockExtender) Preempt ¶
func (m *MockExtender) Preempt(arg0 v1.ExtenderPreemptionArgs) (*v1.ExtenderPreemptionResult, error)
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 ¶
DeleteData 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) 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.