Documentation ¶
Overview ¶
The upgrade process in this package is based on opentelemetry-operator's upgrade process, licensed under the Apache License, Version 2.0. https://github.com/open-telemetry/opentelemetry-operator/tree/0a92a119f5acdcd775169e946638217ff5c78a1d/pkg/collector/upgrade
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Upgrade ¶
type Upgrade struct { Client client.Client Recorder record.EventRecorder CtrlConfig configv1alpha1.ProjectConfig Version version.Version Log logr.Logger }
Upgrade contains required objects to perform version upgrades.
func (Upgrade) Upgrade ¶ added in v0.10.0
func (u Upgrade) Upgrade(ctx context.Context, original UpgradeableCR) (UpgradeableCR, error)
Upgrade performs an upgrade of an UpgradeableCR in the cluster.
type UpgradeableCR ¶ added in v0.10.0
type UpgradeableCR interface { client.Object GetOperatorVersion() string SetOperatorVersion(v string) SetTempoVersion(v string) GetStatus() any SetStatus(s any) }
UpgradeableCR defines functions required for upgrading a managed Custom Resource (TempoStack, TempoMonolithic).
Click to show internal directories.
Click to hide internal directories.