package
1.12.0-alpha.0
Repository: https://github.com/karmada-io/karmada.git
Documentation: pkg.go.dev

# Functions

GetClusterWithMaxAvailableResource returns the cluster with maxAvailableReplicas.
GroupClustersWithScore groups cluster base provider/region/zone/cluster.
IsSpreadConstraintExisted judge if the specific field is existed in the spread constraints.
SelectBestClusters selects the cluster set based the GroupClustersInfo and placement.

# Constants

InvalidClusterID indicate a invalid cluster.
InvalidReplicas indicate that don't care about the available resource.

# Structs

ClusterDetailInfo indicate the cluster information.
GroupClustersInfo indicate the cluster global view.
GroupInfo indicate the group info.
ProviderInfo indicate the provider information.
RegionInfo indicate the region information.
ZoneInfo indicate the zone information.