type BalancedAllocation …
var _ …
var _ …
const BalancedAllocationName …
const balancedAllocationPreScoreStateKey …
type balancedAllocationPreScoreState …
func (s *balancedAllocationPreScoreState) Clone() framework.StateData { … }
func (ba *BalancedAllocation) PreScore(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) *framework.Status { … }
func getBalancedAllocationPreScoreState(cycleState *framework.CycleState) (*balancedAllocationPreScoreState, error) { … }
func (ba *BalancedAllocation) Name() string { … }
func (ba *BalancedAllocation) Score(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (int64, *framework.Status) { … }
func (ba *BalancedAllocation) ScoreExtensions() framework.ScoreExtensions { … }
func NewBalancedAllocation(_ context.Context, baArgs runtime.Object, h framework.Handle, fts feature.Features) (framework.Plugin, error) { … }
func balancedResourceScorer(requested, allocable []int64) int64 { … }