Documentation ¶
Index ¶
- type Scheduler
- func (sched *Scheduler) Bind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) error
- func (sched *Scheduler) ErrorFunc(pod *v1.Pod, err error)
- func (sched *Scheduler) GetWaitingPod(uid types.UID) *waitingpod.WaitingPod
- func (sched *Scheduler) Run(ctx context.Context)
- func (sched *Scheduler) RunFilterPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodes []v1.Node) ([]*v1.Node, error)
- func (sched *Scheduler) RunPermitPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status)
- func (sched *Scheduler) RunPreScorePlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, ...) *framework.Status
- func (sched *Scheduler) RunScorePlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, ...) (framework.NodeScoreList, *framework.Status)
- func (sched *Scheduler) WaitOnPermit(ctx context.Context, pod *v1.Pod) *framework.Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct { SchedulingQueue *queue.SchedulingQueue // contains filtered or unexported fields }
func (*Scheduler) GetWaitingPod ¶
func (sched *Scheduler) GetWaitingPod(uid types.UID) *waitingpod.WaitingPod
func (*Scheduler) RunFilterPlugins ¶
func (*Scheduler) RunPermitPlugins ¶
func (*Scheduler) RunPreScorePlugins ¶
func (*Scheduler) RunScorePlugins ¶
Click to show internal directories.
Click to hide internal directories.