Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockScheduling
- func (m *MockScheduling) EXPECT() *MockSchedulingMockRecorder
- func (m *MockScheduling) FindCandidateParents(arg0 context.Context, arg1 *resource.Peer, arg2 set.SafeSet[string]) ([]*resource.Peer, bool)
- func (m *MockScheduling) ScheduleCandidateParentsForNormalPeer(arg0 context.Context, arg1 *resource.Peer, arg2 set.SafeSet[string])
- func (m *MockScheduling) ScheduleParentsForNormalPeer(arg0 context.Context, arg1 *resource.Peer, arg2 set.SafeSet[string])
- type MockSchedulingMockRecorder
- func (mr *MockSchedulingMockRecorder) FindCandidateParents(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSchedulingMockRecorder) ScheduleCandidateParentsForNormalPeer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSchedulingMockRecorder) ScheduleParentsForNormalPeer(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScheduling ¶
type MockScheduling struct {
// contains filtered or unexported fields
}
MockScheduling is a mock of Scheduling interface.
func NewMockScheduling ¶
func NewMockScheduling(ctrl *gomock.Controller) *MockScheduling
NewMockScheduling creates a new mock instance.
func (*MockScheduling) EXPECT ¶
func (m *MockScheduling) EXPECT() *MockSchedulingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduling) FindCandidateParents ¶
func (m *MockScheduling) FindCandidateParents(arg0 context.Context, arg1 *resource.Peer, arg2 set.SafeSet[string]) ([]*resource.Peer, bool)
FindCandidateParents mocks base method.
func (*MockScheduling) ScheduleCandidateParentsForNormalPeer ¶
func (m *MockScheduling) ScheduleCandidateParentsForNormalPeer(arg0 context.Context, arg1 *resource.Peer, arg2 set.SafeSet[string])
ScheduleCandidateParentsForNormalPeer mocks base method.
func (*MockScheduling) ScheduleParentsForNormalPeer ¶
func (m *MockScheduling) ScheduleParentsForNormalPeer(arg0 context.Context, arg1 *resource.Peer, arg2 set.SafeSet[string])
ScheduleParentsForNormalPeer mocks base method.
type MockSchedulingMockRecorder ¶
type MockSchedulingMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulingMockRecorder is the mock recorder for MockScheduling.
func (*MockSchedulingMockRecorder) FindCandidateParents ¶
func (mr *MockSchedulingMockRecorder) FindCandidateParents(arg0, arg1, arg2 interface{}) *gomock.Call
FindCandidateParents indicates an expected call of FindCandidateParents.
func (*MockSchedulingMockRecorder) ScheduleCandidateParentsForNormalPeer ¶
func (mr *MockSchedulingMockRecorder) ScheduleCandidateParentsForNormalPeer(arg0, arg1, arg2 interface{}) *gomock.Call
ScheduleCandidateParentsForNormalPeer indicates an expected call of ScheduleCandidateParentsForNormalPeer.
func (*MockSchedulingMockRecorder) ScheduleParentsForNormalPeer ¶
func (mr *MockSchedulingMockRecorder) ScheduleParentsForNormalPeer(arg0, arg1, arg2 interface{}) *gomock.Call
ScheduleParentsForNormalPeer indicates an expected call of ScheduleParentsForNormalPeer.