common

package
v0.0.0-...-9cda745 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterAndSortProcessorsByOrderHint

func FilterAndSortProcessorsByOrderHint(processors *odigosv1.ProcessorList, collectorRole odigosv1.CollectorsGroupRole) []*odigosv1.Processor

func FindFirstProcessorByType

func FindFirstProcessorByType(allProcessors *odigosv1.ProcessorList, processorType string) *odigosv1.Processor

func GetCollectorsGroupDeployedConditionsPatch

func GetCollectorsGroupDeployedConditionsPatch(err error) string

func GetGenericBatchProcessor

func GetGenericBatchProcessor() odigosv1.Processor

func GetMemoryLimiterConfig

func GetMemoryLimiterConfig(memorySettings odigosv1.CollectorsGroupResourcesSettings) config.GenericMap

func Sha256Hash

func Sha256Hash(value string) string

func ToExporterConfigurerArray

func ToExporterConfigurerArray(dests *odigosv1.DestinationList) []config.ExporterConfigurer

func ToProcessorConfigurerArray

func ToProcessorConfigurerArray(items []*odigosv1.Processor) []config.ProcessorConfigurer

Convenience methods to convert between k8s types and config interfaces

func UpdateCollectorGroupReceiverSignals

func UpdateCollectorGroupReceiverSignals(ctx context.Context, c client.Client, cg *odigosv1.CollectorsGroup, signals []common.ObservabilitySignal) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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