etcdopstask

package
v0.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL