Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactUpdatePredicate ¶
ArtifactUpdatePredicate triggers an update event when a HelmRepository artifact revision changes. i.e.: Repo information was updated.
func (ArtifactUpdatePredicate) Update ¶
func (ArtifactUpdatePredicate) Update(e event.UpdateEvent) bool
type DeletePredicate ¶
DeletePredicate triggers an update event when a HelmRepository generation changes. i.e.: Delete events.
func (DeletePredicate) Update ¶
func (DeletePredicate) Update(e event.UpdateEvent) bool
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
Click to show internal directories.
Click to hide internal directories.