core

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ReplenishResourceQuotaAnnotation = "core.ironcore.dev/replenish-resourcequota"

Variables

View Source
var HasReplenishResourceQuotaPredicate = predicate.NewPredicateFuncs(func(obj client.Object) bool {
	return HasReplenishResourceQuotaAnnotation(obj)
})

Functions

func HasReplenishResourceQuotaAnnotation

func HasReplenishResourceQuotaAnnotation(obj client.Object) bool

func PatchAddReplenishResourceQuotaAnnotation

func PatchAddReplenishResourceQuotaAnnotation(ctx context.Context, c client.Client, obj client.Object) (modified bool, err error)

func PatchRemoveReplenishResourceQuotaAnnotation

func PatchRemoveReplenishResourceQuotaAnnotation(ctx context.Context, c client.Client, obj client.Object) (modified bool, err error)

func RemoveReplenishResourceQuotaAnnotation

func RemoveReplenishResourceQuotaAnnotation(obj client.Object)

func SetReplenishResourceQuotaAnnotation

func SetReplenishResourceQuotaAnnotation(obj client.Object)

Types

type CertificateApprovalReconciler

type CertificateApprovalReconciler struct {
	client.Client

	Recognizers []generic.CertificateSigningRequestRecognizer
}

func (*CertificateApprovalReconciler) Reconcile

func (*CertificateApprovalReconciler) SetupWithManager

func (r *CertificateApprovalReconciler) SetupWithManager(mgr ctrl.Manager) error

type ResourceQuotaReconciler

type ResourceQuotaReconciler struct {
	client.Client
	APIReader client.Reader
	Scheme    *runtime.Scheme
	Registry  quota.Registry
}

func (*ResourceQuotaReconciler) Reconcile

func (r *ResourceQuotaReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ResourceQuotaReconciler) SetupWithManager

func (r *ResourceQuotaReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis
certificate
quota

Jump to

Keyboard shortcuts

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