controller

package
v0.0.0-...-16e09cb Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventActionCreated  EventAction = "Created"
	EventActionUpdated  EventAction = "Updated"
	EventActionDeleted  EventAction = "Deleted"
	ProcessedAnnotation string      = "reloader/processed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventAction

type EventAction string

type ReloaderReconciler

type ReloaderReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ReloaderReconciler reconciles an Reloader object

func NewReloaderReconciler

func NewReloaderReconciler(client client.Client, scheme *runtime.Scheme) *ReloaderReconciler

NewReloaderReconciler creates a new ReloaderReconciler with the default factory.

func (*ReloaderReconciler) Reconcile

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

Reconcile reconciles a Config object, ensuring that the internal state aligns with the desired state. It fetches the Reloader instance, updates the internal cache, and manages notification listeners. Returns ctrl.Result and an error on failure.

func (*ReloaderReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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