fakehandle

package
v0.0.0-...-128f9f7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUnitFrameworkHandle

type MockUnitFrameworkHandle struct {
	Cache    cache.SchedulerCache
	Snapshot *cache.Snapshot
}

func NewMockUnitFrameworkHandle

func NewMockUnitFrameworkHandle(
	cache cache.SchedulerCache,
	snapshot *cache.Snapshot,
) *MockUnitFrameworkHandle

func (*MockUnitFrameworkHandle) DisablePreemption

func (gs *MockUnitFrameworkHandle) DisablePreemption() bool

func (*MockUnitFrameworkHandle) EventRecorder

func (gs *MockUnitFrameworkHandle) EventRecorder() events.EventRecorder

func (*MockUnitFrameworkHandle) FindStore

func (*MockUnitFrameworkHandle) GetNodeInfo

func (gs *MockUnitFrameworkHandle) GetNodeInfo(nodeName string) framework.NodeInfo

func (*MockUnitFrameworkHandle) GetUnitStatus

func (gs *MockUnitFrameworkHandle) GetUnitStatus(unitKey string) unitstatus.UnitStatus

func (*MockUnitFrameworkHandle) IsAssumedPod

func (gs *MockUnitFrameworkHandle) IsAssumedPod(pod *v1.Pod) (bool, error)

func (*MockUnitFrameworkHandle) IsCachedPod

func (gs *MockUnitFrameworkHandle) IsCachedPod(pod *v1.Pod) (bool, error)

func (*MockUnitFrameworkHandle) SchedulerName

func (gs *MockUnitFrameworkHandle) SchedulerName() string

func (*MockUnitFrameworkHandle) SubCluster

func (gs *MockUnitFrameworkHandle) SubCluster() string

func (*MockUnitFrameworkHandle) SwitchType

func (gs *MockUnitFrameworkHandle) SwitchType() framework.SwitchType

Jump to

Keyboard shortcuts

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