buildrunttlcleanup

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

Add creates a new BuildRun_ttl_cleanup Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func NewReconciler

func NewReconciler(c *config.Config, mgr manager.Manager) reconcile.Reconciler

Types

type ReconcileBuildRun

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

ReconcileBuildRun reconciles a BuildRun object

func (*ReconcileBuildRun) Reconcile

func (r *ReconcileBuildRun) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile makes sure the buildrun adheres to its ttl retention field and deletes it once the ttl limit is hit

Jump to

Keyboard shortcuts

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