loggingagentstoggle

package
v0.5.4 Latest Latest
Warning

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

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

Documentation

Index

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 logging agents.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

Reconciler implements a reconciler.Interface to handle Logging agents toggle: enable or disable logging agents in a given Cluster.

func (*Reconciler) ReconcileCreate

func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)

ReconcileCreate ensure logging agents are enabled in the given cluster.

func (*Reconciler) ReconcileDelete

func (r *Reconciler) ReconcileDelete(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)

ReconcileDelete ensure logging agents are disabled for the given cluster.

type Values

type Values struct {
	Apps map[string]app `yaml:"apps" json:"apps"`
}

Jump to

Keyboard shortcuts

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