Documentation ¶
Index ¶
- Constants
- Variables
- func CheckVersions() error
- func GetLatestEnterpriseVersion(stableOnly bool) (string, error)
- func GetLatestGlooFedVersion(stableOnly bool) (string, error)
- func GetLatestHelmChartVersionWithMaxVersion(helmRepoIndex, repoName string, stableOnly bool, ...) (string, error)
- func IsReleaseVersion() bool
- func LatestVersionFromRepo(file, repoName string, stableOnly bool) (string, error)
- func LatestVersionFromRepoWithMaxVersion(file, repoName string, stableOnly bool, maxVersion *versionutils.Version) (string, error)
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
The version of GlooE installed by the CLI. Calculated from the largest semver gloo-ee version in the helm repo index Should only use the latest based from the current minor
func GetLatestGlooFedVersion ¶ added in v1.5.0
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 LatestVersionFromRepoWithMaxVersion ¶ added in v1.2.15
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.