version

package
v1.18.0-beta11 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 10

Documentation

Index

Constants

View Source
const EnterpriseHelmRepoIndex = "https://storage.googleapis.com/gloo-ee-helm/index.yaml"
View Source
const GlooEE = "gloo-ee"
View Source
const GlooFed = "gloo-fed"
View Source
const GlooFedHelmRepoIndex = "https://storage.googleapis.com/gloo-fed-helm/index.yaml"
View Source
const SoloKitPkg = "github.com/solo-io/solo-kit"

Variables

View Source
var (
	UndefinedVersion = "undefined"
	// Will be set by the linker during build. Does not include "v" prefix.
	Version string
)

Functions

func CheckVersions

func CheckVersions() error

func GetLatestEnterpriseVersion added in v1.2.15

func GetLatestEnterpriseVersion(stableOnly bool) (string, error)

The version of GlooE installed by the CLI. Calculated from the largest semver gloo-ee version in the helm repo index

func GetLatestGlooFedVersion added in v1.5.0

func GetLatestGlooFedVersion(stableOnly bool) (string, error)

The version of GlooE installed by the CLI. Calculated from the largest semver gloo-ee version in the helm repo index

func GetLatestHelmChartVersionWithMaxVersion added in v1.5.0

func GetLatestHelmChartVersionWithMaxVersion(helmRepoIndex, repoName string, stableOnly bool, maxVersion *versionutils.Version) (string, error)

Calculated from the largest gloo-ee version in the helm repo index with version constraints

func IsReleaseVersion

func IsReleaseVersion() bool

func LatestVersionFromRepo added in v1.2.3

func LatestVersionFromRepo(file, repoName string, stableOnly bool) (string, error)

func LatestVersionFromRepoWithMaxVersion added in v1.2.15

func LatestVersionFromRepoWithMaxVersion(file, repoName string, stableOnly bool, maxVersion *versionutils.Version) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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