kubernetes/pkg/scheduler/framework/plugins/queuesort/priority_sort.go

const Name

type PrioritySort

var _

// Name returns name of the plugin.
func (pl *PrioritySort) Name() string {}

// Less is the function used by the activeQ heap algorithm to sort pods.
// It sorts pods based on their priority. When priorities are equal, it uses
// PodQueueInfo.timestamp.
func (pl *PrioritySort) Less(pInfo1, pInfo2 *framework.QueuedPodInfo) bool {}

// New initializes a new plugin and returns it.
func New(_ context.Context, _ runtime.Object, handle framework.Handle) (framework.Plugin, error) {}