utils

package
v1.17.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareEngineVersions

func CompareEngineVersions(a, b string) int

CompareEngineVersions is a shortcut to compare two engine versions.

Types

type EngineVersion

type EngineVersion []any

EngineVersion represents an AWS RDS engine version.

func ParseEngineVersion

func ParseEngineVersion(raw string) EngineVersion

ParseEngineVersion from a raw string.

func (EngineVersion) Compare

func (v EngineVersion) Compare(other EngineVersion) int

Compare returns a positive value if v is represents a higher version number than other. A negative value is returned if other is higher than v. It returns 0 if both are considered equal.

Jump to

Keyboard shortcuts

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