loggingconfig

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMeta

func ConfigMeta(cluster *capi.Cluster) metav1.ObjectMeta

ConfigMeta returns metadata for the logging-config

func GenerateAlloyLoggingConfig added in v0.7.0

func GenerateAlloyLoggingConfig(cluster *capi.Cluster, observabilityBundleVersion semver.Version, defaultNamespaces, tenants []string, clusterLabels common.ClusterLabels, insecureCA bool, enableNodeFiltering bool, enableNetworkMonitoring bool) (string, error)

GenerateAlloyLoggingConfig returns a configmap for the logging extra-config

Types

type Resource added in v0.30.0

type Resource struct {
	Client                           client.Client
	Config                           config.Config
	DefaultWorkloadClusterNamespaces []string
}

Resource implements a resource.Interface to handle Logging config: extra logging config defining what we want to retrieve.

func (*Resource) GenerateLoggingConfig added in v0.37.0

func (r *Resource) GenerateLoggingConfig(cluster *capi.Cluster, observabilityBundleVersion semver.Version, defaultNamespaces, tenants []string, clusterLabels common.ClusterLabels) (v1.ConfigMap, error)

func (*Resource) ReconcileCreate added in v0.30.0

func (r *Resource) ReconcileCreate(ctx context.Context, cluster *capi.Cluster) (ctrl.Result, error)

ReconcileCreate ensures logging-config is created with the right credentials

func (*Resource) ReconcileDelete added in v0.30.0

func (r *Resource) ReconcileDelete(ctx context.Context, cluster *capi.Cluster) (ctrl.Result, error)

ReconcileDelete ensure logging-config is deleted for the given cluster.

Jump to

Keyboard shortcuts

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