Documentation
¶
Index ¶
- func NewClusterResourcesBalancedAllocation(_ framework.Handle) (framework.Plugin, error)
- func NewClusterResourcesFit(_ framework.Handle) (framework.Plugin, error)
- func NewClusterResourcesLeastAllocated(_ framework.Handle) (framework.Plugin, error)
- func NewClusterResourcesMostAllocated(_ framework.Handle) (framework.Plugin, error)
- type ClusterResourcesBalancedAllocation
- type ClusterResourcesFit
- type ClusterResourcesLeastAllocated
- type ClusterResourcesMostAllocated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterResourcesFit ¶
Types ¶
type ClusterResourcesBalancedAllocation ¶
type ClusterResourcesBalancedAllocation struct{}
func (*ClusterResourcesBalancedAllocation) Name ¶
func (pl *ClusterResourcesBalancedAllocation) Name() string
func (*ClusterResourcesBalancedAllocation) Score ¶
func (pl *ClusterResourcesBalancedAllocation) Score( ctx context.Context, su *framework.SchedulingUnit, cluster *fedcorev1a1.FederatedCluster, ) (int64, *framework.Result)
Score invoked at the score extension point.
func (*ClusterResourcesBalancedAllocation) ScoreExtensions ¶
func (pl *ClusterResourcesBalancedAllocation) ScoreExtensions() framework.ScoreExtensions
ScoreExtensions of the Score plugin.
type ClusterResourcesFit ¶
type ClusterResourcesFit struct{}
func (*ClusterResourcesFit) Filter ¶
func (pl *ClusterResourcesFit) Filter( ctx context.Context, su *framework.SchedulingUnit, cluster *fedcorev1a1.FederatedCluster, ) *framework.Result
TODO(all), implement filter for socket and Best Effort resources.
func (*ClusterResourcesFit) Name ¶
func (pl *ClusterResourcesFit) Name() string
type ClusterResourcesLeastAllocated ¶
type ClusterResourcesLeastAllocated struct{}
func (*ClusterResourcesLeastAllocated) Name ¶
func (pl *ClusterResourcesLeastAllocated) Name() string
func (*ClusterResourcesLeastAllocated) Score ¶
func (pl *ClusterResourcesLeastAllocated) Score( ctx context.Context, su *framework.SchedulingUnit, cluster *fedcorev1a1.FederatedCluster, ) (int64, *framework.Result)
Score invoked at the score extension point.
func (*ClusterResourcesLeastAllocated) ScoreExtensions ¶
func (pl *ClusterResourcesLeastAllocated) ScoreExtensions() framework.ScoreExtensions
ScoreExtensions of the Score plugin.
type ClusterResourcesMostAllocated ¶
type ClusterResourcesMostAllocated struct{}
func (*ClusterResourcesMostAllocated) Name ¶
func (pl *ClusterResourcesMostAllocated) Name() string
func (*ClusterResourcesMostAllocated) Score ¶
func (pl *ClusterResourcesMostAllocated) Score( ctx context.Context, su *framework.SchedulingUnit, cluster *fedcorev1a1.FederatedCluster, ) (int64, *framework.Result)
Score invoked at the score extension point.
func (*ClusterResourcesMostAllocated) ScoreExtensions ¶
func (pl *ClusterResourcesMostAllocated) ScoreExtensions() framework.ScoreExtensions
ScoreExtensions of the Score plugin.
Click to show internal directories.
Click to hide internal directories.