Documentation
¶
Index ¶
- func ConfigMeta(cluster *capi.Cluster) metav1.ObjectMeta
- func GenerateAlloyLoggingConfig(cluster *capi.Cluster, loggingAgent *common.LoggingAgent, ...) (string, error)
- func GenerateLoggingConfig(cluster *capi.Cluster, loggingAgent *common.LoggingAgent, ...) (v1.ConfigMap, error)
- func GeneratePromtailLoggingConfig(cluster *capi.Cluster, installationName string) (string, error)
- type Resource
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, loggingAgent *common.LoggingAgent, observabilityBundleVersion semver.Version, defaultNamespaces, tenants []string, installationName string, insecureCA bool) (string, error)
GenerateAlloyLoggingConfig returns a configmap for the logging extra-config
func GenerateLoggingConfig ¶
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.
Click to show internal directories.
Click to hide internal directories.