versions

package
v2.12.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RegexHeaderVersionCutoff is the Kong version prior to the addition of support for regular expression for matching headers.
	RegexHeaderVersionCutoff = semver.Version{Major: 2, Minor: 8}

	// ExplicitRegexPathVersionCutoff is the lowest Kong version requiring the explicit "~" prefixes in regular expression paths.
	ExplicitRegexPathVersionCutoff = semver.Version{Major: 3, Minor: 0}

	// PluginOrderingVersionCutoff is the Kong version prior to the addition of plugin ordering.
	PluginOrderingVersionCutoff = semver.Version{Major: 3}

	// ConsumerGroupsVersionCutoff is the Kong version prior to the addition of Consumer Groups as first class citizens.
	ConsumerGroupsVersionCutoff = semver.Version{Major: 3, Minor: 4}

	// MTLSCredentialVersionCutoff is the minimum Kong version that support mTLS credentials. This is a patch version
	// because the original version of the mTLS credential was not compatible with KIC.
	MTLSCredentialVersionCutoff = semver.Version{Major: 2, Minor: 3, Patch: 2}

	// FlattenedErrorCutoff is the lowest Kong version with support for flattened errors.
	FlattenedErrorCutoff = semver.Version{Major: 3, Minor: 2}

	// TLSPassthroughCutoff is the lowest Kong version with support for TLS passthrough.
	TLSPassthroughCutoff = semver.Version{Major: 2, Minor: 7}

	// ExpressionRouterL4Cutoff is the lowest Kong version with support of L4 proxy in expression router.
	ExpressionRouterL4Cutoff = semver.Version{Major: 3, Minor: 4}

	// PluginInstanceNameCutoff is the lowest Kong version having the `instance_name` field in `plugin` objects.
	PluginInstanceNameCutoff = semver.Version{Major: 3, Minor: 2}
)

Functions

func DeckFileFormat added in v2.10.0

func DeckFileFormat(kongVersion semver.Version) string

DeckFileFormat returns Deck file format based on Kong version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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