Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapiClusterReconciler ¶
type CapiClusterReconciler struct { Client client.Client Scheme *runtime.Scheme Reconciler logging.LoggingReconciler }
CapiClusterReconciler reconciles a Cluster object
func (*CapiClusterReconciler) Reconcile ¶
func (r *CapiClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err 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. It compares the state specified by the Cluster object against the actual cluster state, and then perform operations to make the cluster state reflect the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*CapiClusterReconciler) SetupWithManager ¶
func (r *CapiClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GrafanaOrganizationReconciler ¶ added in v0.24.0
type GrafanaOrganizationReconciler struct { Client client.Client Scheme *runtime.Scheme Reconciler loggingconfig.Reconciler }
GrafanaOrganizationReconciler reconciles grafanaOrganization CRs
func (*GrafanaOrganizationReconciler) Reconcile ¶ added in v0.24.0
func (g *GrafanaOrganizationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err 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. It is triggered whenever a change happen to a grafanaOrganization CR and calls the logging config reconciler for each cluster so that their tenant list is always up to date.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*GrafanaOrganizationReconciler) SetupWithManager ¶ added in v0.24.0
func (g *GrafanaOrganizationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.