controller

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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
	Dynamic   *dynamic.DynamicClient
}

GrafanaReconciler reconciles a Grafana object

func (*GrafanaReconciler) Reconcile

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

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) ReconcileMariaDB added in v0.1.1

func (r *GrafanaReconciler) ReconcileMariaDB(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.

Jump to

Keyboard shortcuts

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