Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckClusterVersion ¶
CheckClusterVersion check TiKV version.
func CheckVersion ¶
func CheckVersion(component string, actual, requiredMinVersion, requiredMaxVersion semver.Version) error
CheckVersion checks if the actual version is within [requiredMinVersion, requiredMaxVersion).
func ExtractTiDBVersion ¶
ExtractTiDBVersion extracts TiDB version from TiDB SQL `version()` outputs.
func NextMajorVersion ¶
NextMajorVersion returns the next major version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.