tektonhub

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 37 Imported by: 1

Documentation

Index

Constants

This section is empty.

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 Data added in v0.63.0

type Data struct {
	Catalogs   []v1alpha1.Catalog
	Categories []v1alpha1.Category
	Scopes     []v1alpha1.Scope
	Default    v1alpha1.Default
}

type Reconciler

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

Reconciler implements controller.Reconciler for TektonHub resources.

func (*Reconciler) FinalizeKind

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

FinalizeKind removes all resources after deletion of a TektonHub.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, th *v1alpha1.TektonHub) 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