Documentation ¶
Index ¶
- func FilterReady(workloadClusters []*workloadv1alpha1.WorkloadCluster) []*workloadv1alpha1.WorkloadCluster
- func LocationWorkloadClusters(workloadClusters []*workloadv1alpha1.WorkloadCluster, ...) (ret []*workloadv1alpha1.WorkloadCluster, err error)
- func NewController(kcpClusterClient kcpclient.ClusterInterface, ...) (*controller, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterReady ¶
func FilterReady(workloadClusters []*workloadv1alpha1.WorkloadCluster) []*workloadv1alpha1.WorkloadCluster
FilterReady returns the ready workload clusters.
func LocationWorkloadClusters ¶
func LocationWorkloadClusters(workloadClusters []*workloadv1alpha1.WorkloadCluster, location *schedulingv1alpha1.Location) (ret []*workloadv1alpha1.WorkloadCluster, err error)
LocationWorkloadClusters returns a list of workload clusters that match the given location definition.
func NewController ¶
func NewController( kcpClusterClient kcpclient.ClusterInterface, locationInformer schedulinginformers.LocationInformer, workloadClusterInformer workloadinformers.WorkloadClusterInformer, ) (*controller, error)
NewController returns a new controller reconciling location status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.