Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Name of the plugin used in the plugin registry and configurations.
Name = "DefaultPreemption"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultPreemption ¶
type DefaultPreemption struct {
// contains filtered or unexported fields
}
DefaultPreemption is a PostFilter plugin implements the preemption logic.
func (*DefaultPreemption) Name ¶
func (pl *DefaultPreemption) Name() string
Name returns name of the plugin. It is used in logs, etc.
func (*DefaultPreemption) PostFilter ¶
func (pl *DefaultPreemption) PostFilter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, m framework.NodeToStatusMap) (*framework.PostFilterResult, *framework.Status)
PostFilter invoked at the postFilter extension point.
Click to show internal directories.
Click to hide internal directories.