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
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" PingFederate1129 SupportedVersion = "11.2.9" 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" PingFederate1136 SupportedVersion = "11.3.6" PingFederate1137 SupportedVersion = "11.3.7" PingFederate1200 SupportedVersion = "12.0.0" PingFederate1201 SupportedVersion = "12.0.1" PingFederate1202 SupportedVersion = "12.0.2" PingFederate1203 SupportedVersion = "12.0.3" PingFederate1210 SupportedVersion = "12.1.0" )
Supported PingFederate versions
func Parse ¶
func Parse(versionString string) (SupportedVersion, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.