const (
PluginName = "PrioritySort"
)
func NewPrioritySortPlugin(config config.PluginConfig, scheduler pipeline.PolarisScheduler) (pipeline.Plugin, error)
Creates a new PrioritySortPlugin instance.
Implements sorting of incoming pods based on their priorities and creation timestamps.
type PrioritySortPlugin struct { }
func (ps *PrioritySortPlugin) Less(podA *pipeline.QueuedPodInfo, podB *pipeline.QueuedPodInfo) bool
func (*PrioritySortPlugin) Name() string