versions

package
v1.14.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuiltinMetadata = "builtin"
)

Variables

View Source
var (
	DefaultBuiltinVersion = fmt.Sprintf("v%s+%s.vault", version.GetVersion().Version, BuiltinMetadata)
)

Functions

func GetBuiltinVersion

func GetBuiltinVersion(pluginType consts.PluginType, pluginName string) string

func IsBuiltinVersion added in v1.12.2

func IsBuiltinVersion(v string) bool

IsBuiltinVersion checks for the "builtin" metadata identifier in a plugin's semantic version. Vault rejects any plugin registration requests with this identifier, so we can be certain it's a builtin plugin if it's present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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