const preFilterStateKey …
type preFilterState …
func (s *preFilterState) minMatchNum(tpKey string, minDomains int32) (int, error) { … }
func (s *preFilterState) Clone() framework.StateData { … }
type criticalPaths …
func newCriticalPaths() *criticalPaths { … }
func (p *criticalPaths) update(tpVal string, num int) { … }
func (pl *PodTopologySpread) PreFilter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) { … }
func (pl *PodTopologySpread) PreFilterExtensions() framework.PreFilterExtensions { … }
func (pl *PodTopologySpread) AddPod(ctx context.Context, cycleState *framework.CycleState, podToSchedule *v1.Pod, podInfoToAdd *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (pl *PodTopologySpread) RemovePod(ctx context.Context, cycleState *framework.CycleState, podToSchedule *v1.Pod, podInfoToRemove *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (pl *PodTopologySpread) updateWithPod(s *preFilterState, updatedPod, preemptorPod *v1.Pod, node *v1.Node, delta int) { … }
func getPreFilterState(cycleState *framework.CycleState) (*preFilterState, error) { … }
func (pl *PodTopologySpread) calPreFilterState(ctx context.Context, pod *v1.Pod) (*preFilterState, error) { … }
func (pl *PodTopologySpread) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { … }
func sizeHeuristic(nodes int, constraints []topologySpreadConstraint) int { … }