garbagecollector

package
v1.98.5 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "garbage-collector"

ControllerName is the name of the controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler added in v1.59.0

type Reconciler struct {
	TargetReader          client.Reader
	TargetWriter          client.Writer
	Config                config.GarbageCollectorControllerConfig
	Clock                 clock.Clock
	MinimumObjectLifetime *time.Duration
}

Reconciler performs garbage collection.

func (*Reconciler) AddToManager added in v1.59.0

func (r *Reconciler) AddToManager(mgr manager.Manager, targetCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile added in v1.59.0

func (r *Reconciler) Reconcile(reconcileCtx context.Context, _ reconcile.Request) (reconcile.Result, error)

Reconcile performs the main reconciliation logic.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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