Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceReconciler ¶
type NamespaceReconciler struct { client.Client Scheme *runtime.Scheme NSEvents chan event.GenericEvent SNSEvents chan event.GenericEvent NamespaceDB *namespacedb.NamespaceDB }
NamespaceReconciler reconciles a Namespace object
func (*NamespaceReconciler) SetupWithManager ¶
func (r *NamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller by specifying the following: controller is managing the reconciliation of Namespace objects, it is watching for changes to the NSEvents channel and enqueues requests for the associated object. NamespacePredicate is used as an event filter, the predicate function checks if the object being watched is an SNS object or has a specific label. The controller also owns SNS objects.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.