defaultpreemption

package
v0.0.0-...-bc30bd0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PDBCheckerName string = "PDBChecker"

Variables

This section is empty.

Functions

func NewPDBChecker

func NewPDBChecker(_ runtime.Object, handle handle.BinderFrameworkHandle) (framework.Plugin, error)

NewPDBChecker initializes a new PDBChecker plugin and returns it.

Types

type PDBChecker

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

func (*PDBChecker) ClusterPrePreempting

func (pdb *PDBChecker) ClusterPrePreempting(_ *v1.Pod, _, commonState *framework.CycleState) *framework.Status

func (*PDBChecker) Name

func (pdb *PDBChecker) Name() string

func (*PDBChecker) PostVictimChecking

func (pdb *PDBChecker) PostVictimChecking(_, pod *v1.Pod, _, commonState *framework.CycleState) *framework.Status

func (*PDBChecker) VictimChecking

func (pdb *PDBChecker) VictimChecking(_, pod *v1.Pod, _, commonState *framework.CycleState) (framework.Code, string)

Jump to

Keyboard shortcuts

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