controller

package
v0.0.0-...-a241f36 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheOptions

func CacheOptions() cache.Options

CacheOptions returns the manager cache configuration shared by the operator binary and the test suite. The PipelineRun informer caches every run in the cluster, and full objects are large (managedFields plus the fully resolved pipeline spec Tekton inlines into status routinely reach tens of kilobytes); stripping the fields the reconciler never reads keeps the operator's memory proportional to run count, not run size.

Types

type PipelineRunQueueReconciler

type PipelineRunQueueReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

PipelineRunQueueReconciler reconciles a PipelineRunQueue object

func (*PipelineRunQueueReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

All queue state is derived from the live PipelineRun set on every call: the controller keeps no in-memory bookkeeping between reconciles.

func (*PipelineRunQueueReconciler) SetupWithManager

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