quotacreatorcontroller

package
v1.0.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL