Documentation
¶
Index ¶
- Constants
- func New(_ runtime.Object, _ framework.Handle) (framework.Plugin, error)
- type DefaultScore
- func (d *DefaultScore) Name() string
- func (d *DefaultScore) NormalizeScore(ctx context.Context, state *framework.CycleState, p *meta.Stage, ...) *framework.Status
- func (d *DefaultScore) Score(ctx context.Context, state *framework.CycleState, p *meta.Stage, ...) (int64, *framework.Status)
- func (d *DefaultScore) ScoreExtensions() framework.ScoreExtensions
Constants ¶
View Source
const Name = names.DefaultScore
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultScore ¶
type DefaultScore struct{}
func (*DefaultScore) Name ¶
func (d *DefaultScore) Name() string
func (*DefaultScore) NormalizeScore ¶
func (d *DefaultScore) NormalizeScore(ctx context.Context, state *framework.CycleState, p *meta.Stage, scores framework.WorkerScoreList) *framework.Status
func (*DefaultScore) ScoreExtensions ¶
func (d *DefaultScore) ScoreExtensions() framework.ScoreExtensions
Click to show internal directories.
Click to hide internal directories.