Documentation ¶
Overview ¶
Package upgrade handles the upgrade routine from one OpenTelemetry Collector to the next.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Latest represents the latest version that we need to upgrade. This is not necessarily the latest known version. Latest = versions[len(versions)-1] )
Functions ¶
func ManagedInstance ¶
func ManagedInstance(ctx context.Context, logger logr.Logger, currentV version.Version, cl client.Client, otelcol v1alpha1.OpenTelemetryCollector) (v1alpha1.OpenTelemetryCollector, error)
ManagedInstance performs the necessary changes to bring the given otelcol instance to the current version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.