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 IntegrateSingleRequestEvent (in the form of a configmap) to perform integration for a single module. Certain modules, such as prometheus-operator, require that all integration charts for other modules be installed/upgraded. So in addition to applying the chart for a single module, this reconciler may create second event, the IntegrateCascadeRequestEvent which processed by the cascade integration controller.
Click to show internal directories.
Click to hide internal directories.