tektonpruner

package
v0.78.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrunerConfigInstallerSet = "pruner-config"
	CreatedByValue           = "TektonConfig"
	PrunerConfigMapName      = config.PrunerConfigMapName
)

Variables

This section is empty.

Functions

func NewController

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

NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events

func NewExtendedController

func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor

NewExtendedController returns a controller extended to a specific platform

Types

type Reconciler

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

Reconciler implements controller.Reconciler for TektonPruner resources.

func (*Reconciler) FinalizeKind

func (r *Reconciler) FinalizeKind(ctx context.Context, original *v1alpha1.TektonPruner) pkgreconciler.Event

FinalizeKind removes all resources after deletion of a TektonPruner CR.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, tp *v1alpha1.TektonPruner) pkgreconciler.Event

ReconcileKind compares the actual state with the desired, and attempts to converge the two.

type Recorder

type Recorder struct {
}

func NewRecorder

func NewRecorder() (*Recorder, error)

func (*Recorder) LogMetrics

func (m *Recorder) LogMetrics(status, version string, logger *zap.SugaredLogger)

Jump to

Keyboard shortcuts

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