Documentation ¶
Index ¶
- func StartAPIKeyReconciler(logger logr.Logger, ctrlManager ctrl.Manager, grabanaClient *grabana.Client) error
- func StartAlertManagerReconciler(logger logr.Logger, ctrlManager ctrl.Manager, grabanaClient *grabana.Client) error
- func StartDatasourceReconciler(logger logr.Logger, ctrlManager ctrl.Manager, grabanaClient *grabana.Client) error
- func StartGrafanaDashboardReconciler(ctrlManager ctrl.Manager, grabanaClient *grabana.Client) error
- type APIKeyReconciler
- type AlertManagerReconciler
- type DatasourceReconciler
- type GrafanaDashboardReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAPIKeyReconciler ¶
Types ¶
type APIKeyReconciler ¶
type APIKeyReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
APIKeyReconciler reconciles a APIKey object
func (*APIKeyReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the APIKey object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*APIKeyReconciler) SetupWithManager ¶
func (r *APIKeyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type AlertManagerReconciler ¶
type AlertManagerReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
AlertManagerReconciler reconciles a AlertManager object
func (*AlertManagerReconciler) Reconcile ¶
func (r *AlertManagerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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. TODO(user): Modify the Reconcile function to compare the state specified by the AlertManager object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*AlertManagerReconciler) SetupWithManager ¶
func (r *AlertManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatasourceReconciler ¶
type DatasourceReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder Datasources datasourcesManager }
DatasourceReconciler reconciles a Datasource object
func (*DatasourceReconciler) Reconcile ¶
func (r *DatasourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*DatasourceReconciler) SetupWithManager ¶
func (r *DatasourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GrafanaDashboardReconciler ¶
type GrafanaDashboardReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder Dashboards dashboardManager }
GrafanaDashboardReconciler reconciles a GrafanaDashboard object
func (*GrafanaDashboardReconciler) Reconcile ¶
func (r *GrafanaDashboardReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*GrafanaDashboardReconciler) SetupWithManager ¶
func (r *GrafanaDashboardReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.