Documentation ¶
Overview ¶
Package plugin is a generated GoMock package.
Package plugin is a generated GoMock package.
Index ¶
- type MockBindPlugin
- type MockBindPluginExtender
- func (m *MockBindPluginExtender) AfterBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, ...) *framework.Status
- func (m *MockBindPluginExtender) BeforeBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
- func (m *MockBindPluginExtender) EXPECT() *MockBindPluginExtenderMockRecorder
- type MockBindPluginExtenderMockRecorder
- type MockBindPluginMockRecorder
- type MockFilterPlugin
- type MockFilterPluginExtender
- func (m *MockFilterPluginExtender) AfterFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) *framework.Status
- func (m *MockFilterPluginExtender) BeforeFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) *framework.Status
- func (m *MockFilterPluginExtender) EXPECT() *MockFilterPluginExtenderMockRecorder
- type MockFilterPluginExtenderMockRecorder
- type MockFilterPluginMockRecorder
- type MockNormalizeScorePluginExtender
- func (m *MockNormalizeScorePluginExtender) AfterNormalizeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) *framework.Status
- func (m *MockNormalizeScorePluginExtender) BeforeNormalizeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) *framework.Status
- func (m *MockNormalizeScorePluginExtender) EXPECT() *MockNormalizeScorePluginExtenderMockRecorder
- type MockNormalizeScorePluginExtenderMockRecorder
- type MockPermitPlugin
- type MockPermitPluginExtender
- func (m *MockPermitPluginExtender) AfterPermit(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, ...) (*framework.Status, time.Duration)
- func (m *MockPermitPluginExtender) BeforePermit(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) (*framework.Status, time.Duration)
- func (m *MockPermitPluginExtender) EXPECT() *MockPermitPluginExtenderMockRecorder
- type MockPermitPluginExtenderMockRecorder
- type MockPermitPluginMockRecorder
- type MockPostBindPlugin
- type MockPostBindPluginExtender
- func (m *MockPostBindPluginExtender) AfterPostBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
- func (m *MockPostBindPluginExtender) BeforePostBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
- func (m *MockPostBindPluginExtender) EXPECT() *MockPostBindPluginExtenderMockRecorder
- type MockPostBindPluginExtenderMockRecorder
- type MockPostBindPluginMockRecorder
- type MockPostFilterPlugin
- type MockPostFilterPluginExtender
- func (m *MockPostFilterPluginExtender) AfterPostFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) (*framework.PostFilterResult, *framework.Status)
- func (m *MockPostFilterPluginExtender) BeforePostFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) (*framework.PostFilterResult, *framework.Status)
- func (m *MockPostFilterPluginExtender) EXPECT() *MockPostFilterPluginExtenderMockRecorder
- type MockPostFilterPluginExtenderMockRecorder
- type MockPostFilterPluginMockRecorder
- type MockPreBindPlugin
- type MockPreBindPluginExtender
- func (m *MockPreBindPluginExtender) AfterPreBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, ...) *framework.Status
- func (m *MockPreBindPluginExtender) BeforePreBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
- func (m *MockPreBindPluginExtender) EXPECT() *MockPreBindPluginExtenderMockRecorder
- type MockPreBindPluginExtenderMockRecorder
- type MockPreBindPluginMockRecorder
- type MockPreFilterPlugin
- func (m *MockPreFilterPlugin) EXPECT() *MockPreFilterPluginMockRecorder
- func (m *MockPreFilterPlugin) Name() string
- func (m *MockPreFilterPlugin) PreFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod) (*framework.PreFilterResult, *framework.Status)
- func (m *MockPreFilterPlugin) PreFilterExtensions() framework.PreFilterExtensions
- type MockPreFilterPluginExtender
- func (m *MockPreFilterPluginExtender) AfterPreFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) (*framework.PreFilterResult, *framework.Status)
- func (m *MockPreFilterPluginExtender) BeforePreFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod) (*framework.PreFilterResult, *framework.Status)
- func (m *MockPreFilterPluginExtender) EXPECT() *MockPreFilterPluginExtenderMockRecorder
- type MockPreFilterPluginExtenderMockRecorder
- type MockPreFilterPluginMockRecorder
- type MockPreScorePlugin
- type MockPreScorePluginExtender
- func (m *MockPreScorePluginExtender) AfterPreScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) *framework.Status
- func (m *MockPreScorePluginExtender) BeforePreScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, ...) *framework.Status
- func (m *MockPreScorePluginExtender) EXPECT() *MockPreScorePluginExtenderMockRecorder
- type MockPreScorePluginExtenderMockRecorder
- type MockPreScorePluginMockRecorder
- type MockReservePlugin
- func (m *MockReservePlugin) EXPECT() *MockReservePluginMockRecorder
- func (m *MockReservePlugin) Name() string
- func (m *MockReservePlugin) Reserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
- func (m *MockReservePlugin) Unreserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
- type MockReservePluginExtender
- func (m *MockReservePluginExtender) AfterReserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, ...) *framework.Status
- func (m *MockReservePluginExtender) AfterUnreserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
- func (m *MockReservePluginExtender) BeforeReserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
- func (m *MockReservePluginExtender) BeforeUnreserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
- func (m *MockReservePluginExtender) EXPECT() *MockReservePluginExtenderMockRecorder
- type MockReservePluginExtenderMockRecorder
- func (mr *MockReservePluginExtenderMockRecorder) AfterReserve(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockReservePluginExtenderMockRecorder) AfterUnreserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockReservePluginExtenderMockRecorder) BeforeReserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockReservePluginExtenderMockRecorder) BeforeUnreserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockReservePluginMockRecorder
- type MockScoreExtensions
- type MockScoreExtensionsMockRecorder
- type MockScorePlugin
- func (m *MockScorePlugin) EXPECT() *MockScorePluginMockRecorder
- func (m *MockScorePlugin) Name() string
- func (m *MockScorePlugin) Score(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) (int64, *framework.Status)
- func (m *MockScorePlugin) ScoreExtensions() framework.ScoreExtensions
- type MockScorePluginExtender
- func (m *MockScorePluginExtender) AfterScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, ...) (int64, *framework.Status)
- func (m *MockScorePluginExtender) BeforeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) (int64, *framework.Status)
- func (m *MockScorePluginExtender) EXPECT() *MockScorePluginExtenderMockRecorder
- type MockScorePluginExtenderMockRecorder
- type MockScorePluginMockRecorder
- type MockStore
- func (m *MockStore) AddBindResult(arg0, arg1, arg2, arg3 string)
- func (m *MockStore) AddCustomResult(arg0, arg1, arg2, arg3 string)
- func (m *MockStore) AddFilterResult(arg0, arg1, arg2, arg3, arg4 string)
- func (m *MockStore) AddNormalizedScoreResult(arg0, arg1, arg2, arg3 string, arg4 int64)
- func (m *MockStore) AddPermitResult(arg0, arg1, arg2, arg3 string, arg4 time.Duration)
- func (m *MockStore) AddPostFilterResult(arg0, arg1, arg2, arg3 string, arg4 []string)
- func (m *MockStore) AddPreBindResult(arg0, arg1, arg2, arg3 string)
- func (m *MockStore) AddPreFilterResult(arg0, arg1, arg2, arg3 string, arg4 *framework.PreFilterResult)
- func (m *MockStore) AddPreScoreResult(arg0, arg1, arg2, arg3 string)
- func (m *MockStore) AddReserveResult(arg0, arg1, arg2, arg3 string)
- func (m *MockStore) AddScoreResult(arg0, arg1, arg2, arg3 string, arg4 int64)
- func (m *MockStore) AddSelectedNode(arg0, arg1, arg2 string)
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddBindResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddCustomResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddFilterResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddNormalizedScoreResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPermitResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPostFilterResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPreBindResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPreFilterResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPreScoreResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddReserveResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddScoreResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddSelectedNode(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBindPlugin ¶
type MockBindPlugin struct {
// contains filtered or unexported fields
}
MockBindPlugin is a mock of BindPlugin interface.
func NewMockBindPlugin ¶
func NewMockBindPlugin(ctrl *gomock.Controller) *MockBindPlugin
NewMockBindPlugin creates a new mock instance.
func (*MockBindPlugin) Bind ¶
func (m *MockBindPlugin) Bind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
Bind mocks base method.
func (*MockBindPlugin) EXPECT ¶
func (m *MockBindPlugin) EXPECT() *MockBindPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBindPluginExtender ¶
type MockBindPluginExtender struct {
// contains filtered or unexported fields
}
MockBindPluginExtender is a mock of BindPluginExtender interface.
func NewMockBindPluginExtender ¶
func NewMockBindPluginExtender(ctrl *gomock.Controller) *MockBindPluginExtender
NewMockBindPluginExtender creates a new mock instance.
func (*MockBindPluginExtender) AfterBind ¶
func (m *MockBindPluginExtender) AfterBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, arg4 *framework.Status) *framework.Status
AfterBind mocks base method.
func (*MockBindPluginExtender) BeforeBind ¶
func (m *MockBindPluginExtender) BeforeBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
BeforeBind mocks base method.
func (*MockBindPluginExtender) EXPECT ¶
func (m *MockBindPluginExtender) EXPECT() *MockBindPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBindPluginExtenderMockRecorder ¶
type MockBindPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockBindPluginExtenderMockRecorder is the mock recorder for MockBindPluginExtender.
func (*MockBindPluginExtenderMockRecorder) AfterBind ¶
func (mr *MockBindPluginExtenderMockRecorder) AfterBind(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterBind indicates an expected call of AfterBind.
func (*MockBindPluginExtenderMockRecorder) BeforeBind ¶
func (mr *MockBindPluginExtenderMockRecorder) BeforeBind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforeBind indicates an expected call of BeforeBind.
type MockBindPluginMockRecorder ¶
type MockBindPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockBindPluginMockRecorder is the mock recorder for MockBindPlugin.
func (*MockBindPluginMockRecorder) Bind ¶
func (mr *MockBindPluginMockRecorder) Bind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockBindPluginMockRecorder) Name ¶
func (mr *MockBindPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
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 ¶
func (m *MockFilterPlugin) EXPECT() *MockFilterPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFilterPluginExtender ¶
type MockFilterPluginExtender struct {
// contains filtered or unexported fields
}
MockFilterPluginExtender is a mock of FilterPluginExtender interface.
func NewMockFilterPluginExtender ¶
func NewMockFilterPluginExtender(ctrl *gomock.Controller) *MockFilterPluginExtender
NewMockFilterPluginExtender creates a new mock instance.
func (*MockFilterPluginExtender) AfterFilter ¶
func (m *MockFilterPluginExtender) AfterFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 *framework.NodeInfo, arg4 *framework.Status) *framework.Status
AfterFilter mocks base method.
func (*MockFilterPluginExtender) BeforeFilter ¶
func (m *MockFilterPluginExtender) BeforeFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 *framework.NodeInfo) *framework.Status
BeforeFilter mocks base method.
func (*MockFilterPluginExtender) EXPECT ¶
func (m *MockFilterPluginExtender) EXPECT() *MockFilterPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFilterPluginExtenderMockRecorder ¶
type MockFilterPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockFilterPluginExtenderMockRecorder is the mock recorder for MockFilterPluginExtender.
func (*MockFilterPluginExtenderMockRecorder) AfterFilter ¶
func (mr *MockFilterPluginExtenderMockRecorder) AfterFilter(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterFilter indicates an expected call of AfterFilter.
func (*MockFilterPluginExtenderMockRecorder) BeforeFilter ¶
func (mr *MockFilterPluginExtenderMockRecorder) BeforeFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforeFilter indicates an expected call of BeforeFilter.
type MockFilterPluginMockRecorder ¶
type MockFilterPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockFilterPluginMockRecorder is the mock recorder for MockFilterPlugin.
func (*MockFilterPluginMockRecorder) Filter ¶
func (mr *MockFilterPluginMockRecorder) Filter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Filter indicates an expected call of Filter.
func (*MockFilterPluginMockRecorder) Name ¶
func (mr *MockFilterPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockNormalizeScorePluginExtender ¶
type MockNormalizeScorePluginExtender struct {
// contains filtered or unexported fields
}
MockNormalizeScorePluginExtender is a mock of NormalizeScorePluginExtender interface.
func NewMockNormalizeScorePluginExtender ¶
func NewMockNormalizeScorePluginExtender(ctrl *gomock.Controller) *MockNormalizeScorePluginExtender
NewMockNormalizeScorePluginExtender creates a new mock instance.
func (*MockNormalizeScorePluginExtender) AfterNormalizeScore ¶
func (m *MockNormalizeScorePluginExtender) AfterNormalizeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 framework.NodeScoreList, arg4 *framework.Status) *framework.Status
AfterNormalizeScore mocks base method.
func (*MockNormalizeScorePluginExtender) BeforeNormalizeScore ¶
func (m *MockNormalizeScorePluginExtender) BeforeNormalizeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 framework.NodeScoreList) *framework.Status
BeforeNormalizeScore mocks base method.
func (*MockNormalizeScorePluginExtender) EXPECT ¶
func (m *MockNormalizeScorePluginExtender) EXPECT() *MockNormalizeScorePluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNormalizeScorePluginExtenderMockRecorder ¶
type MockNormalizeScorePluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockNormalizeScorePluginExtenderMockRecorder is the mock recorder for MockNormalizeScorePluginExtender.
func (*MockNormalizeScorePluginExtenderMockRecorder) AfterNormalizeScore ¶
func (mr *MockNormalizeScorePluginExtenderMockRecorder) AfterNormalizeScore(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterNormalizeScore indicates an expected call of AfterNormalizeScore.
func (*MockNormalizeScorePluginExtenderMockRecorder) BeforeNormalizeScore ¶
func (mr *MockNormalizeScorePluginExtenderMockRecorder) BeforeNormalizeScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforeNormalizeScore indicates an expected call of BeforeNormalizeScore.
type MockPermitPlugin ¶
type MockPermitPlugin struct {
// contains filtered or unexported fields
}
MockPermitPlugin is a mock of PermitPlugin interface.
func NewMockPermitPlugin ¶
func NewMockPermitPlugin(ctrl *gomock.Controller) *MockPermitPlugin
NewMockPermitPlugin creates a new mock instance.
func (*MockPermitPlugin) EXPECT ¶
func (m *MockPermitPlugin) EXPECT() *MockPermitPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPermitPluginExtender ¶
type MockPermitPluginExtender struct {
// contains filtered or unexported fields
}
MockPermitPluginExtender is a mock of PermitPluginExtender interface.
func NewMockPermitPluginExtender ¶
func NewMockPermitPluginExtender(ctrl *gomock.Controller) *MockPermitPluginExtender
NewMockPermitPluginExtender creates a new mock instance.
func (*MockPermitPluginExtender) AfterPermit ¶
func (m *MockPermitPluginExtender) AfterPermit(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, arg4 *framework.Status, arg5 time.Duration) (*framework.Status, time.Duration)
AfterPermit mocks base method.
func (*MockPermitPluginExtender) BeforePermit ¶
func (m *MockPermitPluginExtender) BeforePermit(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) (*framework.Status, time.Duration)
BeforePermit mocks base method.
func (*MockPermitPluginExtender) EXPECT ¶
func (m *MockPermitPluginExtender) EXPECT() *MockPermitPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPermitPluginExtenderMockRecorder ¶
type MockPermitPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockPermitPluginExtenderMockRecorder is the mock recorder for MockPermitPluginExtender.
func (*MockPermitPluginExtenderMockRecorder) AfterPermit ¶
func (mr *MockPermitPluginExtenderMockRecorder) AfterPermit(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
AfterPermit indicates an expected call of AfterPermit.
func (*MockPermitPluginExtenderMockRecorder) BeforePermit ¶
func (mr *MockPermitPluginExtenderMockRecorder) BeforePermit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforePermit indicates an expected call of BeforePermit.
type MockPermitPluginMockRecorder ¶
type MockPermitPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPermitPluginMockRecorder is the mock recorder for MockPermitPlugin.
func (*MockPermitPluginMockRecorder) Name ¶
func (mr *MockPermitPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPermitPluginMockRecorder) Permit ¶
func (mr *MockPermitPluginMockRecorder) Permit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Permit indicates an expected call of Permit.
type MockPostBindPlugin ¶
type MockPostBindPlugin struct {
// contains filtered or unexported fields
}
MockPostBindPlugin is a mock of PostBindPlugin interface.
func NewMockPostBindPlugin ¶
func NewMockPostBindPlugin(ctrl *gomock.Controller) *MockPostBindPlugin
NewMockPostBindPlugin creates a new mock instance.
func (*MockPostBindPlugin) EXPECT ¶
func (m *MockPostBindPlugin) EXPECT() *MockPostBindPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostBindPlugin) Name ¶
func (m *MockPostBindPlugin) Name() string
Name mocks base method.
func (*MockPostBindPlugin) PostBind ¶
func (m *MockPostBindPlugin) PostBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
PostBind mocks base method.
type MockPostBindPluginExtender ¶
type MockPostBindPluginExtender struct {
// contains filtered or unexported fields
}
MockPostBindPluginExtender is a mock of PostBindPluginExtender interface.
func NewMockPostBindPluginExtender ¶
func NewMockPostBindPluginExtender(ctrl *gomock.Controller) *MockPostBindPluginExtender
NewMockPostBindPluginExtender creates a new mock instance.
func (*MockPostBindPluginExtender) AfterPostBind ¶
func (m *MockPostBindPluginExtender) AfterPostBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
AfterPostBind mocks base method.
func (*MockPostBindPluginExtender) BeforePostBind ¶
func (m *MockPostBindPluginExtender) BeforePostBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
BeforePostBind mocks base method.
func (*MockPostBindPluginExtender) EXPECT ¶
func (m *MockPostBindPluginExtender) EXPECT() *MockPostBindPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPostBindPluginExtenderMockRecorder ¶
type MockPostBindPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockPostBindPluginExtenderMockRecorder is the mock recorder for MockPostBindPluginExtender.
func (*MockPostBindPluginExtenderMockRecorder) AfterPostBind ¶
func (mr *MockPostBindPluginExtenderMockRecorder) AfterPostBind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AfterPostBind indicates an expected call of AfterPostBind.
func (*MockPostBindPluginExtenderMockRecorder) BeforePostBind ¶
func (mr *MockPostBindPluginExtenderMockRecorder) BeforePostBind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforePostBind indicates an expected call of BeforePostBind.
type MockPostBindPluginMockRecorder ¶
type MockPostBindPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPostBindPluginMockRecorder is the mock recorder for MockPostBindPlugin.
func (*MockPostBindPluginMockRecorder) Name ¶
func (mr *MockPostBindPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPostBindPluginMockRecorder) PostBind ¶
func (mr *MockPostBindPluginMockRecorder) PostBind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PostBind indicates an expected call of PostBind.
type MockPostFilterPlugin ¶
type MockPostFilterPlugin struct {
// contains filtered or unexported fields
}
MockPostFilterPlugin is a mock of PostFilterPlugin interface.
func NewMockPostFilterPlugin ¶
func NewMockPostFilterPlugin(ctrl *gomock.Controller) *MockPostFilterPlugin
NewMockPostFilterPlugin creates a new mock instance.
func (*MockPostFilterPlugin) EXPECT ¶
func (m *MockPostFilterPlugin) EXPECT() *MockPostFilterPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostFilterPlugin) Name ¶
func (m *MockPostFilterPlugin) Name() string
Name mocks base method.
func (*MockPostFilterPlugin) PostFilter ¶
func (m *MockPostFilterPlugin) PostFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 framework.NodeToStatusMap) (*framework.PostFilterResult, *framework.Status)
PostFilter mocks base method.
type MockPostFilterPluginExtender ¶
type MockPostFilterPluginExtender struct {
// contains filtered or unexported fields
}
MockPostFilterPluginExtender is a mock of PostFilterPluginExtender interface.
func NewMockPostFilterPluginExtender ¶
func NewMockPostFilterPluginExtender(ctrl *gomock.Controller) *MockPostFilterPluginExtender
NewMockPostFilterPluginExtender creates a new mock instance.
func (*MockPostFilterPluginExtender) AfterPostFilter ¶
func (m *MockPostFilterPluginExtender) AfterPostFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 framework.NodeToStatusMap, arg4 *framework.PostFilterResult, arg5 *framework.Status) (*framework.PostFilterResult, *framework.Status)
AfterPostFilter mocks base method.
func (*MockPostFilterPluginExtender) BeforePostFilter ¶
func (m *MockPostFilterPluginExtender) BeforePostFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 framework.NodeToStatusMap) (*framework.PostFilterResult, *framework.Status)
BeforePostFilter mocks base method.
func (*MockPostFilterPluginExtender) EXPECT ¶
func (m *MockPostFilterPluginExtender) EXPECT() *MockPostFilterPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPostFilterPluginExtenderMockRecorder ¶
type MockPostFilterPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockPostFilterPluginExtenderMockRecorder is the mock recorder for MockPostFilterPluginExtender.
func (*MockPostFilterPluginExtenderMockRecorder) AfterPostFilter ¶
func (mr *MockPostFilterPluginExtenderMockRecorder) AfterPostFilter(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
AfterPostFilter indicates an expected call of AfterPostFilter.
func (*MockPostFilterPluginExtenderMockRecorder) BeforePostFilter ¶
func (mr *MockPostFilterPluginExtenderMockRecorder) BeforePostFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforePostFilter indicates an expected call of BeforePostFilter.
type MockPostFilterPluginMockRecorder ¶
type MockPostFilterPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPostFilterPluginMockRecorder is the mock recorder for MockPostFilterPlugin.
func (*MockPostFilterPluginMockRecorder) Name ¶
func (mr *MockPostFilterPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPostFilterPluginMockRecorder) PostFilter ¶
func (mr *MockPostFilterPluginMockRecorder) PostFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PostFilter indicates an expected call of PostFilter.
type MockPreBindPlugin ¶
type MockPreBindPlugin struct {
// contains filtered or unexported fields
}
MockPreBindPlugin is a mock of PreBindPlugin interface.
func NewMockPreBindPlugin ¶
func NewMockPreBindPlugin(ctrl *gomock.Controller) *MockPreBindPlugin
NewMockPreBindPlugin creates a new mock instance.
func (*MockPreBindPlugin) EXPECT ¶
func (m *MockPreBindPlugin) EXPECT() *MockPreBindPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPreBindPluginExtender ¶
type MockPreBindPluginExtender struct {
// contains filtered or unexported fields
}
MockPreBindPluginExtender is a mock of PreBindPluginExtender interface.
func NewMockPreBindPluginExtender ¶
func NewMockPreBindPluginExtender(ctrl *gomock.Controller) *MockPreBindPluginExtender
NewMockPreBindPluginExtender creates a new mock instance.
func (*MockPreBindPluginExtender) AfterPreBind ¶
func (m *MockPreBindPluginExtender) AfterPreBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, arg4 *framework.Status) *framework.Status
AfterPreBind mocks base method.
func (*MockPreBindPluginExtender) BeforePreBind ¶
func (m *MockPreBindPluginExtender) BeforePreBind(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
BeforePreBind mocks base method.
func (*MockPreBindPluginExtender) EXPECT ¶
func (m *MockPreBindPluginExtender) EXPECT() *MockPreBindPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPreBindPluginExtenderMockRecorder ¶
type MockPreBindPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockPreBindPluginExtenderMockRecorder is the mock recorder for MockPreBindPluginExtender.
func (*MockPreBindPluginExtenderMockRecorder) AfterPreBind ¶
func (mr *MockPreBindPluginExtenderMockRecorder) AfterPreBind(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterPreBind indicates an expected call of AfterPreBind.
func (*MockPreBindPluginExtenderMockRecorder) BeforePreBind ¶
func (mr *MockPreBindPluginExtenderMockRecorder) BeforePreBind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforePreBind indicates an expected call of BeforePreBind.
type MockPreBindPluginMockRecorder ¶
type MockPreBindPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPreBindPluginMockRecorder is the mock recorder for MockPreBindPlugin.
func (*MockPreBindPluginMockRecorder) Name ¶
func (mr *MockPreBindPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPreBindPluginMockRecorder) PreBind ¶
func (mr *MockPreBindPluginMockRecorder) PreBind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PreBind indicates an expected call of PreBind.
type MockPreFilterPlugin ¶
type MockPreFilterPlugin struct {
// contains filtered or unexported fields
}
MockPreFilterPlugin is a mock of PreFilterPlugin interface.
func NewMockPreFilterPlugin ¶
func NewMockPreFilterPlugin(ctrl *gomock.Controller) *MockPreFilterPlugin
NewMockPreFilterPlugin creates a new mock instance.
func (*MockPreFilterPlugin) EXPECT ¶
func (m *MockPreFilterPlugin) EXPECT() *MockPreFilterPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreFilterPlugin) Name ¶
func (m *MockPreFilterPlugin) Name() string
Name mocks base method.
func (*MockPreFilterPlugin) PreFilter ¶
func (m *MockPreFilterPlugin) PreFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod) (*framework.PreFilterResult, *framework.Status)
PreFilter mocks base method.
func (*MockPreFilterPlugin) PreFilterExtensions ¶
func (m *MockPreFilterPlugin) PreFilterExtensions() framework.PreFilterExtensions
PreFilterExtensions mocks base method.
type MockPreFilterPluginExtender ¶
type MockPreFilterPluginExtender struct {
// contains filtered or unexported fields
}
MockPreFilterPluginExtender is a mock of PreFilterPluginExtender interface.
func NewMockPreFilterPluginExtender ¶
func NewMockPreFilterPluginExtender(ctrl *gomock.Controller) *MockPreFilterPluginExtender
NewMockPreFilterPluginExtender creates a new mock instance.
func (*MockPreFilterPluginExtender) AfterPreFilter ¶
func (m *MockPreFilterPluginExtender) AfterPreFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 *framework.PreFilterResult, arg4 *framework.Status) (*framework.PreFilterResult, *framework.Status)
AfterPreFilter mocks base method.
func (*MockPreFilterPluginExtender) BeforePreFilter ¶
func (m *MockPreFilterPluginExtender) BeforePreFilter(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod) (*framework.PreFilterResult, *framework.Status)
BeforePreFilter mocks base method.
func (*MockPreFilterPluginExtender) EXPECT ¶
func (m *MockPreFilterPluginExtender) EXPECT() *MockPreFilterPluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPreFilterPluginExtenderMockRecorder ¶
type MockPreFilterPluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockPreFilterPluginExtenderMockRecorder is the mock recorder for MockPreFilterPluginExtender.
func (*MockPreFilterPluginExtenderMockRecorder) AfterPreFilter ¶
func (mr *MockPreFilterPluginExtenderMockRecorder) AfterPreFilter(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterPreFilter indicates an expected call of AfterPreFilter.
func (*MockPreFilterPluginExtenderMockRecorder) BeforePreFilter ¶
func (mr *MockPreFilterPluginExtenderMockRecorder) BeforePreFilter(arg0, arg1, arg2 interface{}) *gomock.Call
BeforePreFilter indicates an expected call of BeforePreFilter.
type MockPreFilterPluginMockRecorder ¶
type MockPreFilterPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPreFilterPluginMockRecorder is the mock recorder for MockPreFilterPlugin.
func (*MockPreFilterPluginMockRecorder) Name ¶
func (mr *MockPreFilterPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPreFilterPluginMockRecorder) PreFilter ¶
func (mr *MockPreFilterPluginMockRecorder) PreFilter(arg0, arg1, arg2 interface{}) *gomock.Call
PreFilter indicates an expected call of PreFilter.
func (*MockPreFilterPluginMockRecorder) PreFilterExtensions ¶
func (mr *MockPreFilterPluginMockRecorder) PreFilterExtensions() *gomock.Call
PreFilterExtensions indicates an expected call of PreFilterExtensions.
type MockPreScorePlugin ¶
type MockPreScorePlugin struct {
// contains filtered or unexported fields
}
MockPreScorePlugin is a mock of PreScorePlugin interface.
func NewMockPreScorePlugin ¶
func NewMockPreScorePlugin(ctrl *gomock.Controller) *MockPreScorePlugin
NewMockPreScorePlugin creates a new mock instance.
func (*MockPreScorePlugin) EXPECT ¶
func (m *MockPreScorePlugin) EXPECT() *MockPreScorePluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreScorePlugin) Name ¶
func (m *MockPreScorePlugin) Name() string
Name mocks base method.
type MockPreScorePluginExtender ¶
type MockPreScorePluginExtender struct {
// contains filtered or unexported fields
}
MockPreScorePluginExtender is a mock of PreScorePluginExtender interface.
func NewMockPreScorePluginExtender ¶
func NewMockPreScorePluginExtender(ctrl *gomock.Controller) *MockPreScorePluginExtender
NewMockPreScorePluginExtender creates a new mock instance.
func (*MockPreScorePluginExtender) AfterPreScore ¶
func (m *MockPreScorePluginExtender) AfterPreScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 []*framework.NodeInfo, arg4 *framework.Status) *framework.Status
AfterPreScore mocks base method.
func (*MockPreScorePluginExtender) BeforePreScore ¶
func (m *MockPreScorePluginExtender) BeforePreScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 []*framework.NodeInfo) *framework.Status
BeforePreScore mocks base method.
func (*MockPreScorePluginExtender) EXPECT ¶
func (m *MockPreScorePluginExtender) EXPECT() *MockPreScorePluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPreScorePluginExtenderMockRecorder ¶
type MockPreScorePluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockPreScorePluginExtenderMockRecorder is the mock recorder for MockPreScorePluginExtender.
func (*MockPreScorePluginExtenderMockRecorder) AfterPreScore ¶
func (mr *MockPreScorePluginExtenderMockRecorder) AfterPreScore(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterPreScore indicates an expected call of AfterPreScore.
func (*MockPreScorePluginExtenderMockRecorder) BeforePreScore ¶
func (mr *MockPreScorePluginExtenderMockRecorder) BeforePreScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforePreScore indicates an expected call of BeforePreScore.
type MockPreScorePluginMockRecorder ¶
type MockPreScorePluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPreScorePluginMockRecorder is the mock recorder for MockPreScorePlugin.
func (*MockPreScorePluginMockRecorder) Name ¶
func (mr *MockPreScorePluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPreScorePluginMockRecorder) PreScore ¶
func (mr *MockPreScorePluginMockRecorder) PreScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PreScore indicates an expected call of PreScore.
type MockReservePlugin ¶
type MockReservePlugin struct {
// contains filtered or unexported fields
}
MockReservePlugin is a mock of ReservePlugin interface.
func NewMockReservePlugin ¶
func NewMockReservePlugin(ctrl *gomock.Controller) *MockReservePlugin
NewMockReservePlugin creates a new mock instance.
func (*MockReservePlugin) EXPECT ¶
func (m *MockReservePlugin) EXPECT() *MockReservePluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReservePlugin) Reserve ¶
func (m *MockReservePlugin) Reserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
Reserve mocks base method.
func (*MockReservePlugin) Unreserve ¶
func (m *MockReservePlugin) Unreserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
Unreserve mocks base method.
type MockReservePluginExtender ¶
type MockReservePluginExtender struct {
// contains filtered or unexported fields
}
MockReservePluginExtender is a mock of ReservePluginExtender interface.
func NewMockReservePluginExtender ¶
func NewMockReservePluginExtender(ctrl *gomock.Controller) *MockReservePluginExtender
NewMockReservePluginExtender creates a new mock instance.
func (*MockReservePluginExtender) AfterReserve ¶
func (m *MockReservePluginExtender) AfterReserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, arg4 *framework.Status) *framework.Status
AfterReserve mocks base method.
func (*MockReservePluginExtender) AfterUnreserve ¶
func (m *MockReservePluginExtender) AfterUnreserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string)
AfterUnreserve mocks base method.
func (*MockReservePluginExtender) BeforeReserve ¶
func (m *MockReservePluginExtender) BeforeReserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
BeforeReserve mocks base method.
func (*MockReservePluginExtender) BeforeUnreserve ¶
func (m *MockReservePluginExtender) BeforeUnreserve(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) *framework.Status
BeforeUnreserve mocks base method.
func (*MockReservePluginExtender) EXPECT ¶
func (m *MockReservePluginExtender) EXPECT() *MockReservePluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReservePluginExtenderMockRecorder ¶
type MockReservePluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockReservePluginExtenderMockRecorder is the mock recorder for MockReservePluginExtender.
func (*MockReservePluginExtenderMockRecorder) AfterReserve ¶
func (mr *MockReservePluginExtenderMockRecorder) AfterReserve(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AfterReserve indicates an expected call of AfterReserve.
func (*MockReservePluginExtenderMockRecorder) AfterUnreserve ¶
func (mr *MockReservePluginExtenderMockRecorder) AfterUnreserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AfterUnreserve indicates an expected call of AfterUnreserve.
func (*MockReservePluginExtenderMockRecorder) BeforeReserve ¶
func (mr *MockReservePluginExtenderMockRecorder) BeforeReserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforeReserve indicates an expected call of BeforeReserve.
func (*MockReservePluginExtenderMockRecorder) BeforeUnreserve ¶
func (mr *MockReservePluginExtenderMockRecorder) BeforeUnreserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforeUnreserve indicates an expected call of BeforeUnreserve.
type MockReservePluginMockRecorder ¶
type MockReservePluginMockRecorder struct {
// contains filtered or unexported fields
}
MockReservePluginMockRecorder is the mock recorder for MockReservePlugin.
func (*MockReservePluginMockRecorder) Name ¶
func (mr *MockReservePluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockReservePluginMockRecorder) Reserve ¶
func (mr *MockReservePluginMockRecorder) Reserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Reserve indicates an expected call of Reserve.
func (*MockReservePluginMockRecorder) Unreserve ¶
func (mr *MockReservePluginMockRecorder) Unreserve(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Unreserve indicates an expected call of Unreserve.
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 ¶
func (m *MockScoreExtensions) EXPECT() *MockScoreExtensionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScoreExtensions) NormalizeScore ¶
func (m *MockScoreExtensions) NormalizeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 framework.NodeScoreList) *framework.Status
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(arg0, arg1, arg2, arg3 interface{}) *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 ¶
func (m *MockScorePlugin) EXPECT() *MockScorePluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScorePlugin) Score ¶
func (m *MockScorePlugin) Score(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) (int64, *framework.Status)
Score mocks base method.
func (*MockScorePlugin) ScoreExtensions ¶
func (m *MockScorePlugin) ScoreExtensions() framework.ScoreExtensions
ScoreExtensions mocks base method.
type MockScorePluginExtender ¶
type MockScorePluginExtender struct {
// contains filtered or unexported fields
}
MockScorePluginExtender is a mock of ScorePluginExtender interface.
func NewMockScorePluginExtender ¶
func NewMockScorePluginExtender(ctrl *gomock.Controller) *MockScorePluginExtender
NewMockScorePluginExtender creates a new mock instance.
func (*MockScorePluginExtender) AfterScore ¶
func (m *MockScorePluginExtender) AfterScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string, arg4 int64, arg5 *framework.Status) (int64, *framework.Status)
AfterScore mocks base method.
func (*MockScorePluginExtender) BeforeScore ¶
func (m *MockScorePluginExtender) BeforeScore(arg0 context.Context, arg1 *framework.CycleState, arg2 *v1.Pod, arg3 string) (int64, *framework.Status)
BeforeScore mocks base method.
func (*MockScorePluginExtender) EXPECT ¶
func (m *MockScorePluginExtender) EXPECT() *MockScorePluginExtenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockScorePluginExtenderMockRecorder ¶
type MockScorePluginExtenderMockRecorder struct {
// contains filtered or unexported fields
}
MockScorePluginExtenderMockRecorder is the mock recorder for MockScorePluginExtender.
func (*MockScorePluginExtenderMockRecorder) AfterScore ¶
func (mr *MockScorePluginExtenderMockRecorder) AfterScore(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
AfterScore indicates an expected call of AfterScore.
func (*MockScorePluginExtenderMockRecorder) BeforeScore ¶
func (mr *MockScorePluginExtenderMockRecorder) BeforeScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BeforeScore indicates an expected call of BeforeScore.
type MockScorePluginMockRecorder ¶
type MockScorePluginMockRecorder struct {
// contains filtered or unexported fields
}
MockScorePluginMockRecorder is the mock recorder for MockScorePlugin.
func (*MockScorePluginMockRecorder) Name ¶
func (mr *MockScorePluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockScorePluginMockRecorder) Score ¶
func (mr *MockScorePluginMockRecorder) Score(arg0, arg1, arg2, arg3 interface{}) *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.
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 ¶
AddBindResult mocks base method.
func (*MockStore) AddCustomResult ¶
AddCustomResult mocks base method.
func (*MockStore) AddFilterResult ¶
AddFilterResult mocks base method.
func (*MockStore) AddNormalizedScoreResult ¶
AddNormalizedScoreResult mocks base method.
func (*MockStore) AddPermitResult ¶
AddPermitResult mocks base method.
func (*MockStore) AddPostFilterResult ¶
AddPostFilterResult mocks base method.
func (*MockStore) AddPreBindResult ¶
AddPreBindResult mocks base method.
func (*MockStore) AddPreFilterResult ¶
func (m *MockStore) AddPreFilterResult(arg0, arg1, arg2, arg3 string, arg4 *framework.PreFilterResult)
AddPreFilterResult mocks base method.
func (*MockStore) AddPreScoreResult ¶
AddPreScoreResult mocks base method.
func (*MockStore) AddReserveResult ¶
AddReserveResult mocks base method.
func (*MockStore) AddScoreResult ¶
AddScoreResult mocks base method.
func (*MockStore) AddSelectedNode ¶
AddSelectedNode 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(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddBindResult indicates an expected call of AddBindResult.
func (*MockStoreMockRecorder) AddCustomResult ¶
func (mr *MockStoreMockRecorder) AddCustomResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddCustomResult indicates an expected call of AddCustomResult.
func (*MockStoreMockRecorder) AddFilterResult ¶
func (mr *MockStoreMockRecorder) AddFilterResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddFilterResult indicates an expected call of AddFilterResult.
func (*MockStoreMockRecorder) AddNormalizedScoreResult ¶
func (mr *MockStoreMockRecorder) AddNormalizedScoreResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddNormalizedScoreResult indicates an expected call of AddNormalizedScoreResult.
func (*MockStoreMockRecorder) AddPermitResult ¶
func (mr *MockStoreMockRecorder) AddPermitResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddPermitResult indicates an expected call of AddPermitResult.
func (*MockStoreMockRecorder) AddPostFilterResult ¶
func (mr *MockStoreMockRecorder) AddPostFilterResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddPostFilterResult indicates an expected call of AddPostFilterResult.
func (*MockStoreMockRecorder) AddPreBindResult ¶
func (mr *MockStoreMockRecorder) AddPreBindResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddPreBindResult indicates an expected call of AddPreBindResult.
func (*MockStoreMockRecorder) AddPreFilterResult ¶
func (mr *MockStoreMockRecorder) AddPreFilterResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddPreFilterResult indicates an expected call of AddPreFilterResult.
func (*MockStoreMockRecorder) AddPreScoreResult ¶
func (mr *MockStoreMockRecorder) AddPreScoreResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddPreScoreResult indicates an expected call of AddPreScoreResult.
func (*MockStoreMockRecorder) AddReserveResult ¶
func (mr *MockStoreMockRecorder) AddReserveResult(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddReserveResult indicates an expected call of AddReserveResult.
func (*MockStoreMockRecorder) AddScoreResult ¶
func (mr *MockStoreMockRecorder) AddScoreResult(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddScoreResult indicates an expected call of AddScoreResult.
func (*MockStoreMockRecorder) AddSelectedNode ¶
func (mr *MockStoreMockRecorder) AddSelectedNode(arg0, arg1, arg2 interface{}) *gomock.Call
AddSelectedNode indicates an expected call of AddSelectedNode.