IsVersionMet verifies the targeted API meets the minimum required version
(minVersion string)
| 20 | |
| 21 | // IsVersionMet verifies the targeted API meets the minimum required version |
| 22 | func IsVersionMet(minVersion string) bool { |
| 23 | version := matchMajorAPIVersion(minVersion) |
| 24 | ok, err := versioncheck.IsMinimumAPIVersionMet(version, minVersion) |
| 25 | Expect(err).ToNot(HaveOccurred()) |
| 26 | |
| 27 | return ok |
| 28 | } |
| 29 | |
| 30 | // UAAVersion a struct representation of the UAA version |
| 31 | type UAAVersion struct { |
no test coverage detected