Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler is the main reconciler of this operator. It is responsible for registering and running all top level reconcilers.
func NewReconciler ¶
func NewReconciler(client client.Client, options ...ReconcilerOption) *Reconciler
NewReconciler creates a new reconciler instance. The reconciler is initialized with the given client and applies the provided options to the reconciler.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers all enabled sub-reconcilers with the given manager.
type ReconcilerOption ¶
type ReconcilerOption func(reconciler *Reconciler)
ReconcilerOption is an option which can be applied to the reconciler.
func WithAPIKeyReconciler ¶
func WithAPIKeyReconciler() ReconcilerOption
WithAPIKeyReconciler returns a reconciler option which enables the APIKey sub-reconciler.
func WithChallengeInstanceReconciler ¶
func WithChallengeInstanceReconciler(recorder record.EventRecorder) ReconcilerOption
WithChallengeInstanceReconciler returns a reconciler option which enables the ChallengeInstance sub-reconciler.
func WithDefaultReconcilers ¶
func WithDefaultReconcilers(recorder record.EventRecorder) ReconcilerOption
WithDefaultReconcilers returns a reconciler option which enables the default sub-reconcilers.
type SubReconciler ¶
type SubReconciler interface { reconcile.Reconciler SetupWithManager(mgr ctrl.Manager) error }
SubReconciler is the interface all sub-reconcilers need to implement.