mocks

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

func (*MockScheduling) FindCandidateParents

func (m *MockScheduling) FindCandidateParents(arg0 context.Context, arg1 *standard.Peer, arg2 set.SafeSet[string]) ([]*standard.Peer, bool)

FindCandidateParents mocks base method.

func (*MockScheduling) FindCandidatePersistentCacheParents added in v2.2.1

func (m *MockScheduling) FindCandidatePersistentCacheParents(arg0 context.Context, arg1 *persistentcache.Peer, arg2 set.SafeSet[string]) ([]*persistentcache.Peer, bool)

FindCandidatePersistentCacheParents mocks base method.

func (*MockScheduling) FindCandidatePersistentParents added in v2.4.0

func (m *MockScheduling) FindCandidatePersistentParents(arg0 context.Context, arg1 *persistent.Peer, arg2 set.SafeSet[string]) ([]*persistent.Peer, bool)

FindCandidatePersistentParents mocks base method.

func (*MockScheduling) FindParentAndCandidateParents added in v2.1.28

func (m *MockScheduling) FindParentAndCandidateParents(arg0 context.Context, arg1 *standard.Peer, arg2 set.SafeSet[string]) ([]*standard.Peer, bool)

FindParentAndCandidateParents mocks base method.

func (*MockScheduling) FindReplicatePersistentCacheHosts added in v2.2.1

func (m *MockScheduling) FindReplicatePersistentCacheHosts(arg0 context.Context, arg1 *persistentcache.Task, arg2 set.SafeSet[string]) ([]*persistentcache.Peer, []*persistentcache.Host, bool)

FindReplicatePersistentCacheHosts mocks base method.

func (*MockScheduling) FindReplicatePersistentHosts added in v2.4.0

func (m *MockScheduling) FindReplicatePersistentHosts(arg0 context.Context, arg1 *persistent.Task, arg2 set.SafeSet[string]) ([]*persistent.Peer, []*persistent.Host, bool)

FindReplicatePersistentHosts mocks base method.

func (*MockScheduling) ScheduleCandidateParents

func (m *MockScheduling) ScheduleCandidateParents(arg0 context.Context, arg1 *standard.Peer, arg2 set.SafeSet[string]) error

ScheduleCandidateParents mocks base method.

func (*MockScheduling) ScheduleParentAndCandidateParents

func (m *MockScheduling) ScheduleParentAndCandidateParents(arg0 context.Context, arg1 *standard.Peer, arg2 set.SafeSet[string])

ScheduleParentAndCandidateParents 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 any) *gomock.Call

FindCandidateParents indicates an expected call of FindCandidateParents.

func (*MockSchedulingMockRecorder) FindCandidatePersistentCacheParents added in v2.2.1

func (mr *MockSchedulingMockRecorder) FindCandidatePersistentCacheParents(arg0, arg1, arg2 any) *gomock.Call

FindCandidatePersistentCacheParents indicates an expected call of FindCandidatePersistentCacheParents.

func (*MockSchedulingMockRecorder) FindCandidatePersistentParents added in v2.4.0

func (mr *MockSchedulingMockRecorder) FindCandidatePersistentParents(arg0, arg1, arg2 any) *gomock.Call

FindCandidatePersistentParents indicates an expected call of FindCandidatePersistentParents.

func (*MockSchedulingMockRecorder) FindParentAndCandidateParents added in v2.1.28

func (mr *MockSchedulingMockRecorder) FindParentAndCandidateParents(arg0, arg1, arg2 any) *gomock.Call

FindParentAndCandidateParents indicates an expected call of FindParentAndCandidateParents.

func (*MockSchedulingMockRecorder) FindReplicatePersistentCacheHosts added in v2.2.1

func (mr *MockSchedulingMockRecorder) FindReplicatePersistentCacheHosts(arg0, arg1, arg2 any) *gomock.Call

FindReplicatePersistentCacheHosts indicates an expected call of FindReplicatePersistentCacheHosts.

func (*MockSchedulingMockRecorder) FindReplicatePersistentHosts added in v2.4.0

func (mr *MockSchedulingMockRecorder) FindReplicatePersistentHosts(arg0, arg1, arg2 any) *gomock.Call

FindReplicatePersistentHosts indicates an expected call of FindReplicatePersistentHosts.

func (*MockSchedulingMockRecorder) ScheduleCandidateParents

func (mr *MockSchedulingMockRecorder) ScheduleCandidateParents(arg0, arg1, arg2 any) *gomock.Call

ScheduleCandidateParents indicates an expected call of ScheduleCandidateParents.

func (*MockSchedulingMockRecorder) ScheduleParentAndCandidateParents

func (mr *MockSchedulingMockRecorder) ScheduleParentAndCandidateParents(arg0, arg1, arg2 any) *gomock.Call

ScheduleParentAndCandidateParents indicates an expected call of ScheduleParentAndCandidateParents.

Jump to

Keyboard shortcuts

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