tektonpruner

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

NewController creates a Reconciler and returns the result of NewImpl. It watches for changes to the pruner ConfigMap and triggers garbage collection (GC) when configuration changes are detected. The GC process cleans up resources based on the TTL configuration across all namespaces.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler includes the kubernetes client to interact with the cluster

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile is the method that will be called when resources change

Jump to

Keyboard shortcuts

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