Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimitReconciler ¶
type RateLimitReconciler struct { client.Client Scheme *runtime.Scheme ReconcilePeriod time.Duration }
RateLimitReconciler reconciles a RateLimit object
func NewRateLimitReconciler ¶
func NewRateLimitReconciler(mgr manager.Manager) *RateLimitReconciler
func (*RateLimitReconciler) Reconcile ¶
Reconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. In this function, the RateLimit object is fetched and validated. If the object is not found, it is ignored. If validation fails, an error is returned. Otherwise, the function returns a result with a requeue period.
func (*RateLimitReconciler) SetupWithManager ¶
func (r *RateLimitReconciler) SetupWithManager(mgr ctrl.Manager, c controllers.RateLimiterConfig) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.