Documentation ¶
Index ¶
- func NewCentreonServiceGroupReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder, ...) controller.Controller
- func NewCentreonServiceReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder, ...) controller.Controller
- type CentreonService
- type CentreonServiceGroup
- type CentreonServiceGroupReconciler
- type CentreonServiceReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCentreonServiceGroupReconciler ¶
func NewCentreonServiceGroupReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder, platforms map[string]*platform.ComputedPlatform) controller.Controller
func NewCentreonServiceReconciler ¶
func NewCentreonServiceReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder, platforms map[string]*platform.ComputedPlatform) controller.Controller
Types ¶
type CentreonService ¶
type CentreonService struct { *centreonhandler.CentreonService *centreonhandler.CentreonServiceDiff }
CentreonService wrap the original model because we haven't unique model on each step. Sometime, we need to have centreonhandler.CentreonService, sometime we need to have centreonhandler.CentreonServiceDiff
type CentreonServiceGroup ¶
type CentreonServiceGroup struct { *centreonhandler.CentreonServiceGroup *centreonhandler.CentreonServiceGroupDiff }
CentreonServiceGroup wrap the original model because we haven't unique model on each step. Sometime, we need to have centreonhandler.CentreonServiceGroup, sometime we need to have centreonhandler.CentreonServiceGroupDiff
type CentreonServiceGroupReconciler ¶
type CentreonServiceGroupReconciler struct { controller.Controller controller.RemoteReconciler[*centreoncrd.CentreonServiceGroup, *CentreonServiceGroup, centreonhandler.CentreonHandler] controller.RemoteReconcilerAction[*centreoncrd.CentreonServiceGroup, *CentreonServiceGroup, centreonhandler.CentreonHandler] // contains filtered or unexported fields }
CentreonServiceGroupReconciler reconciles a CentreonServiceGroup object
func (*CentreonServiceGroupReconciler) Reconcile ¶
func (r *CentreonServiceGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the CentreonServiceGroup object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*CentreonServiceGroupReconciler) SetupWithManager ¶
func (r *CentreonServiceGroupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CentreonServiceReconciler ¶
type CentreonServiceReconciler struct { controller.Controller controller.RemoteReconciler[*centreoncrd.CentreonService, *CentreonService, centreonhandler.CentreonHandler] controller.RemoteReconcilerAction[*centreoncrd.CentreonService, *CentreonService, centreonhandler.CentreonHandler] // contains filtered or unexported fields }
CentreonServiceReconciler reconciles a CentreonService object
func (*CentreonServiceReconciler) Reconcile ¶
func (r *CentreonServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the CentreonService object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*CentreonServiceReconciler) SetupWithManager ¶
func (r *CentreonServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.