preemptibilitychecker

package
v0.0.0-...-dcfb068 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PreemptibilityCheckerName string = "PreemptibilityChecker"

Variables

This section is empty.

Functions

func NewPreemptibilityChecker

func NewPreemptibilityChecker(_ runtime.Object, handle framework.SchedulerFrameworkHandle) (framework.Plugin, error)

New initializes a new plugin and returns it.

Types

type PreemptibilityChecker

type PreemptibilityChecker struct {
	// contains filtered or unexported fields
}

func (*PreemptibilityChecker) Name

func (pc *PreemptibilityChecker) Name() string

func (*PreemptibilityChecker) VictimSearching

func (pc *PreemptibilityChecker) VictimSearching(_ *v1.Pod, podInfo *framework.PodInfo, _, _ *framework.CycleState, _ *framework.VictimState) (framework.Code, string)

Jump to

Keyboard shortcuts

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