Documentation ¶
Overview ¶
Package chain implements chain controller.
Index ¶
- type Reconciler
- func (r *Reconciler) IsConfigMapReconciled(ctx context.Context, ch *v1beta1.Chain) (bool, error)
- func (r *Reconciler) IsMinerReconciled(ctx context.Context, ch *v1beta1.Chain) (bool, error)
- func (r *Reconciler) MinerToChains(ctx context.Context, o client.Object) []ctrl.Request
- func (r *Reconciler) Reconcile(ctx context.Context, rq ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { APIReader client.Reader ComponentConfig *config.ChainControllerConfiguration // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string // contains filtered or unexported fields }
Reconciler reconciles a Chain object.
func (*Reconciler) IsConfigMapReconciled ¶
func (*Reconciler) IsMinerReconciled ¶
func (*Reconciler) MinerToChains ¶
MinerToChains is a handler.ToRequestsFunc to be used to enqueue rquests for reconciliation for Chains that might adopt an orphaned Miner.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Click to show internal directories.
Click to hide internal directories.