component

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package component defines the component controller logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option added in v0.4.0

type Option func(*Reconciler)

Option configures a Reconciler.

func WithLabelFilter added in v0.4.0

func WithLabelFilter(f instance.LabelFilter) Option

WithLabelFilter sets the label filter applied to generated resources.

type Reconciler

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

Reconciler reconciles a Component object.

func NewReconciler

func NewReconciler(cl client.Client, scheme *runtime.Scheme, recorder events.EventRecorder, opts ...Option) *Reconciler

NewReconciler creates a new Reconciler.

func (*Reconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop.

func (*Reconciler) SetupWithManager

func (r *Reconciler) 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