Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const BalancedAllocationName + const FitName + const LeastAllocatedName + const MostAllocatedName + func NewBalancedAllocation(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error) + func NewFit(_ *runtime.Unknown, _ framework.FrameworkHandle) (framework.Plugin, error) + func NewLeastAllocated(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error) + func NewMostAllocated(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error) + type BalancedAllocation struct + 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 + type Fit struct + func (f *Fit) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, ...) *framework.Status + func (f *Fit) Name() string + type LeastAllocated struct + func (la *LeastAllocated) Name() string + func (la *LeastAllocated) Score(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (int64, *framework.Status) + func (la *LeastAllocated) ScoreExtensions() framework.ScoreExtensions + type MostAllocated struct + func (ma *MostAllocated) Name() string + func (ma *MostAllocated) Score(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (int64, *framework.Status) + func (ma *MostAllocated) ScoreExtensions() framework.ScoreExtensions