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 (nspc *NewlyStartedProtectionChecker) Name() string
func (*NewlyStartedProtectionChecker) VictimSearching ¶
func (nspc *NewlyStartedProtectionChecker) VictimSearching(preemptor *v1.Pod, podInfo *framework.PodInfo, _, _ *framework.CycleState, _ *framework.VictimState) (framework.Code, string)
Click to show internal directories.
Click to hide internal directories.