initialize

package
v0.0.0-...-dc3a80b Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DefaultMaxWriteLokiStack is the maximum request size for LokiStack clusters when otherwise not defined by the output
	DefaultMaxWriteLokiStack = "3Mi"
)
View Source
const (

	// GeneratedSecrets identifies the list of secrets that may not exist but should be considered when configuration and
	// deploying the collector
	GeneratedSecrets = "generatedSecrets"
)

Variables

View Source
var (
	DefaultRequestMemory = resource.MustParse("64Mi")
	DefaultRequestCpu    = resource.MustParse("500m")
	DefaultLimitMemory   = resource.MustParse("2048Mi")
	DefaultLimitCpu      = resource.MustParse("6000m")
)

Functions

func ClusterLogForwarder

func ClusterLogForwarder(forwarder obs.ClusterLogForwarder, migrateContext utils.Options) obs.ClusterLogForwarder

ClusterLogForwarder initializes the forwarder for fields that must be set and are inferred from settings already defined. It additionally takes a context to pass decisions back such as secrets for receiver inputs that will exist after reconciliation but may not exist when the configuration is being generated

func InitOutputs

func InitOutputs(forwarder obs.ClusterLogForwarder, _ utils.Options) obs.ClusterLogForwarder

InitOutputs initializes outputs (i.e. defaulting output field attributes as needed)

func MigrateInputs

func MigrateInputs(spec obs.ClusterLogForwarder, options utils.Options) obs.ClusterLogForwarder

MigrateInputs creates instances of inputSpec when a pipeline references one of the reserved input names (e.g. application) This function is destructive and replaces any inputs that use the reserved input names

func Resources

func Resources(forwarder obs.ClusterLogForwarder, options utils.Options) obs.ClusterLogForwarder

Types

This section is empty.

Jump to

Keyboard shortcuts

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