newlystartedprotectionchecker

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const NewlyStartedProtectionCheckerName string = "NewlyStartedProtectionChecker"

Variables

This section is empty.

Functions

func NewNewlyStartedProtectionChecker

func NewNewlyStartedProtectionChecker(plArgs runtime.Object, handle handle.PodFrameworkHandle) (framework.Plugin, error)

New initializes a new plugin and returns it.

Types

type NewlyStartedProtectionChecker

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

func (*NewlyStartedProtectionChecker) Name

func (*NewlyStartedProtectionChecker) VictimSearching

func (nspc *NewlyStartedProtectionChecker) VictimSearching(preemptor *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