Documentation ¶
Index ¶
- func CreateOrUpdateWithRetries(ctx context.Context, c client.Client, obj client.Object, ...) (controllerutil.OperationResult, error)
- type GrafanaReconciler
- func (r *GrafanaReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *GrafanaReconciler) ReconcileDataSource(ctx context.Context, instance *grafoov1alpha1.Grafana) error
- func (r *GrafanaReconciler) ReconcileDex(ctx context.Context, instance *grafoov1alpha1.Grafana) error
- func (r *GrafanaReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateWithRetries ¶
func CreateOrUpdateWithRetries( ctx context.Context, c client.Client, obj client.Object, f controllerutil.MutateFn, ) (controllerutil.OperationResult, error)
CreateOrUpdateWithRetries creates or updates the given object in the Kubernetes with retries
Types ¶
type GrafanaReconciler ¶
type GrafanaReconciler struct { client.Client Scheme *runtime.Scheme Clientset *kubernetes.Clientset }
GrafanaReconciler reconciles a Grafana object
func (*GrafanaReconciler) ReconcileDataSource ¶
func (r *GrafanaReconciler) ReconcileDataSource(ctx context.Context, instance *grafoov1alpha1.Grafana) error
func (*GrafanaReconciler) ReconcileDex ¶
func (r *GrafanaReconciler) ReconcileDex(ctx context.Context, instance *grafoov1alpha1.Grafana) error
func (*GrafanaReconciler) SetupWithManager ¶
func (r *GrafanaReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.