version

package
v1.5.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CompatibilityMatrix = Compatibility{
	KumaDP: map[string]DataplaneCompatibility{
		"1.0.0": {
			Envoy: "1.16.0",
		},
		"1.0.1": {
			Envoy: "1.16.0",
		},
		"1.0.2": {
			Envoy: "1.16.1",
		},
		"1.0.3": {
			Envoy: "1.16.1",
		},
		"1.0.4": {
			Envoy: "1.16.1",
		},
		"1.0.5": {
			Envoy: "1.16.2",
		},
		"1.0.6": {
			Envoy: "1.16.2",
		},
		"1.0.7": {
			Envoy: "1.16.2",
		},
		"1.0.8": {
			Envoy: "1.16.2",
		},
		"~1.1.0": {
			Envoy: "~1.17.0",
		},
		"~1.2.0": {
			Envoy: "~1.18.0",
		},
		"~1.3.0": {
			Envoy: "~1.18.4",
		},
		"~1.4.0": {
			Envoy: "~1.18.4",
		},
		"~1.5.0": {
			Envoy: "~1.21.0",
		},

		"~1.5.0-1-anyprerelease": {
			Envoy: "~1.21.0",
		},
	},
}
View Source
var DevDataplaneCompatibility = DataplaneCompatibility{
	Envoy: "~1.21.0",
}
View Source
var DevVersionPrefix = "dev"
View Source
var (
	Product = "Kuma"
)

Functions

func FormatDetailedProductInfo added in v1.8.1

func FormatDetailedProductInfo() string

Types

type BuildInfo

type BuildInfo struct {
	Version   string
	GitTag    string
	GitCommit string
	BuildDate string
}
var (
	Build BuildInfo
)

type Compatibility

type Compatibility struct {
	KumaDP map[string]DataplaneCompatibility `json:"kumaDp"`
}

func (Compatibility) DataplaneConstraints

func (c Compatibility) DataplaneConstraints(version string) (*DataplaneCompatibility, error)

DataplaneConstraints returns which Envoy should be used with given version of Kuma. This information is later used in the GUI as a warning. Kuma ships with given Envoy version, but user can use their own Envoy version (especially on Universal) therefore we need to inform them that they are not using compatible version.

type DataplaneCompatibility

type DataplaneCompatibility struct {
	Envoy string `json:"envoy"`
}

Jump to

Keyboard shortcuts

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