Documentation ¶
Index ¶
- func NewTaintToleration(_ framework.Handle) (framework.Plugin, error)
- type TaintToleration
- func (pl *TaintToleration) Filter(ctx context.Context, su *framework.SchedulingUnit, ...) *framework.Result
- func (pl *TaintToleration) Name() string
- func (pl *TaintToleration) NormalizeScore(ctx context.Context, scores framework.ClusterScoreList) *framework.Result
- func (pl *TaintToleration) Score(ctx context.Context, su *framework.SchedulingUnit, ...) (int64, *framework.Result)
- func (pl *TaintToleration) ScoreExtensions() framework.ScoreExtensions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TaintToleration ¶
type TaintToleration struct{}
func (*TaintToleration) Filter ¶
func (pl *TaintToleration) Filter( ctx context.Context, su *framework.SchedulingUnit, cluster *fedcorev1a1.FederatedCluster, ) *framework.Result
func (*TaintToleration) Name ¶
func (pl *TaintToleration) Name() string
func (*TaintToleration) NormalizeScore ¶
func (pl *TaintToleration) NormalizeScore(ctx context.Context, scores framework.ClusterScoreList) *framework.Result
NormalizeScore invoked after scoring all nodes.
func (*TaintToleration) Score ¶
func (pl *TaintToleration) Score( ctx context.Context, su *framework.SchedulingUnit, cluster *fedcorev1a1.FederatedCluster, ) (int64, *framework.Result)
func (*TaintToleration) ScoreExtensions ¶
func (pl *TaintToleration) ScoreExtensions() framework.ScoreExtensions
Click to show internal directories.
Click to hide internal directories.