upgrade

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

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

ManagedInstance performs the necessary changes to bring the given otelcol instance to the current version.

func ManagedInstances

func ManagedInstances(ctx context.Context, logger logr.Logger, ver version.Version, cl client.Client) error

ManagedInstances finds all the otelcol instances for the current operator and upgrades them, if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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