Documentation ¶
Index ¶
- func HelmReleaseProxyToHelmChartProxyMapper(ctx context.Context, o client.Object) []ctrl.Request
- type HelmChartProxyReconciler
- func (r *HelmChartProxyReconciler) ClusterToHelmChartProxiesMapper(ctx context.Context, o client.Object) []ctrl.Request
- func (r *HelmChartProxyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *HelmChartProxyReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelmReleaseProxyToHelmChartProxyMapper ¶
HelmReleaseProxyToHelmChartProxyMapper is a mapper function that maps a HelmReleaseProxy to the HelmChartProxy that owns it. This is used to trigger an update of the HelmChartProxy when a HelmReleaseProxy is changed.
Types ¶
type HelmChartProxyReconciler ¶
type HelmChartProxyReconciler struct { client.Client Scheme *runtime.Scheme // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
HelmChartProxyReconciler reconciles a HelmChartProxy object.
func (*HelmChartProxyReconciler) ClusterToHelmChartProxiesMapper ¶
func (r *HelmChartProxyReconciler) ClusterToHelmChartProxiesMapper(ctx context.Context, o client.Object) []ctrl.Request
ClusterToHelmChartProxiesMapper is a mapper function that maps a Cluster to the HelmChartProxies that would select the Cluster.
func (*HelmChartProxyReconciler) Reconcile ¶
func (r *HelmChartProxyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*HelmChartProxyReconciler) SetupWithManager ¶
func (r *HelmChartProxyReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.