version

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUnsupportedAttributeError

func AddUnsupportedAttributeError(attr string, actualVersion, requiredVersion SupportedVersion, diags *diag.Diagnostics)

func Compare

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

Compare two PingFederate 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

Types

type SupportedVersion

type SupportedVersion string
const (
	PingFederate1120 SupportedVersion = "11.2.0"
	PingFederate1121 SupportedVersion = "11.2.1"
	PingFederate1122 SupportedVersion = "11.2.2"
	PingFederate1123 SupportedVersion = "11.2.3"
	PingFederate1124 SupportedVersion = "11.2.4"
	PingFederate1125 SupportedVersion = "11.2.5"
	PingFederate1126 SupportedVersion = "11.2.6"
	PingFederate1127 SupportedVersion = "11.2.7"
	PingFederate1128 SupportedVersion = "11.2.8"
	PingFederate1130 SupportedVersion = "11.3.0"
	PingFederate1131 SupportedVersion = "11.3.1"
	PingFederate1132 SupportedVersion = "11.3.2"
	PingFederate1133 SupportedVersion = "11.3.3"
	PingFederate1134 SupportedVersion = "11.3.4"
	PingFederate1135 SupportedVersion = "11.3.5"
	PingFederate1200 SupportedVersion = "12.0.0"
	PingFederate1201 SupportedVersion = "12.0.1"
)

Supported PingFederate versions

func Parse

func Parse(versionString string) (SupportedVersion, diag.Diagnostics)

Jump to

Keyboard shortcuts

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