Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitController ¶
func InitController(modConfig IntegrationControllerConfig) error
InitController start the controller
Types ¶
type IntegrationControllerConfig ¶
type IntegrationControllerConfig struct { ControllerManager ctrlruntime.Manager ModuleHandlerInfo handlerspi.ModuleHandlerInfo }
type Reconciler ¶
type Reconciler struct { *basecontroller.BaseReconciler IntegrationControllerConfig }
func (Reconciler) GetReconcileObject ¶
func (r Reconciler) GetReconcileObject() client.Object
GetReconcileObject returns the kind of object being reconciled
func (Reconciler) HandlePredicateEvent ¶
func (Reconciler) Reconcile ¶
func (r Reconciler) Reconcile(spictx controllerspi.ReconcileContext, u *unstructured.Unstructured) result.Result
Reconcile reconciles the IntegrateCascadeRequestEvent (in the form of a configmap). Cascaded means that a lifecycle event for certain modules, such as prometheus-operator, require that all integration charts for other modules be installed/upgraded. This controller finds such modules and creates events that will cause the integration chart for each one to be applied.
Click to show internal directories.
Click to hide internal directories.