Documentation ¶
Overview ¶
Package quotacreatorcontroller contains the logic to create Quotas from ResourceSlices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotaCreatorReconciler ¶
type QuotaCreatorReconciler struct { client.Client Scheme *runtime.Scheme EventsRecorder record.EventRecorder DefaultLimitsEnforcement offloadingv1beta1.LimitsEnforcement }
QuotaCreatorReconciler manage Quota lifecycle.
func NewQuotaCreatorReconciler ¶
func NewQuotaCreatorReconciler( cl client.Client, s *runtime.Scheme, er record.EventRecorder, defaultLimitsEnforcement offloadingv1beta1.LimitsEnforcement, ) *QuotaCreatorReconciler
NewQuotaCreatorReconciler returns a new QuotaCreatorReconciler.
func (*QuotaCreatorReconciler) Reconcile ¶
func (r *QuotaCreatorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile manage Quotas resources.
func (*QuotaCreatorReconciler) SetupWithManager ¶
func (r *QuotaCreatorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager register the QuotaCreatorReconciler to the manager.
Click to show internal directories.
Click to hide internal directories.