Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrafanaReconciler ¶
type GrafanaReconciler struct { KubeClient kubernetes.Interface *utils.ComponentReconciler // contains filtered or unexported fields }
func NewGrafanaReconciler ¶
func NewGrafanaReconciler(c client.Client, s *runtime.Scheme, dc discovery.DiscoveryInterface, r *rest.Config) *GrafanaReconciler
func (*GrafanaReconciler) Run ¶
func (r *GrafanaReconciler) Run(cr *v1alpha1.PlatformMonitoring) error
Run reconciles grafana custom resource. Creates new custom resources: Grafana and GrafanaDataSource if its don't exists. Updates custom resources in case of any changes. Returns true if need to requeue, false otherwise.
Click to show internal directories.
Click to hide internal directories.