reconciler

package
v0.0.0-...-7a13865 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsReconciler

func AsReconciler(reconciler Reconciler) reconcile.Reconciler

AsReconciler creates a reconciler with a default rate-limiter

func AsReconcilerWithRateLimiter

func AsReconcilerWithRateLimiter(
	reconciler Reconciler,
	rateLimiter workqueue.TypedRateLimiter[reconcile.Request],
) reconcile.Reconciler

AsReconcilerWithRateLimiter creates a reconciler with a custom rate-limiter

Types

type Reconciler

type Reconciler interface {
	Reconcile(ctx context.Context, req reconcile.Request) (Result, error)
}

Reconciler defines the interface for standard reconcilers

type Result

type Result struct {
	RequeueAfter time.Duration
	Requeue      bool
}

Result adds Requeue functionality back to reconcile results.

Jump to

Keyboard shortcuts

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