Documentation ¶
Index ¶
- type Preemptor
- func (p *Preemptor) GetTargets(wl workload.Info, assignment flavorassigner.Assignment, ...) []*workload.Info
- func (p *Preemptor) IssuePreemptions(ctx context.Context, targets []*workload.Info, cq *cache.ClusterQueue) (int, error)
- func (p *Preemptor) OverrideApply(f func(context.Context, *kueue.Workload) error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preemptor ¶
type Preemptor struct {
// contains filtered or unexported fields
}
func (*Preemptor) GetTargets ¶ added in v0.4.0
func (p *Preemptor) GetTargets(wl workload.Info, assignment flavorassigner.Assignment, snapshot *cache.Snapshot) []*workload.Info
GetTargets returns the list of workloads that should be evicted in order to make room for wl.
Click to show internal directories.
Click to hide internal directories.