Documentation ¶
Index ¶
Constants ¶
View Source
const PreemptibilityCheckerName string = "PreemptibilityChecker"
Variables ¶
This section is empty.
Functions ¶
func NewPreemptibilityChecker ¶
func NewPreemptibilityChecker(_ runtime.Object, handle handle.PodFrameworkHandle) (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)
Click to show internal directories.
Click to hide internal directories.