Documentation
¶
Index ¶
- type EndpointMonitorReconciler
- func (r *EndpointMonitorReconciler) GetMonitorOfType(spec endpointmonitorv1alpha1.EndpointMonitorSpec) *monitors.MonitorServiceProxy
- func (r *EndpointMonitorReconciler) GetMonitorServiceOfType(monitorType string) *monitors.MonitorServiceProxy
- func (r *EndpointMonitorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *EndpointMonitorReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconciles int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointMonitorReconciler ¶
type EndpointMonitorReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
MonitorServices []*monitors.MonitorServiceProxy
}
EndpointMonitorReconciler reconciles a EndpointMonitor object
func (*EndpointMonitorReconciler) GetMonitorOfType ¶
func (r *EndpointMonitorReconciler) GetMonitorOfType(spec endpointmonitorv1alpha1.EndpointMonitorSpec) *monitors.MonitorServiceProxy
func (*EndpointMonitorReconciler) GetMonitorServiceOfType ¶
func (r *EndpointMonitorReconciler) GetMonitorServiceOfType(monitorType string) *monitors.MonitorServiceProxy
func (*EndpointMonitorReconciler) Reconcile ¶
func (r *EndpointMonitorReconciler) 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.
func (*EndpointMonitorReconciler) SetupWithManager ¶
func (r *EndpointMonitorReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconciles int) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.