version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// This is the minimum vertica version that the operator currently supports.
	// If the vertica image that we deploy is older than this then the operator
	// abort the reconiliation process.
	MinimumVersion = "v10.1.1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	// The version that was extracted from a Vdb
	VdbVer                       string
	VdbMajor, VdbMinor, VdbPatch int
}

func MakeInfo

func MakeInfo(vdb *vapi.VerticaDB) (*Info, bool)

MakeInfo will construct an Info struct by extracting the version from the given vdb. This returns false if it was unable to get the version from the vdb.

func (*Info) IsEqualOrNewer

func (i *Info) IsEqualOrNewer(inVer string) bool

IsEqualOrNewer returns true if the version in the Vdb is is equal or newer than the given version

func (*Info) IsSupported

func (i *Info) IsSupported() bool

IsSupported returns true if the version in the vdb is a supported version by the operator.

func (*Info) IsUnsupported

func (i *Info) IsUnsupported() bool

IsUnsupported returns true if the version in the vdb is unsupported by the operator.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳