Versions in this module Expand all Collapse all v1 v1.0.0 Jun 17, 2024 Changes in this version + func AvailableToPercentage(clusterAvailables map[string]corev1.ResourceList, ...) (clusterWeights map[string]int64, err error) + func CalcWeightLimit(clusters []*fedcorev1a1.FederatedCluster, resourceName corev1.ResourceName, ...) (weightLimit map[string]int64, err error) + func NewClusterCapacityWeight(frameworkHandle framework.Handle) (framework.Plugin, error) + func QueryAllocatable(clusters []*fedcorev1a1.FederatedCluster) map[string]corev1.ResourceList + func QueryAvailable(clusters []*fedcorev1a1.FederatedCluster) map[string]corev1.ResourceList + func QueryClusterResource(clusters []*fedcorev1a1.FederatedCluster, resource string) map[string]corev1.ResourceList + type ClusterCapacityWeight struct + func (pl *ClusterCapacityWeight) Name() string + func (pl *ClusterCapacityWeight) ReplicaScheduling(ctx context.Context, su *framework.SchedulingUnit, ...) (framework.ClusterReplicasList, *framework.Result)