Documentation ¶
Overview ¶
Package namespaceoffloadingctrl contains NamespaceOffloading Controller logic and some functions for adding DesiredMappings to NamespaceMaps Spec
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceOffloadingReconciler ¶
type NamespaceOffloadingReconciler struct { client.Client Scheme *runtime.Scheme LocalCluster discoveryv1alpha1.ClusterIdentity }
NamespaceOffloadingReconciler adds/removes DesiredMapping to/from NamespaceMaps in according with ClusterSelector field.
func (*NamespaceOffloadingReconciler) Reconcile ¶
func (r *NamespaceOffloadingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile requires creation of remote namespaces according to ClusterSelector field.
func (*NamespaceOffloadingReconciler) SetupWithManager ¶
func (r *NamespaceOffloadingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager reconciles NamespaceOffloading Resources.
Click to show internal directories.
Click to hide internal directories.