version

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PingDirectory9100 = "9.1.0.0"
	PingDirectory9101 = "9.1.0.1"
	PingDirectory9102 = "9.1.0.2"
	PingDirectory9200 = "9.2.0.0"
	PingDirectory9201 = "9.2.0.1"
	PingDirectory9300 = "9.3.0.0"
)

Supported PingDirectory versions

Variables

This section is empty.

Functions

func CheckResourceSupported

func CheckResourceSupported(diagnostics *diag.Diagnostics, minimumVersion, actualVersion, resourceName string)

func Compare

func Compare(version1, version2 string) (int, error)

Compare two PingDirectory versions. Returns a negative number if the first argument is less than the second, zero if they are equal, and a positive number if the first argument is greater than the second

func IsValid

func IsValid(versionString string) bool

func Parse

func Parse(versionString string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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