Documentation ¶
Index ¶
- func FilterNonEvicting(syncTargets []*workloadv1alpha1.SyncTarget) []*workloadv1alpha1.SyncTarget
- func FilterReady(syncTargets []*workloadv1alpha1.SyncTarget) []*workloadv1alpha1.SyncTarget
- func LocationSyncTargets(syncTargets []*workloadv1alpha1.SyncTarget, ...) (ret []*workloadv1alpha1.SyncTarget, err error)
- func NewController(kcpClusterClient kcpclient.Interface, ...) (*controller, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterNonEvicting ¶
func FilterNonEvicting(syncTargets []*workloadv1alpha1.SyncTarget) []*workloadv1alpha1.SyncTarget
FilterNonEvicting filters out the evicting sync targets.
func FilterReady ¶
func FilterReady(syncTargets []*workloadv1alpha1.SyncTarget) []*workloadv1alpha1.SyncTarget
FilterReady returns the ready sync targets.
func LocationSyncTargets ¶
func LocationSyncTargets(syncTargets []*workloadv1alpha1.SyncTarget, location *schedulingv1alpha1.Location) (ret []*workloadv1alpha1.SyncTarget, err error)
LocationSyncTargets returns a list of sync targets that match the given location definition.
func NewController ¶
func NewController( kcpClusterClient kcpclient.Interface, locationInformer schedulinginformers.LocationInformer, syncTargetInformer workloadinformers.SyncTargetInformer, ) (*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.