singleton

package
v0.0.0-...-4250f4c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 8 Imported by: 55

Documentation

Index

Constants

View Source
const (
	// RequeueImmediately is a constant that allows for immediate RequeueAfter when you want to run your
	// singleton controller as hot as possible in a fast requeuing loop
	RequeueImmediately = 1 * time.Nanosecond
)

Variables

This section is empty.

Functions

func AsReconciler

func AsReconciler(rec Reconciler) reconcile.Reconciler

AsReconciler creates a controller-runtime reconciler from a singleton reconciler

func Source

func Source() source.Source

Source creates a source for singleton controllers

Types

type Reconciler

type Reconciler interface {
	Reconcile(ctx context.Context) (reconciler.Result, error)
}

Reconciler defines the interface for singleton reconcilers

Jump to

Keyboard shortcuts

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