version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MinTLSSupportedVersion, _ = semver.NewVersion("7.4.0")
	MinACLSupportedVersion, _ = semver.NewVersion("7.4.0")
)

Functions

This section is empty.

Types

type ValkeyVersion

type ValkeyVersion string
const (
	ValkeyVersionUnknown ValkeyVersion = ""

	DefaultValKeyVersion = ValkeyVersion("8.0")
)

func ParseValkeyVersion

func ParseValkeyVersion(v string) (ValkeyVersion, error)

ParseVersion

func ParseValkeyVersionFromImage

func ParseValkeyVersionFromImage(u string) (ValkeyVersion, error)

ParseValkeyVersionFromImage

func (ValkeyVersion) Compare

func (v ValkeyVersion) Compare(other ValkeyVersion) int

Compare conpare two version

if v > other, return 1 if v < other, return -1 if v == other, return 0 if error occurred, return -2

func (ValkeyVersion) CustomConfigs

func (v ValkeyVersion) CustomConfigs(arch core.Arch) map[string]string

func (ValkeyVersion) String

func (v ValkeyVersion) String() string

Jump to

Keyboard shortcuts

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