Documentation ¶
Index ¶
- Constants
- func NewPDBChecker(_ runtime.Object, handle handle.BinderFrameworkHandle) (framework.Plugin, error)
- type PDBChecker
- func (pdb *PDBChecker) ClusterPrePreempting(_ *v1.Pod, _, commonState *framework.CycleState) *framework.Status
- func (pdb *PDBChecker) Name() string
- func (pdb *PDBChecker) PostVictimChecking(_, pod *v1.Pod, _, commonState *framework.CycleState) *framework.Status
- func (pdb *PDBChecker) VictimChecking(_, pod *v1.Pod, _, commonState *framework.CycleState) (framework.Code, string)
Constants ¶
View Source
const PDBCheckerName string = "PDBChecker"
Variables ¶
This section is empty.
Functions ¶
func NewPDBChecker ¶
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)
Click to show internal directories.
Click to hide internal directories.