Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTaskHandlerRegistry ¶
func DefaultTaskHandlerRegistry() handler.TaskHandlerRegistry
DefaultTaskHandlerRegistry creates and initializes the task handler registry with default handlers.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles EtcdOpsTask resources.
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, cfg *druidconfigv1alpha1.EtcdOpsTaskControllerConfiguration) *Reconciler
NewReconciler returns a new Reconciler for EtcdOpsTask resources.
func NewReconcilerWithTaskHandlerRegistry ¶
func NewReconcilerWithTaskHandlerRegistry(mgr manager.Manager, cfg *druidconfigv1alpha1.EtcdOpsTaskControllerConfiguration, taskHandlerRegistry handler.TaskHandlerRegistry) *Reconciler
NewReconcilerWithTaskHandlerRegistry returns a new Reconciler with a custom task handler registry.
func (*Reconciler) GetTaskHandlerRegistry ¶
func (r *Reconciler) GetTaskHandlerRegistry() handler.TaskHandlerRegistry
GetTaskHandlerRegistry returns the task handler registry for testing purposes.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Reconcile is the main reconciliation loop for EtcdOpsTask resources.
func (*Reconciler) RegisterWithManager ¶
func (r *Reconciler) RegisterWithManager(mgr ctrl.Manager) error
RegisterWithManager sets up the controller on the given manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.