semver

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ScyllaVersionThatSupportsArgs                    = semver.MustParse("4.2.0")
	ScyllaVersionThatSupportsDisablingIOTuning       = semver.MustParse("4.3.0")
	ScyllaVersionThatSupportsDisablingWritebackCache = semver.MustParse("2021.0.0")
)

Functions

This section is empty.

Types

type ScyllaVersion

type ScyllaVersion struct {
	// contains filtered or unexported fields
}

ScyllaVersion contains the version of a cluster with unkown version support

func NewScyllaVersion

func NewScyllaVersion(v string) ScyllaVersion

func (ScyllaVersion) SupportFeatureSafe

func (sv ScyllaVersion) SupportFeatureSafe(featureVersion semver.Version) bool

SupportFeatureSafe return true if a feature is supported (and always false if the version is unknown)

func (ScyllaVersion) SupportFeatureUnsafe

func (sv ScyllaVersion) SupportFeatureUnsafe(featureVersion semver.Version) bool

SupportFeatureUnsafe return true if a feature is supported (and always true if the version is unknown)

Jump to

Keyboard shortcuts

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