tektoninstallerset

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 33 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConsoleYAMLSamplePred = mf.ByKind("ConsoleYAMLSample")
)

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

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.

Jump to

Keyboard shortcuts

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