type topologyPair …
type topologySpreadConstraint …
func (tsc *topologySpreadConstraint) matchNodeInclusionPolicies(pod *v1.Pod, node *v1.Node, require nodeaffinity.RequiredNodeAffinity) bool { … }
func (pl *PodTopologySpread) buildDefaultConstraints(p *v1.Pod, action v1.UnsatisfiableConstraintAction) ([]topologySpreadConstraint, error) { … }
func nodeLabelsMatchSpreadConstraints(nodeLabels map[string]string, constraints []topologySpreadConstraint) bool { … }
func (pl *PodTopologySpread) filterTopologySpreadConstraints(constraints []v1.TopologySpreadConstraint, podLabels map[string]string, action v1.UnsatisfiableConstraintAction) ([]topologySpreadConstraint, error) { … }
func mergeLabelSetWithSelector(matchLabels labels.Set, s labels.Selector) labels.Selector { … }
func countPodsMatchSelector(podInfos []*framework.PodInfo, selector labels.Selector, ns string) int { … }
func podLabelsMatchSpreadConstraints(constraints []topologySpreadConstraint, labels labels.Set) bool { … }