getters

package
v1.0.136 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoOdigosDeploymentConfigMap = errors.New("odigos deployment config map not found in cluster")
	ErrMissingVersionInConfigMap   = errors.New("odigos version not found in deployment config map")
)

Functions

func GetOdigosVersionInClusterFromConfigMap

func GetOdigosVersionInClusterFromConfigMap(ctx context.Context, client kubernetes.Interface, ns string) (string, error)

Return the Odigos version installed in the cluster. The function assumes odigos is installed, and will return an error if it is not or if the version cannot be detected (not expected in normal operation).

Types

This section is empty.

Jump to

Keyboard shortcuts

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