Documentation ¶
Index ¶
- func NewPrioritySchedulingQueue(fw framework.Framework, name string, pluginName string, ...) queue.SchedulingQueue
- type PrioritySchedulingQueue
- func (p *PrioritySchedulingQueue) Add(q *v1alpha1.QueueUnit) error
- func (p *PrioritySchedulingQueue) AddUnschedulableIfNotPresent(quInfo *framework.QueueUnitInfo) error
- func (p *PrioritySchedulingQueue) Close()
- func (p *PrioritySchedulingQueue) Delete(q *v1alpha1.QueueUnit) error
- func (p *PrioritySchedulingQueue) Length() int
- func (p *PrioritySchedulingQueue) Name() string
- func (p *PrioritySchedulingQueue) Pop() (*framework.QueueUnitInfo, error)
- func (p *PrioritySchedulingQueue) QueueInfo() *framework.QueueInfo
- func (p *PrioritySchedulingQueue) Run()
- func (p *PrioritySchedulingQueue) TopUnit() (*framework.QueueUnitInfo, error)
- func (p *PrioritySchedulingQueue) Update(old *v1alpha1.QueueUnit, new *v1alpha1.QueueUnit) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrioritySchedulingQueue ¶
func (*PrioritySchedulingQueue) Add ¶
func (p *PrioritySchedulingQueue) Add(q *v1alpha1.QueueUnit) error
func (*PrioritySchedulingQueue) AddUnschedulableIfNotPresent ¶
func (p *PrioritySchedulingQueue) AddUnschedulableIfNotPresent(quInfo *framework.QueueUnitInfo) error
func (*PrioritySchedulingQueue) Close ¶
func (p *PrioritySchedulingQueue) Close()
func (*PrioritySchedulingQueue) Delete ¶
func (p *PrioritySchedulingQueue) Delete(q *v1alpha1.QueueUnit) error
func (*PrioritySchedulingQueue) Length ¶
func (p *PrioritySchedulingQueue) Length() int
func (*PrioritySchedulingQueue) Name ¶
func (p *PrioritySchedulingQueue) Name() string
func (*PrioritySchedulingQueue) Pop ¶
func (p *PrioritySchedulingQueue) Pop() (*framework.QueueUnitInfo, error)
func (*PrioritySchedulingQueue) QueueInfo ¶
func (p *PrioritySchedulingQueue) QueueInfo() *framework.QueueInfo
func (*PrioritySchedulingQueue) Run ¶
func (p *PrioritySchedulingQueue) Run()
func (*PrioritySchedulingQueue) TopUnit ¶
func (p *PrioritySchedulingQueue) TopUnit() (*framework.QueueUnitInfo, error)
Click to show internal directories.
Click to hide internal directories.