tektoninstallerset

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 38 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUpObsoleteResources added in v0.55.0

func CleanUpObsoleteResources(ctx context.Context, client clientset.Interface, createdBy string) error

CleanUpObsoleteResources cleans up obsolete resources this is required because after TektonInstallerSet were introduced it was observed that during upgrade multiple installerSets were getting created now that we have label based query and we have new labels this cleanup is just to make sure we delete all older installerSets from the cluster

func CurrentInstallerSetName added in v0.55.0

func CurrentInstallerSetName(ctx context.Context, client clientset.Interface, labelSelector string) (string, error)

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() injection.ControllerConstructor

NewExtendedController returns a controller extended to a specific platform

func NewInstaller added in v0.63.0

func NewInstaller(manifest *mf.Manifest, mfClient mf.Client, kubeClientSet kubernetes.Interface, logger *zap.SugaredLogger) *installer

Types

type Reconciler

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

Reconciler implements controller.Reconciler for TektonInstallerSet resources.

func (*Reconciler) FinalizeKind

func (r *Reconciler) FinalizeKind(ctx context.Context, installerSet *v1alpha1.TektonInstallerSet) pkgreconciler.Event

FinalizeKind removes all resources after deletion of a TektonInstallerSet.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, installerSet *v1alpha1.TektonInstallerSet) pkgreconciler.Event

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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