version

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() version.Info

Get returns the overall codebase version. It's for detecting what code a binary was built from.

func GetDefaultBundleVersion

func GetDefaultBundleVersion() string

Types

type VersionBundle

type VersionBundle struct {
	OCM                      string `json:"ocm"`
	AppAddon                 string `json:"app_addon"`
	PolicyAddon              string `json:"policy_addon"`
	MulticlusterControlplane string `json:"multicluster_controlplane"`
}

func GetVersionBundle

func GetVersionBundle(version string, versionBundleFile string) (VersionBundle, error)

GetVersionBundle returns a version bundle for the requested version and optional overrides.

Jump to

Keyboard shortcuts

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