Documentation
¶
Index ¶
- func GenerateObservabilityBundleConfigMap(lc loggedcluster.Interface, observabilityBundleVersion semver.Version) (v1.ConfigMap, error)
- type Reconciler
- func (r *Reconciler) GetObservabilityBundleVersion(ctx context.Context, lc loggedcluster.Interface) (semver.Version, error)
- func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
- func (r *Reconciler) ReconcileDelete(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateObservabilityBundleConfigMap ¶
func GenerateObservabilityBundleConfigMap(lc loggedcluster.Interface, observabilityBundleVersion semver.Version) (v1.ConfigMap, error)
GenerateObservabilityBundleConfigMap returns a configmap for the observabilitybundle application to enable promtail.
Types ¶
type Reconciler ¶
Reconciler implements a reconciler.Interface to handle Promtail toggle: enable or disable Promtail in a given Cluster.
func (*Reconciler) GetObservabilityBundleVersion ¶ added in v0.1.3
func (r *Reconciler) GetObservabilityBundleVersion(ctx context.Context, lc loggedcluster.Interface) (semver.Version, error)
func (*Reconciler) ReconcileCreate ¶
func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileCreate ensure Promtail is enabled in the given cluster.
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileDelete ensure Promtail is disabled for the given cluster.
Click to show internal directories.
Click to hide internal directories.