Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName = "clusterring"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
func MapLeaseToClusterRing ¶
func RuleForResource ¶
func RuleForResource(gr metav1.GroupResource) admissionregistrationv1.RuleWithOperations
RuleForResource returns the sharder's webhook rule for the given resource.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Recorder record.EventRecorder Clock clock.PassiveClock Config *configv1alpha1.SharderConfig }
Reconciler reconciles ClusterRings.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) ClusterRingPredicate ¶
func (r *Reconciler) ClusterRingPredicate() predicate.Predicate
func (*Reconciler) LeasePredicate ¶
func (r *Reconciler) LeasePredicate() predicate.Predicate
Click to show internal directories.
Click to hide internal directories.