version

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Product = "Kuma"

	Envoy = "unknown"
)
View Source
var PreviewVersionPrefix = "preview"

Functions

func DeploymentVersionCompatible

func DeploymentVersionCompatible(kumaVersionStr, componentVersionStr string) bool

DeploymentVersionCompatible returns true if the given component version is compatible with the installed version of Kuma CP. For all binaries which share a common version (Kuma DP, CP, Zone CP...), we support backwards compatibility of at most two prior minor versions.

func IsPreviewVersion

func IsPreviewVersion(version string) bool

Types

type BuildInfo

type BuildInfo struct {
	Product     string
	Version     string
	GitTag      string
	GitCommit   string
	BuildDate   string
	BasedOnKuma string
}
var Build BuildInfo

func (BuildInfo) AsMap

func (b BuildInfo) AsMap() map[string]string

func (BuildInfo) FormatDetailedProductInfo

func (b BuildInfo) FormatDetailedProductInfo() string

func (BuildInfo) UserAgent

func (b BuildInfo) UserAgent(component string) string

Jump to

Keyboard shortcuts

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