Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapSpaceBindingToSpaceBindingRequest ¶
func MapSpaceBindingToSpaceBindingRequest() func(object runtimeclient.Object) []reconcile.Request
MapSpaceBindingToSpaceBindingRequest checks whether a spacebinding was created from a spacebindingrequest, in case it finds the required labels, triggers an event for the given spacebindingrequest associated with the spacebinding.
Types ¶
type Reconciler ¶
type Reconciler struct { Client runtimeclient.Client Scheme *runtime.Scheme Namespace string MemberClusters map[string]cluster.Cluster }
Reconciler reconciles a SpaceBindingRequest object
func (*Reconciler) Reconcile ¶
Reconcile ensures that there is a SpaceBindingRequest resource defined in the target member cluster
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, memberClusters map[string]cluster.Cluster) error
SetupWithManager sets up the controller reconciler with the Manager and the given member clusters. Watches SpaceBindingRequests on the member clusters as its primary resources.
Click to show internal directories.
Click to hide internal directories.