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.
Click to show internal directories.
Click to hide internal directories.