version

package
v0.0.0-...-8aa1e91 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Product = "Dubbo"

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

Functions

func DeploymentVersionCompatible

func DeploymentVersionCompatible(dubboVersionStr, componentVersionStr string) bool

DeploymentVersionCompatible returns true if the given component version is compatible with the installed version of dubbo CP. For all binaries which share a common version (dubbo 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
	BasedOnDubbo 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