Documentation ¶
Index ¶
- Constants
- func NewPriorityValueChecker(_ runtime.Object, handle handle.PodFrameworkHandle) (framework.Plugin, error)
- type PriorityValueChecker
- func (pvc *PriorityValueChecker) ClusterPrePreempting(preemptor *v1.Pod, state, _ *framework.CycleState) *framework.Status
- func (pvc *PriorityValueChecker) Name() string
- func (pvc *PriorityValueChecker) VictimSearching(preemptor *v1.Pod, podInfo *framework.PodInfo, state, _ *framework.CycleState, ...) (framework.Code, string)
Constants ¶
View Source
const (
PriorityValueCheckerName = "PriorityValueChecker"
)
Variables ¶
This section is empty.
Functions ¶
func NewPriorityValueChecker ¶
func NewPriorityValueChecker(_ runtime.Object, handle handle.PodFrameworkHandle) (framework.Plugin, error)
New initializes a new plugin and returns it.
Types ¶
type PriorityValueChecker ¶
type PriorityValueChecker struct{}
func (*PriorityValueChecker) ClusterPrePreempting ¶
func (pvc *PriorityValueChecker) ClusterPrePreempting(preemptor *v1.Pod, state, _ *framework.CycleState) *framework.Status
func (*PriorityValueChecker) Name ¶
func (pvc *PriorityValueChecker) Name() string
func (*PriorityValueChecker) VictimSearching ¶
func (pvc *PriorityValueChecker) VictimSearching(preemptor *v1.Pod, podInfo *framework.PodInfo, state, _ *framework.CycleState, _ *framework.VictimState) (framework.Code, string)
Click to show internal directories.
Click to hide internal directories.