controller

package
v0.6.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactUpdatePredicate

type ArtifactUpdatePredicate struct {
	predicate.Funcs
}

ArtifactUpdatePredicate triggers an update event when a HelmRepository artifact revision changes. i.e.: Repo information was updated.

func (ArtifactUpdatePredicate) Update

type DeletePredicate

type DeletePredicate struct {
	predicate.Funcs
}

DeletePredicate triggers an update event when a HelmRepository generation changes. i.e.: Delete events.

func (DeletePredicate) Update

type HelmWatcherReconciler

type HelmWatcherReconciler struct {
	client.Client
	Cache       cache.Cache
	RepoManager helm.HelmRepoManager
}

HelmWatcherReconciler runs the `reconcile` loop for the watcher.

func (*HelmWatcherReconciler) Reconcile

func (r *HelmWatcherReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is either called when there is a new HelmRepository or, when there is an update to a HelmRepository. Because the watcher watches all helmrepositories, it will update data for all of them.

func (*HelmWatcherReconciler) SetupWithManager

func (r *HelmWatcherReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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