clusterresources

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterResourcesBalancedAllocation

func NewClusterResourcesBalancedAllocation(_ framework.Handle) (framework.Plugin, error)

func NewClusterResourcesFit

func NewClusterResourcesFit(_ framework.Handle) (framework.Plugin, error)

func NewClusterResourcesLeastAllocated

func NewClusterResourcesLeastAllocated(_ framework.Handle) (framework.Plugin, error)

func NewClusterResourcesMostAllocated

func NewClusterResourcesMostAllocated(_ framework.Handle) (framework.Plugin, error)

Types

type ClusterResourcesBalancedAllocation

type ClusterResourcesBalancedAllocation struct{}

func (*ClusterResourcesBalancedAllocation) Name

func (*ClusterResourcesBalancedAllocation) Score

Score invoked at the score extension point.

func (*ClusterResourcesBalancedAllocation) ScoreExtensions

ScoreExtensions of the Score plugin.

type ClusterResourcesFit

type ClusterResourcesFit struct{}

func (*ClusterResourcesFit) Filter

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 (*ClusterResourcesLeastAllocated) Score

Score invoked at the score extension point.

func (*ClusterResourcesLeastAllocated) ScoreExtensions

ScoreExtensions of the Score plugin.

type ClusterResourcesMostAllocated

type ClusterResourcesMostAllocated struct{}

func (*ClusterResourcesMostAllocated) Name

func (*ClusterResourcesMostAllocated) Score

Score invoked at the score extension point.

func (*ClusterResourcesMostAllocated) ScoreExtensions

ScoreExtensions of the Score plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL