Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager) error
- func (r *Reconciler) LeasePredicate() predicate.Predicate
- func (r *Reconciler) MapClusterRingToLeases(ctx context.Context, obj client.Object) []reconcile.Request
- func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Constants ¶
View Source
const ControllerName = "shardlease"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Clock clock.PassiveClock }
Reconciler reconciles shard leases.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) LeasePredicate ¶
func (r *Reconciler) LeasePredicate() predicate.Predicate
func (*Reconciler) MapClusterRingToLeases ¶
Click to show internal directories.
Click to hide internal directories.